Skip to main content



      Home
Home » Modeling » Papyrus » Papyrus in SpringSource Tool Suite Not Working
Papyrus in SpringSource Tool Suite Not Working [message #1231959] Wed, 15 January 2014 16:46 Go to next message
Eclipse UserFriend
I tried installing Papyrus into SpringSource Tool Suite by

Help->Install New Software
Goto Kepler Site
Select Modeling and Subcomponents

Papyrus seemed to install this way, but I am running into issues with the installation.
For example when I try to create a new Papyrus Project using a UML model and then selecting ClassDiagram and final click Finish, the project is created but the dialog does not close. I have to click cancel to close project.

Then in the empty project I can create a model, but again the dialog does not complete but there is a model file.

If I right click on the model in the model view I get a menu that has a lot of empty entries and I am unable to add classes.

Has anyone else tried to install this with a different Eclipse version that is not the Modeling Eclipse install provided on Papyrus installation directions?
Re: Papyrus in SpringSource Tool Suite Not Working [message #1232106 is a reply to message #1231959] Thu, 16 January 2014 03:54 Go to previous messageGo to next message
Eclipse UserFriend
Hi Wendy,

These are clearly symptoms of something going wrong in the wizard and in the menus. Typically, this is caused by one or more contributions throwing exceptions (Which break the whole menu).

There should be some details in the Error Log view, which might be of interest for identifying the issue.

Regards,
Camille
Re: Papyrus in SpringSource Tool Suite Not Working [message #1232283 is a reply to message #1232106] Thu, 16 January 2014 10:50 Go to previous messageGo to next message
Eclipse UserFriend
I checked out the Error Logs.

It looks like I get the following exception when I try to create a PapyrusProject or create a Papyrus model.

================================
Unhandled event loop exception
================================
java.lang.LinkageError: loader constraint violation: loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) previously initiated loading for a different type with name "com/google/common/base/Optional"
at org.eclipse.papyrus.uml.controlmode.profile.ControlledElementReadOnlyHandler.anyReadOnly(ControlledElementReadOnlyHandler.java:65)
at org.eclipse.papyrus.infra.emf.readonly.ReadOnlyManager.anyReadOnly(ReadOnlyManager.java:164)
at org.eclipse.papyrus.infra.core.resource.ModelSet.save(ModelSet.java:661)
at org.eclipse.papyrus.uml.diagram.wizards.CreateModelWizard.saveDiagram(CreateModelWizard.java:566)
at org.eclipse.papyrus.uml.diagram.wizards.CreateModelWizard.initDiagramModel(CreateModelWizard.java:555)
at org.eclipse.papyrus.uml.diagram.wizards.CreateModelWizard.createAndOpenPapyrusModel(CreateModelWizard.java:254)
at org.eclipse.papyrus.uml.diagram.wizards.CreateModelWizard.performFinish(CreateModelWizard.java:208)
at org.eclipse.papyrus.uml.diagram.wizards.NewPapyrusProjectWizard.performFinish(NewPapyrusProjectWizard.java:105)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:628)
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.jface.window.Window.runEventLoop(Window.java:826)
at org.eclipse.jface.window.Window.open(Window.java:802)
at org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:135)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
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(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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)

Once the model fails to create I get the following on the model

=================
Unexpected Error
=================
org.eclipse.papyrus.infra.core.resource.ModelMultiException: Problems encountered while loading one of the models.
----- exceptions : ----------
org.eclipse.papyrus.infra.core.resource.notation.NotationModel : org.eclipse.core.internal.resources.ResourceException: Resource '/TestPapyrus/model.notation' does not exist.
org.eclipse.papyrus.infra.services.controlmode.history.HistoryModel : org.xml.sax.SAXParseExceptionpublicId: platform:/resource/TestPapyrus/model.di; systemId: platform:/resource/TestPapyrus/model.di; lineNumber: 1; columnNumber: 1; Premature end of file.
org.eclipse.papyrus.infra.core.resource.uml.UmlModel : org.eclipse.core.internal.resources.ResourceException: Resource '/TestPapyrus/model.uml' does not exist.
-----------------------------


at org.eclipse.papyrus.infra.core.resource.ModelSet.loadModels(ModelSet.java:517)

at org.eclipse.papyrus.infra.core.editor.CoreMultiDiagramEditor.loadModelAndServices(CoreMultiDiagramEditor.java:576)

at org.eclipse.papyrus.infra.core.editor.CoreMultiDiagramEditor.init(CoreMultiDiagramEditor.java:470)

