|
From: Christoph W. <e93...@st...> - 2003-08-22 22:25:17
|
Hi,
I'll try to locate the root of that problem over the weekend - I have some
ideas what went wrong but had no time to try out and debug your
configuration.
Ciao
Christoph
--
Christoph Walcher Email: chr...@we...
Max-Winter-Platz 7/16 Tel: +43 (1) 9460866
A-1020 Vienna Mobil: +43 (699) 194609867
> -----Original Message-----
> From: rss...@li...
> [mailto:rss...@li...] On
> Behalf Of Martin Krzysiak
> Sent: Friday, August 22, 2003 5:51 PM
> To: RSSView Developers
> Subject: Re: [Rssview-developers] Completely confused display
>
>
> On Fri, 2003-08-22 at 11:53, Norman Walsh wrote:
> > java.lang.ArrayIndexOutOfBoundsException: -1
> > at java.util.ArrayList.get(ArrayList.java:326)
> > at
> de.cinek.rssview.RssSubscriptionModel.get(RssSubscriptionModel
> .java:104)
> > at
> de.cinek.rssview.SubscriptionAdapterTreeModel.getChild(Subscri
> ptionAdapterTreeModel.java:71)
>
> I can reproduce it. It appears after opening the "People" node. This
> is the tree structure which returns a "not found" for a child node.
>
> I didn't write this part of code. After doing some debugging, I could
> locate the piece of code causing the error:
>
> 1: if (groupParent.isLeaf(index)) {
> 2: // Stored id -> lookup in Model and return a real value!
> 3: Object id = groupParent.getChildAt(index);
> 4: return model.get(model.indexOf(id));
> 5: } else {
> 6: return groupParent.getChildAt(index);
> 7: }
>
> The id returned in line 3 is valid. I printed out this value
> and I could not find it in the whole database. I wonder where
> it comes from... And in line 4 model.indexOf() returns -1.
> I think indexOf() is not in our sources, but calls another
> method from the tree model transparently, so I have some
> trouble to find it.
>
> Perhaps something got deleted and it was not released
> properly (are foreign keys being used in our database?
> It would prevent deletion of parent nodes while children
> still exist)?
>
> Perhaps the id is calculated somewhere and it has the wrong
> value (the id which causes the error is 2 digits shorter than
> the others)?
>
> Perhaps I can find out more later.
>
> Martin
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a
> single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
> at the same time. Free trial click
> here:http://www.vmware.com/wl/offer/358/0
> _______________________________________________
> Rssview-developers mailing list
> Rss...@li...
> https://lists.sourceforge.net/lists/listinfo/rssview-developers
>
|