Paypyrus for Eclipse Modelling 2020-09 : Model Explorer view is not working. [message #1833248] |
Wed, 07 October 2020 16:11 |
German Vega Messages: 104 Registered: December 2015 Location: Grenoble, France |
Senior Member |
|
|
Hi
I am trying to install Papyrus in Eclipse Modelling 2020-09 (4.17.0).
I installed from the release updatesite (http://download.eclipse.org/releases/2020-09 ) and it proposed me "Papyrus for UML" 4.8.0.202006100749
The installation went OK, I can switch to the Papyrus perspective and can open a diagram.
However, the Model Explorer view is not working.
The error log shows the following message :
Plug-in "org.eclipse.papyrus.views.modelexplorer" was unable to instantiate class "org.eclipse.papyrus.infra.widgets.providers.PatternViewerFilter".
The details show the following exception trace stack (elided for brevity)
org.eclipse.core.runtime.CoreException: Plug-in "org.eclipse.papyrus.views.modelexplorer" was unable to instantiate class "org.eclipse.papyrus.infra.widgets.providers.PatternViewerFilter".
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:212)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:206)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:923)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:246)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:63)
at org.eclipse.ui.internal.navigator.filters.CommonFilterDescriptor$1.run(CommonFilterDescriptor.java:142)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.ui.internal.navigator.filters.CommonFilterDescriptor.createFilter(CommonFilterDescriptor.java:122)
at org.eclipse.ui.internal.navigator.NavigatorFilterService.getViewerFilter(NavigatorFilterService.java:197)
at org.eclipse.ui.internal.navigator.NavigatorFilterService.getVisibleFilters(NavigatorFilterService.java:166)
at org.eclipse.ui.navigator.CommonNavigator.createPartControl(CommonNavigator.java:194)
at org.eclipse.papyrus.views.modelexplorer.ModelExplorerView.createPartControl(ModelExplorerView.java:587)
at org.eclipse.papyrus.views.modelexplorer.ModelExplorerPage.createControl(ModelExplorerPage.java:76)
at org.eclipse.papyrus.views.modelexplorer.ModelExplorerPageBookView.doCreatePage(ModelExplorerPageBookView.java:88)
at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:369)
at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:696)
at org.eclipse.ui.part.PageBookView$1.partActivated(PageBookView.java:1006)
at org.eclipse.ui.internal.WorkbenchPage$4.run(WorkbenchPage.java:4905)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.ui.internal.WorkbenchPage.firePartActivated(WorkbenchPage.java:4902)
at org.eclipse.ui.internal.WorkbenchPage.access$3(WorkbenchPage.java:4878)
at org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partActivated(WorkbenchPage.java:219)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$2.run(PartServiceImpl.java:249)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartActivated(PartServiceImpl.java:246)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:770)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:679)
at org.eclipse.e4.ui.internal.workbench.swt.AbstractPartRenderer.activate(AbstractPartRenderer.java:97)
at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.lambda$3(StackRenderer.java:964)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4195)
///// elided for brevity
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1046)
at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1469)
at org.eclipse.swt.internal.win32.OS.PeekMessage(Native Method)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3607)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1157)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:153)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:204)
... 145 more
Caused by: java.lang.NoClassDefFoundError: org/eclipse/ui/internal/misc/StringMatcher
at org.eclipse.papyrus.infra.widgets.providers.PatternViewerFilter.<init>(PatternViewerFilter.java:50)
... 150 more
Other than reporting the error, I want to know if there is a working version of Papyrus for Eclipse 2020-09?
Thanks.
[Updated on: Wed, 07 October 2020 16:12] Report message to a moderator
|
|
|
|
|
|
Re: Paypyrus for Eclipse Modelling 2020-09 : Model Explorer view is not working. [message #1836919 is a reply to message #1833280] |
Mon, 18 January 2021 16:05 |
Erik Stringwell Messages: 8 Registered: January 2021 |
Junior Member |
|
|
Hello participants,
I have run version 2020-12,
then Eclipse Marketplace from "Help> Install new software...", choosing https://download.eclipse.org/releases/2020-12/, and then from there:
Papyrus Sysml 1.6 1.0.0
Then when I create a new Papyrus project (Software Engineering, UML), I encounter the error:
An error has occurred. See error log for more details.
org/eclipse/ui/internal/misc/StringMatcher
Note that it was not a Sysml model that I was trying to create. After experiencing this once I tried it again, and verified that the problem does not exist before installing the Sysml 1.6 module. I assumed that it was compatible based on the statement at https://www.eclipse.org/papyrus/:
Quote:Note that most of the 'relatives': Sysml 1.4, 1.6, Moka, designer... have also been made compatible with the new re-exports and the Java 11 migration.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03665 seconds