Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Paypyrus for Eclipse Modelling 2020-09 : Model Explorer view is not working.
Paypyrus for Eclipse Modelling 2020-09 : Model Explorer view is not working. [message #1833248] Wed, 07 October 2020 16:11 Go to next message
German Vega is currently offline German VegaFriend
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 #1833253 is a reply to message #1833248] Wed, 07 October 2020 17:51 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7670
Registered: July 2009
Senior Member
HI

See yesterday's StringMatcher thread. Looks like an "a" release of Papyrus is mandated.

Regards

Ed Willink
Re: Paypyrus for Eclipse Modelling 2020-09 : Model Explorer view is not working. [message #1833269 is a reply to message #1833253] Thu, 08 October 2020 08:00 Go to previous messageGo to next message
German Vega is currently offline German VegaFriend
Messages: 104
Registered: December 2015
Location: Grenoble, France
Senior Member
Hi Ed

Yes it's exactly the same problem, I will follow that thread
Re: Paypyrus for Eclipse Modelling 2020-09 : Model Explorer view is not working. [message #1833280 is a reply to message #1833269] Thu, 08 October 2020 11:50 Go to previous messageGo to next message
Patrick Tessier is currently offline Patrick TessierFriend
Messages: 341
Registered: July 2009
Location: Paris Saclay, France
Senior Member
Hi everyones,
As I have said in the post: https://www.eclipse.org/forums/index.php/t/1104191/ we focus our work for the version 2020-12., and we do not deliver a version for 2020-09.
Papyrus team
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 Go to previous messageGo to next message
Erik Stringwell is currently offline Erik StringwellFriend
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.
Re: Paypyrus for Eclipse Modelling 2020-09 : Model Explorer view is not working. [message #1837055 is a reply to message #1836919] Thu, 21 January 2021 13:17 Go to previous messageGo to next message
Patrick Tessier is currently offline Patrick TessierFriend
Messages: 341
Registered: July 2009
Location: Paris Saclay, France
Senior Member
we will inspect this subject.
Papyrus team,
Re: Paypyrus for Eclipse Modelling 2020-09 : Model Explorer view is not working. [message #1837125 is a reply to message #1837055] Fri, 22 January 2021 12:44 Go to previous messageGo to next message
Erik Stringwell is currently offline Erik StringwellFriend
Messages: 8
Registered: January 2021
Junior Member
It appears that they have addressed it (https://git.eclipse.org/r/c/papyrus/org.eclipse.papyrus-sysml16/+/172139/14/README.md), after email correspondence that I had with Quentin.
Re: Paypyrus for Eclipse Modelling 2020-09 : Model Explorer view is not working. [message #1838287 is a reply to message #1837125] Sat, 20 February 2021 15:02 Go to previous message
Tuana GUZEL is currently offline Tuana GUZELFriend
Messages: 3
Registered: February 2021
Junior Member
I am having the same problem with sysml 1.4, do you able to solve your problem?
Previous Topic:[Model2Doc] Cannot get comment in final document
Next Topic:[Model2Doc] Issue with list generation
Goto Forum:
  


Current Time: Thu Sep 19 12:15:22 GMT 2024

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

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

Back to the top