at org.eclipse.ui.internal.EditorReference.initialize(EditorReference.java:359)

at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:306)

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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)

at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:877)

at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:857)

at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:119)

at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:333)

at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:254)

at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)

at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:102)

at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)

at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:53)

at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:949)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700)

at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685)

at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1096)

at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:66)

at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:41)

at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)

at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)

at org.eclipse.swt.widgets.Display.syncExec(Display.java:4688)

at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:205)

at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)

at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)

at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)

at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)

at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)

at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)

at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)

at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)

at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)

at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:80)

at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:58)

at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)

at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)

at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:576)

at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:543)

at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:610)

at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:322)

at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1034)

at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3112)

at org.eclipse.ui.internal.WorkbenchPage.access$21(WorkbenchPage.java:3034)

at org.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:3016)

at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)

at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3012)

at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2976)

at org.eclipse.papyrus.infra.onefile.providers.PapyrusModelActionProvider$1.run(PapyrusModelActionProvider.java:161)

at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:221)

at org.eclipse.ui.navigator.CommonNavigatorManager$3.open(CommonNavigatorManager.java:185)

at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:47)

at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:866)

at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)

at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)

at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:864)

at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1152)

at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:462)

at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1256)

at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275)

at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:269)

at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:309)

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(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)

at org.eclipse.equinox.launcher.Main.main(Main.java:1426)

Caused by: org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.core.internal.resources.ResourceException: Resource '/TestPapyrus/model.notation' does not exist.

at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:319)

at org.eclipse.papyrus.infra.core.resource.ModelSet.handleDemandLoadException(ModelSet.java:207)

at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:278)

at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:406)

at org.eclipse.papyrus.infra.core.resource.ModelSet.getResource(ModelSet.java:189)

at org.eclipse.papyrus.infra.core.resource.AbstractBaseModel.loadModel(AbstractBaseModel.java:175)

at org.eclipse.papyrus.infra.core.resource.ModelSet.loadModels(ModelSet.java:512)

... 98 more

Caused by: org.eclipse.core.internal.resources.ResourceException: Resource '/TestPapyrus/model.notation' does not exist.

at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:341)

at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:215)

at org.eclipse.core.internal.resources.File.getContents(File.java:287)

at org.eclipse.core.internal.resources.File.getContents(File.java:278)

at org.eclipse.emf.ecore.resource.impl.PlatformResourceURIHandlerImpl$WorkbenchHelper.createPlatformResourceInputStream(PlatformResourceURIHandlerImpl.java:207)

at org.eclipse.emf.ecore.resource.impl.PlatformResourceURIHandlerImpl.createInputStream(PlatformResourceURIHandlerImpl.java:525)

at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createInputStream(ExtensibleURIConverterImpl.java:360)

at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1269)

at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259)

at org.eclipse.papyrus.infra.core.resource.ModelSet.demandLoad(ModelSet.java:310)

at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)

... 102 more

When I right click on the Model in Model Explorer
=================================
Unexpected Error
==================================
org.eclipse.papyrus.infra.core.resource.NotFoundException: No root defined in the model
at org.eclipse.papyrus.uml.tools.model.UmlModel.lookupRoot(UmlModel.java:97)
at org.eclipse.papyrus.sysml.diagram.common.utils.SysMLSelectionTester.getRoot(SysMLSelectionTester.java:131)
at org.eclipse.papyrus.sysml.diagram.common.utils.SysMLSelectionTester.testSysMLModelNature(SysMLSelectionTester.java:76)
at org.eclipse.papyrus.sysml.diagram.common.utils.SysMLSelectionTester.test(SysMLSelectionTester.java:59)
at org.eclipse.core.internal.expressions.Property.test(Property.java:58)
at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99)
at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72)
at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
at org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29)
at org.eclipse.core.internal.expressions.ReferenceExpression.evaluate(ReferenceExpression.java:70)
at org.eclipse.e4.ui.internal.workbench.ContributionsAnalyzer.isVisible(ContributionsAnalyzer.java:247)
at org.eclipse.e4.ui.workbench.renderers.swt.ToolBarContributionRecord.computeVisibility(ToolBarContributionRecord.java:125)
at org.eclipse.e4.ui.workbench.renderers.swt.ToolBarContributionRecord.updateVisibility(ToolBarContributionRecord.java:69)
at org.eclipse.e4.ui.workbench.renderers.swt.ToolBarManagerRenderer$6.changed(ToolBarManagerRenderer.java:347)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:110)
at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:334)
at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:348)
at org.eclipse.ui.internal.e4.compatibility.SelectionService$1.selectionChanged(SelectionService.java:64)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$2.run(SelectionAggregator.java:119)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.notifyListeners(SelectionAggregator.java:117)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.access$5(SelectionAggregator.java:114)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$7$1.run(SelectionAggregator.java:216)
at org.eclipse.e4.core.contexts.RunAndTrack.runExternalCode(RunAndTrack.java:56)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$7.changed(SelectionAggregator.java:214)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:110)
at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:334)
at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:348)
at org.eclipse.e4.ui.internal.workbench.SelectionServiceImpl.setSelection(SelectionServiceImpl.java:30)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.selectionChanged(CompatibilityPart.java:437)
at org.eclipse.ui.part.PageBookView$SelectionManager$1.run(PageBookView.java:259)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:854)
at org.eclipse.ui.part.PageBookView$SelectionManager.selectionChanged(PageBookView.java:257)
at org.eclipse.ui.part.PageBookView$SelectionProvider.selectionChanged(PageBookView.java:323)
at org.eclipse.ui.part.PageBookView.pageSelectionChanged(PageBookView.java:915)
at org.eclipse.ui.part.PageBookView.access$2(PageBookView.java:910)
at org.eclipse.ui.part.PageBookView$2.selectionChanged(PageBookView.java:167)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:164)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:162)
at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2188)
at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1211)
at org.eclipse.ui.navigator.CommonViewer.handleSelect(CommonViewer.java:478)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1241)
at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:239)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:233)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:403)
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(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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)

