Menu

#19 Synchronization Exception after parsing

open
nobody
None
5
2008-05-21
2008-05-21
No

I have an intermittent problem with attributes on concepts, sometimes after i have parsed the file and I call methods on the attributes of a concept I get Synchronization exceptions. These errors can occur when checking equality or retrieving the ranges etc...

NOTE: It does not do this for every attribute but happens intermittently. Essentially it looks like in some cases the proxy cannot be resolved when it should be.

This bug is fixed if you parse the ontology twice (because the proxies don't exist the second time).

org.wsmo.common.exception.SynchronisationException: http://www.example.org/ontologies/example#b
at com.ontotext.wsmo4j.factory.IDReference.invoke(IDReference.java:137)
at $Proxy2.getConcept(Unknown Source)
at com.ontotext.wsmo4j.ontology.AttributeImpl.equals(AttributeImpl.java:172)
at ie.deri.wsmx.wsmoviz.graph.node.ontology.attribute.AttributeNode.equals(AttributeNode.java:38)
at java.util.ArrayList.indexOf(ArrayList.java:221)
at java.util.ArrayList.contains(ArrayList.java:202)
at ie.deri.wsmx.wsmoviz.graph.nodecreator.NodeCreator.merge(NodeCreator.java:95)
at ie.deri.wsmx.wsmoviz.graph.nodecreator.InstanceHierarchyNodeCreator.build(InstanceHierarchyNodeCreator.java:72)
at ie.deri.wsmx.wsmoviz.factory.NodeCreatorFactory.createNodesAndEdges(NodeCreatorFactory.java:79)
at ie.deri.wsmx.wsmoviz.editors.WSMOVizUpdater.propertyChangedWithReturn(WSMOVizUpdater.java:139)
at ie.deri.wsmx.wsmoviz.editors.WSMOViz.entityChanged(WSMOViz.java:219)
at ie.deri.wsmx.wsmoviz.editors.WSMOViz.setEntity(WSMOViz.java:270)
at ie.deri.wsmx.wsmoviz.graph.manipulator.rcactions.VisualizeEntitySelectionListener.doStuff(VisualizeEntitySelectionListener.java:84)
at ie.deri.wsmx.wsmoviz.graph.manipulator.rcactions.VisualizeEntitySelectionListener.widgetDefaultSelected(VisualizeEntitySelectionListener.java:65)
at ie.deri.wsmx.wsmoviz.graph.manipulator.WSMLDoubleClickListener.doubleClick(WSMLDoubleClickListener.java:69)
at net.sourceforge.jpowergraph.manipulator.selection.DoubleClickManipulator.mouseDoubleClick(DoubleClickManipulator.java:48)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:141)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

Comment: Workspace issue ?

Discussion


Log in to post a comment.

MongoDB Logo MongoDB