Export to GitHub

majortom - issue #39

ClassCastException when removing ducplicates after import


Posted on Aug 11, 2010 by Swift Lion

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:inremovedDuplicates' de/topicmapslab/majortom/core/TopicMapImpl.java:489:in removeDuplicates' de/topicmapslab/majortom/inmemory/store/InMemoryMergeUtils.java:1154:inremoveDuplicates' de/topicmapslab/majortom/inmemory/store/InMemoryTopicMapStore.java:3619:in `removedDuplicates'

Comment #1

Posted on Aug 11, 2010 by Happy Bear

this seems to be a bug, I will check this

Comment #2

Posted on Aug 11, 2010 by Happy Bear

fixed

Status: Fixed

Labels:
Type-Defect Priority-Medium