Re: Big problems with NodeTreeMap
Per Nyfelt <[email protected]> Tue, 5 Jul 2005 21:20:42 +0200
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Organization | Resourcing Networks |
| Message-ID | <[email protected]> |
Yes, please do; but without a reproducable test there is little chance of this getting fixed. Still it is good to know about the issue and hopefully someone else will be able to define the issue more clearly in the future. Best regards, Per Tuesday 05 July 2005 10.20 skrev Thomas Dingler: > Hi, > > I used NodeTreeMap in my database and after huge usage of these, > errors come up: > > If I try to copy the data to a HashMap: > > java.lang.ClassCastException > at > org.ozoneDB.collections._NodeTreeMap_OzoneNodeImpl_Proxy.equals > (_NodeTreeMap_OzoneNodeImpl_Proxy.java:417) > at org.ozoneDB.collections._BaseTreeMap_TreeIterator.hasNext > (_BaseTreeMap_TreeIterator.java:137) > at java.util.HashMap.putAllForCreate(HashMap.java:423) > > > If I try to access the entrySet().iterator().next(): > > > java.lang.ClassCastException > at > org.ozoneDB.collections._NodeTreeMap_OzoneNodeImpl_Proxy.equals > (_NodeTreeMap_OzoneNodeImpl_Proxy.java:417) > at org.ozoneDB.collections._BaseTreeMap_TreeIterator.hasNext > (_BaseTreeMap_TreeIterator.java:137) > > > It seems, that the nodes of the map "lost" their ozone object of the > next node, because the class cast expections are pointing to my > stored ozone objects. # > So I think the tree nodes are using a wrong object id and so a tree > node points not to an other tree node, but to a "normal" ozone object. > > The error occurs sometimes, not reproducable for me, but only when I > use large NodeTreeMaps. > > Should I submit a bug report? > > > Greetings, > > Thomas Dingler > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Ozone-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ozone-users ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click