"Unexpected error" when adding a guard in UML AD [message #1219148] |
Mon, 02 December 2013 11:26 |
Huy Tran Messages: 7 Registered: December 2011 |
Junior Member |
|
|
Hello all,
I'm using UML AD to describe the behaviors of few simple software systems. Unfortunately, I've got a mysterious error when adding a guard (of type LiteralString) for a control flow (e.g. outgoing control flows of a Decision Node). Occasionally the guard is correctly updated and displayed in the UML AD, but most of the time, the guard and its value are neither updated (i.e. shown as "null" in the "Properties view".) nor displayed in the diagram.
The related bug is only shown in "Error Log".
org.eclipse.papyrus.infra.core.services.ServiceNotFoundException: Can't find the ResourceSet needed retrieve the ServiceRegistry.
at org.eclipse.papyrus.infra.emf.utils.ServiceUtilsForResource.getServiceRegistry(ServiceUtilsForResource.java:64)
at org.eclipse.papyrus.infra.emf.utils.ServiceUtilsForEObject.getServiceRegistry(ServiceUtilsForEObject.java:43)
at org.eclipse.papyrus.views.properties.modelelement.EMFModelElement.getLabelProvider(EMFModelElement.java:202)
at org.eclipse.papyrus.views.properties.modelelement.DataSource.getLabelProvider(DataSource.java:165)
at org.eclipse.papyrus.views.properties.widgets.MultiReferencePropertyEditorWithPropertyView.doBinding(MultiReferencePropertyEditorWithPropertyView.java:44)
at org.eclipse.papyrus.views.properties.widgets.AbstractPropertyEditor.checkInput(AbstractPropertyEditor.java:158)
at org.eclipse.papyrus.views.properties.widgets.AbstractPropertyEditor.setProperty(AbstractPropertyEditor.java:233)
at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.papyrus.xwt.javabean.metadata.properties.BeanProperty.setValue(BeanProperty.java:89)
at org.eclipse.papyrus.xwt.javabean.ResourceLoader.initSegmentAttribute(ResourceLoader.java:1546)
at org.eclipse.papyrus.xwt.javabean.ResourceLoader.initAttribute(ResourceLoader.java:1356)
at org.eclipse.papyrus.xwt.javabean.ResourceLoader.init(ResourceLoader.java:1008)
at org.eclipse.papyrus.xwt.javabean.ResourceLoader.doCreate(ResourceLoader.java:618)
at org.eclipse.papyrus.xwt.javabean.ResourceLoader.doCreate(ResourceLoader.java:648)
at org.eclipse.papyrus.xwt.javabean.ResourceLoader.createUIElement(ResourceLoader.java:356)
at org.eclipse.papyrus.xwt.internal.core.Core.createCLRElement(Core.java:619)
at org.eclipse.papyrus.xwt.internal.core.Core.load(Core.java:736)
at org.eclipse.papyrus.xwt.internal.core.Core.load(Core.java:646)
at org.eclipse.papyrus.xwt.XWTLoader.loadWithOptions(XWTLoader.java:1022)
at org.eclipse.papyrus.xwt.XWTLoader.load(XWTLoader.java:605)
at org.eclipse.papyrus.xwt.XWT.load(XWT.java:435)
at org.eclipse.papyrus.views.properties.runtime.DefaultDisplayEngine.createSection(DefaultDisplayEngine.java:186)
at org.eclipse.papyrus.views.properties.runtime.DefaultDisplayEngine.createSection(DefaultDisplayEngine.java:145)
at org.eclipse.papyrus.views.properties.xwt.XWTSection.display(XWTSection.java:151)
at org.eclipse.papyrus.views.properties.xwt.XWTSection.refresh(XWTSection.java:161)
at org.eclipse.papyrus.views.properties.creation.EditionDialog.display(EditionDialog.java:251)
at org.eclipse.papyrus.views.properties.creation.EditionDialog.create(EditionDialog.java:109)
at org.eclipse.jface.window.Window.open(Window.java:791)
at org.eclipse.papyrus.views.properties.creation.PropertyEditorFactory.createObject(PropertyEditorFactory.java:95)
at org.eclipse.papyrus.views.properties.creation.EcorePropertyEditorFactory.createObject(EcorePropertyEditorFactory.java:196)
at org.eclipse.papyrus.infra.widgets.editors.ReferenceDialog.createAction(ReferenceDialog.java:216)
at org.eclipse.papyrus.infra.widgets.editors.ReferenceDialog.widgetSelected(ReferenceDialog.java:380)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
Here is some info about my Eclipse environment:
eclipse.buildId=4.3.0.M20130911-1000
java.version=1.7.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -product org.eclipse.epp.package.standard.product -keyring /Users/.../.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.standard.product -keyring /Users/.../.eclipse_keyring -showlocation -clean
I appreciate any of your hints. Many thanks in advance.
PS: I've looked around and found some related questions:
1) http://www.eclipse.org/forums/index.php/t/452658
This question consists of the related exception " Can't find the ResourceSet needed retrieve the ServiceRegistry." but targets a different problem (i.e. Palette disappearance)
2) http://www.eclipse.org/forums/index.php/t/437651
This question describes exactly the problem I had, but the answer does not work, at least on Papyrus 1.10.1.v201309181302 (edited precise version number) and Eclipse 4.3.1.
--Huy
[Updated on: Mon, 02 December 2013 11:38] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03229 seconds