From: SourceForge.net <no...@so...> - 2004-05-14 19:17:47
|
Bugs item #954151, was opened at 2004-05-14 21:17 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=954151&group_id=27895 Category: Utilities Group: CVS Status: Open Resolution: None Priority: 5 Submitted By: Stefan Lischke (lischke2) Assigned to: Nobody/Anonymous (nobody) Summary: consistent merge possibly bug Initial Comment: when merging two TopicMaps, it is not possible to use the -c constistent argument with the merge tool. It is possible if you first merge both maps and then make it consistent with another call to the merge tool with just the merged Map I got Following Exception lischke@bruecke:~/xtmcms_tm4j/ivsxtmcms> ${TM4J_HOME}/bin/merge -c -o data/ivs.xtm -e ISO-8859-1 data/modules.xtm data/ivsData.xtm 1 [main] ERROR org.tm4j.topicmap.utils.XTMUtils - INTERNAL ERROR: IntegrityViolationException thrown when trying to delete previously merged topics. There may be a bug with the flattenTopicRefs() method. 7 [main] FATAL org.tm4j.topicmap.cmd.Merge - Unexpected exception. org.tm4j.topicmap.TopicMapRuntimeException: INTERNAL ERROR: IntegrityViolationException thrown when trying to delete previously merged topics. There may be a bug with the flattenTopicRefs() method. Cause: org.tm4j.topicmap.IntegrityViolationException: Topic is a theme in the scope of one or more scoped objects in the topic map. at org.tm4j.topicmap.utils.XTMUtils.flattenTopicRefs(XTMUtils.java:520) at org.tm4j.topicmap.utils.XTMUtils.makeConsistent(XTMUtils.java:134) at org.tm4j.topicmap.utils.TopicMapMerger.makeResultConsistent(TopicMapMerger.java:558) at org.tm4j.topicmap.utils.TopicMapMerger.merge(TopicMapMerger.java:598) at org.tm4j.topicmap.cmd.AppBase.loadTopicMapList(AppBase.java:147) at org.tm4j.topicmap.cmd.AppBase.loadTopicMap(AppBase.java:99) at org.tm4j.topicmap.cmd.Merge.run(Merge.java:91) at org.tm4j.topicmap.cmd.AppBase.initialise(AppBase.java:169) at org.tm4j.topicmap.cmd.Merge.<init>(Merge.java:60) at org.tm4j.topicmap.cmd.Merge.main(Merge.java:115) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=954151&group_id=27895 |
From: SourceForge.net <no...@so...> - 2004-05-14 20:00:49
|
Bugs item #954151, was opened at 2004-05-14 20:17 Message generated for change (Comment added) made by kal_ahmed You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=954151&group_id=27895 Category: Utilities Group: CVS >Status: Pending >Resolution: Fixed Priority: 5 Submitted By: Stefan Lischke (lischke2) Assigned to: Nobody/Anonymous (nobody) Summary: consistent merge possibly bug Initial Comment: when merging two TopicMaps, it is not possible to use the -c constistent argument with the merge tool. It is possible if you first merge both maps and then make it consistent with another call to the merge tool with just the merged Map I got Following Exception lischke@bruecke:~/xtmcms_tm4j/ivsxtmcms> ${TM4J_HOME}/bin/merge -c -o data/ivs.xtm -e ISO-8859-1 data/modules.xtm data/ivsData.xtm 1 [main] ERROR org.tm4j.topicmap.utils.XTMUtils - INTERNAL ERROR: IntegrityViolationException thrown when trying to delete previously merged topics. There may be a bug with the flattenTopicRefs() method. 7 [main] FATAL org.tm4j.topicmap.cmd.Merge - Unexpected exception. org.tm4j.topicmap.TopicMapRuntimeException: INTERNAL ERROR: IntegrityViolationException thrown when trying to delete previously merged topics. There may be a bug with the flattenTopicRefs() method. Cause: org.tm4j.topicmap.IntegrityViolationException: Topic is a theme in the scope of one or more scoped objects in the topic map. at org.tm4j.topicmap.utils.XTMUtils.flattenTopicRefs(XTMUtils.java:520) at org.tm4j.topicmap.utils.XTMUtils.makeConsistent(XTMUtils.java:134) at org.tm4j.topicmap.utils.TopicMapMerger.makeResultConsistent(TopicMapMerger.java:558) at org.tm4j.topicmap.utils.TopicMapMerger.merge(TopicMapMerger.java:598) at org.tm4j.topicmap.cmd.AppBase.loadTopicMapList(AppBase.java:147) at org.tm4j.topicmap.cmd.AppBase.loadTopicMap(AppBase.java:99) at org.tm4j.topicmap.cmd.Merge.run(Merge.java:91) at org.tm4j.topicmap.cmd.AppBase.initialise(AppBase.java:169) at org.tm4j.topicmap.cmd.Merge.<init>(Merge.java:60) at org.tm4j.topicmap.cmd.Merge.main(Merge.java:115) ---------------------------------------------------------------------- >Comment By: Kal Ahmed (kal_ahmed) Date: 2004-05-14 21:00 Message: Logged In: YES user_id=176992 There was a problem with updating the themes index that is used to detect topics still being used in a scope. This has been fixed recently in CVS. Can you update your CVS checkout and try again ? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=954151&group_id=27895 |
From: SourceForge.net <no...@so...> - 2004-05-17 17:44:15
|
Bugs item #954151, was opened at 2004-05-14 12:17 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=954151&group_id=27895 Category: Utilities Group: CVS Status: Pending Resolution: Fixed Priority: 5 Submitted By: Stefan Lischke (lischke2) Assigned to: Nobody/Anonymous (nobody) Summary: consistent merge possibly bug Initial Comment: when merging two TopicMaps, it is not possible to use the -c constistent argument with the merge tool. It is possible if you first merge both maps and then make it consistent with another call to the merge tool with just the merged Map I got Following Exception lischke@bruecke:~/xtmcms_tm4j/ivsxtmcms> ${TM4J_HOME}/bin/merge -c -o data/ivs.xtm -e ISO-8859-1 data/modules.xtm data/ivsData.xtm 1 [main] ERROR org.tm4j.topicmap.utils.XTMUtils - INTERNAL ERROR: IntegrityViolationException thrown when trying to delete previously merged topics. There may be a bug with the flattenTopicRefs() method. 7 [main] FATAL org.tm4j.topicmap.cmd.Merge - Unexpected exception. org.tm4j.topicmap.TopicMapRuntimeException: INTERNAL ERROR: IntegrityViolationException thrown when trying to delete previously merged topics. There may be a bug with the flattenTopicRefs() method. Cause: org.tm4j.topicmap.IntegrityViolationException: Topic is a theme in the scope of one or more scoped objects in the topic map. at org.tm4j.topicmap.utils.XTMUtils.flattenTopicRefs(XTMUtils.java:520) at org.tm4j.topicmap.utils.XTMUtils.makeConsistent(XTMUtils.java:134) at org.tm4j.topicmap.utils.TopicMapMerger.makeResultConsistent(TopicMapMerger.java:558) at org.tm4j.topicmap.utils.TopicMapMerger.merge(TopicMapMerger.java:598) at org.tm4j.topicmap.cmd.AppBase.loadTopicMapList(AppBase.java:147) at org.tm4j.topicmap.cmd.AppBase.loadTopicMap(AppBase.java:99) at org.tm4j.topicmap.cmd.Merge.run(Merge.java:91) at org.tm4j.topicmap.cmd.AppBase.initialise(AppBase.java:169) at org.tm4j.topicmap.cmd.Merge.<init>(Merge.java:60) at org.tm4j.topicmap.cmd.Merge.main(Merge.java:115) ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2004-05-17 10:44 Message: Logged In: NO This bug is still there, even after a freschly CVS update -C -d ---------------------------------------------------------------------- Comment By: Kal Ahmed (kal_ahmed) Date: 2004-05-14 13:00 Message: Logged In: YES user_id=176992 There was a problem with updating the themes index that is used to detect topics still being used in a scope. This has been fixed recently in CVS. Can you update your CVS checkout and try again ? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=954151&group_id=27895 |