======================
Problems occurred when invoking code from plug-in: "org.eclipse.e4.ui.workbench".
======================
java.lang.LinkageError: com/google/common/base/Optional
at org.eclipse.papyrus.uml.controlmode.profile.ControlledElementReadOnlyHandler.anyReadOnly(ControlledElementReadOnlyHandler.java:65)
at org.eclipse.papyrus.infra.emf.readonly.AbstractReadOnlyHandler.isReadOnly(AbstractReadOnlyHandler.java:39)
at org.eclipse.papyrus.infra.emf.readonly.ReadOnlyManager.isReadOnly(ReadOnlyManager.java:174)
at org.eclipse.papyrus.infra.emf.readonly.ReadOnlyTester.test(ReadOnlyTester.java:44)
at org.eclipse.core.internal.expressions.Property.test(Property.java:58)
at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99)
at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72)
at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
at org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29)
at org.eclipse.ui.internal.services.EvaluationReference.evaluate(EvaluationReference.java:94)
at org.eclipse.ui.internal.services.EvaluationReference.evaluate(EvaluationReference.java:131)
at org.eclipse.ui.internal.services.EvaluationReference.changed(EvaluationReference.java:125)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:110)
at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:334)
at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:348)
at org.eclipse.ui.internal.services.EvaluationService$1.changed(EvaluationService.java:73)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:110)
at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:334)
at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:348)
at org.eclipse.ui.internal.e4.compatibility.SelectionService$1.selectionChanged(SelectionService.java:64)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$2.run(SelectionAggregator.java:119)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.notifyListeners(SelectionAggregator.java:117)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.access$5(SelectionAggregator.java:114)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$7$1.run(SelectionAggregator.java:216)
at org.eclipse.e4.core.contexts.RunAndTrack.runExternalCode(RunAndTrack.java:56)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$7.changed(SelectionAggregator.java:214)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:110)
at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:334)
at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:348)
at org.eclipse.e4.ui.internal.workbench.SelectionServiceImpl.setSelection(SelectionServiceImpl.java:30)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.selectionChanged(CompatibilityPart.java:437)
at org.eclipse.ui.part.PageBookView$SelectionManager$1.run(PageBookView.java:259)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:854)
at org.eclipse.ui.part.PageBookView$SelectionManager.selectionChanged(PageBookView.java:257)
at org.eclipse.ui.part.PageBookView$SelectionProvider.selectionChanged(PageBookView.java:323)
at org.eclipse.ui.part.PageBookView.pageSelectionChanged(PageBookView.java:915)
at org.eclipse.ui.part.PageBookView.access$2(PageBookView.java:910)
at org.eclipse.ui.part.PageBookView$2.selectionChanged(PageBookView.java:167)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:164)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:162)
at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2188)
at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1211)
at org.eclipse.ui.navigator.CommonViewer.handleSelect(CommonViewer.java:478)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1241)
at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:239)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:233)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:403)
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(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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)

