Big problems with NodeTreeMap
Thomas Dingler <[email protected]> Tue, 5 Jul 2005 10:20:42 +0200
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Message-ID | <[email protected]> |
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