Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Unexpected Error by the Properties View(Trouble understanding this unusual Unexpected Error which seems to be caused by the Properties View)
Unexpected Error by the Properties View [message #1201204] Thu, 21 November 2013 16:26 Go to next message
Damjan Temelkovski is currently offline Damjan TemelkovskiFriend
Messages: 16
Registered: November 2013
Junior Member
Hi,

I was just wondering if someone has encountered this error and knows a workaround. I am working on Kepler (4.3.1) with Papyrus 0.10.1 and MARTE 0.10.0. I assume I messed something up testing out all the MARTE functionalities.

The error message is "Unexpected Error" it seems to come from org.eclipse.papyrus.views.properties

Here's the stack trace:

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.GeneratedMethodAccessor215.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	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.Widget.sendEvent(Widget.java:1057)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
	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(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	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)



I know this is unusual, but would appreciate some more info if someone has seen it before

Thank you,
Damjan
Re: Unexpected Error by the Properties View [message #1201213 is a reply to message #1201204] Thu, 21 November 2013 16:32 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 932
Registered: February 2011
Senior Member
Hi Damjan,


This is a known issue, related to the creation of new elements from the properties view. This error doesn't have any side effect (except for filling the error log). You should ignore it. It cannot be avoided (yet Smile )

This is a side effect of:

402525: [Widgets / Transactions] Papyrus dialogs should be transactional
https://bugs.eclipse.org/bugs/show_bug.cgi?id=402525


Regards,
Camille


Camille Letavernier
Re: Unexpected Error by the Properties View [message #1201473 is a reply to message #1201213] Thu, 21 November 2013 19:17 Go to previous messageGo to next message
Damjan Temelkovski is currently offline Damjan TemelkovskiFriend
Messages: 16
Registered: November 2013
Junior Member
Thank you very much Camille,

Sorry for posting before reading enough, although I doubt I would've realized what had caused this.

Thanks again,
Damjan
Re: Unexpected Error by the Properties View [message #1203528 is a reply to message #1201473] Fri, 22 November 2013 18:09 Go to previous message
Damjan Temelkovski is currently offline Damjan TemelkovskiFriend
Messages: 16
Registered: November 2013
Junior Member
Hi,

I just want to specify that this happens in the Properties View of a Constraint with <<timedConstraint>> when I click on the green "+" for Specification and try to add a new OpaqueExpression. This may be redundant information, but I thought I'd share.

Damjan
Previous Topic:Sequence Diagrams Time Constraints
Next Topic:MARTE and SysML stereotypes brake OCL text editor
Goto Forum:
  


Current Time: Mon Nov 30 18:52:29 GMT 2020

Powered by FUDForum. Page generated in 0.02130 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top