tmlab / majortom

The MaJorToM ( Merging Topic Maps Engine ) project was founded to develop a lightweight, merging and flexible Topic Maps engine satisfying different business use cases. The engine provides a couple of new features above to other engines based on the Topic Maps API version 2.0.
1 stars 1 forks source link

ClassCastException when removing ducplicates after import #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Topic Map: toyTM

Removing duplicates in RTM leads to (only after the renaming from 
removedDuplicates to removeDuplicates):

java.lang.ClassCastException: de.topicmapslab.majortom.core.OccurrenceImpl 
cannot be cast to de.topicmapslab.majortom.model.core.IName
de/topicmapslab/majortom/inmemory/store/InMemoryMergeUtils.java:1154:in 
`removeDuplicates'
de/topicmapslab/majortom/inmemory/store/InMemoryTopicMapStore.java:3619:in 
`removedDuplicates'
de/topicmapslab/majortom/core/TopicMapImpl.java:489:in `removeDuplicates'
de/topicmapslab/majortom/inmemory/store/InMemoryMergeUtils.java:1154:in 
`removeDuplicates'
de/topicmapslab/majortom/inmemory/store/InMemoryTopicMapStore.java:3619:in 
`removedDuplicates'

Original issue reported on code.google.com by schulze....@googlemail.com on 11 Aug 2010 at 11:21

GoogleCodeExporter commented 9 years ago
this seems to be a bug, I will check this

Original comment by Sven.Kro...@googlemail.com on 11 Aug 2010 at 11:32

GoogleCodeExporter commented 9 years ago
fixed

Original comment by Sven.Kro...@googlemail.com on 11 Aug 2010 at 11:37