Any ideas?
Re: Papyrus in SpringSource Tool Suite Not Working [message #1232295 is a reply to message #1232283] Thu, 16 January 2014 11:18 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Which versions of the "com.google.guava" plug-in are installed in this platform?

I've just fixed a bug today (On Kepler and Luna) which should fix this issue, at least partially. However, it seems that XText is not compatible with Guava 14 (At least on Luna), and Papyrus depends on XText.

The latest nightly builds of Papyrus should not raise any "LinkageError" anymore. You may try updating Papyrus to the latest Kepler/Nightly version. It is not recommended for production, but it might be an interesting test case:

http://download.eclipse.org/modeling/mdt/papyrus/updates/nightly/kepler/main


Regards,
Camille

[Updated on: Thu, 16 January 2014 11:19] by Moderator

Re: Papyrus in SpringSource Tool Suite Not Working [message #1232344 is a reply to message #1232295] Thu, 16 January 2014 13:33 Go to previous messageGo to next message
Eclipse UserFriend
I found 3 versions of google guava in the plugins folder.

13.0.0
10.0.1.v201203051515
11.0.2.v201303041551

When I removed 13.0.0 and 10.0.1.v201203051515 Papyrus started working. I am getting more information from VMWare on whether removing the newer google guava is a viable option.

In the mean time I will test out the nightly build. If this turns out to be the issue and I need 13.0.0 do you know when the next release of Papyrus will be?
Re: Papyrus in SpringSource Tool Suite Not Working [message #1234355 is a reply to message #1232344] Tue, 21 January 2014 14:29 Go to previous messageGo to next message
Eclipse UserFriend
I tried testing with the latest nightly build of Papyrus and I am still seeing the link errors.

java.lang.LinkageError: loader constraint violation: loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) previously initiated loading for a different type with name "com/google/common/base/Optional"
at org.eclipse.papyrus.uml.controlmode.profile.ControlledElementReadOnlyHandler.anyReadOnly(ControlledElementReadOnlyHandler.java:65)
at org.eclipse.papyrus.infra.emf.readonly.ReadOnlyManager.anyReadOnly(ReadOnlyManager.java:164)
at org.eclipse.papyrus.infra.core.resource.ModelSet.save(ModelSet.java:661)
at org.eclipse.papyrus.uml.diagram.wizards.CreateModelWizard.saveDiagram(CreateModelWizard.java:566)
at org.eclipse.papyrus.uml.diagram.wizards.CreateModelWizard.initDiagramModel(CreateModelWizard.java:555)
at org.eclipse.papyrus.uml.diagram.wizards.CreateModelWizard.createAndOpenPapyrusModel(CreateModelWizard.java:254)
at org.eclipse.papyrus.uml.diagram.wizards.CreateModelWizard.performFinish(CreateModelWizard.java:208)
at org.eclipse.papyrus.uml.diagram.wizards.NewPapyrusProjectWizard.performFinish(NewPapyrusProjectWizard.java:105)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:628)
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.jface.window.Window.runEventLoop(Window.java:826)
at org.eclipse.jface.window.Window.open(Window.java:802)
at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:259)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:279)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Re: Papyrus in SpringSource Tool Suite Not Working [message #1236925 is a reply to message #1231959] Tue, 28 January 2014 07:09 Go to previous messageGo to next message
Eclipse UserFriend
Hi Wendy,

The Eclipse Platform has provided a fix for Luna M5. XText now works properly, and doesn't break Papyrus anymore.

However, we still have a few issues. I will investigate on this issue again as soon as Luna M5 is complete, but at least, now it seems to be a pure-Papyrus issue.

Regards,
Camille
Re: Papyrus in SpringSource Tool Suite Not Working [message #1236938 is a reply to message #1236925] Tue, 28 January 2014 07:54 Go to previous message
Eclipse UserFriend
I've just tested again with the very latest versions of everything (Eclipse Platform 4.4 M5 + Plug-ins from Luna M5 : http://download.eclipse.org/releases/staging + Papyrus Nightly : http://download.eclipse.org/modeling/mdt/papyrus/updates/nightly/luna + Google Guava 10, 11 and 14 + Java 1.7

Everything works fine. The same fix has been applied to Kepler, so it should work as well for Kepler SR2

The incoming releases are:

- Papyrus 0.10.2 / Eclipse Kepler SR2 : February 2014
- Papyrus 1.0.0 / Eclipse Luna : June 2014

Regards,
Camille
Previous Topic:CSS Themes
Next Topic:[SOLVED] How to reorder stereotype properties in profile diagram?
Goto Forum:
  


Current Time: Wed Jul 23 15:52:58 EDT 2025

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

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

Back to the top