You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue does not affect end-users, only Papyrus CX developers editing the meta-models.
Steps to reproduce
Open a meta-model in Papyrus (e.g. DDS4CCM),
In the Model Explorer, right-click on a Package element
In the context menu, the "Add CX" option appears; select this option
At this point, the sub-menu appears empty.
Expected behaviour
The Add CX menu should not appear in the first place
If it appears, it should not cause an exception
Actual behaviour
The "Add CX" menu appears and it has empty contents
The exception below is thrown
Notes
Note that the exception is caused by a missing plug-in: it says 'Unable to resolve plug-in "com.zeligsoft.base.zdlnull"'. It turns out that "com.zeligsoft.base.zdlnull" appears in the ZDL.profile.uml model (bundles/com.zeligsoft.base.zdl/profiles/ZDL.profile.uml) at line 306:
So perhaps there was a problem when generating this profile from the source ZDL.uml model?
Exception thrown
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: java.io.IOException: Unable to resolve plug-in "com.zeligsoft.base.zdlnull".
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:319)
at org.eclipse.papyrus.infra.core.resource.ModelSet.handleDemandLoadException(ModelSet.java:240)
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:220)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$ResourceLocator.basicGetResource(ResourceSetImpl.java:751)
at org.eclipse.papyrus.infra.emf.resource.ShardResourceLocator.getResource(ShardResourceLocator.java:109)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$ResourceLocator.basicGetResource(ResourceSetImpl.java:743)
at org.eclipse.papyrus.infra.editor.welcome.internal.WelcomeModelManager$WelcomeLocator.getResource(WelcomeModelManager.java:233)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:352)
at org.eclipse.papyrus.infra.core.resource.ModelSet.getResource(ModelSet.java:220)
at com.zeligsoft.base.ui.menus.util.CXMenuUtil.getMenuModel(CXMenuUtil.java:72)
at com.zeligsoft.base.ui.menus.providers.ZDLProjectExplorerMenuFactory.createMenu(ZDLProjectExplorerMenuFactory.java:132)
at com.zeligsoft.base.ui.menus.providers.ZDLProjectExplorerMenuFactory.createMenu(ZDLProjectExplorerMenuFactory.java:107)
at com.zeligsoft.base.ui.menus.providers.DomainSpecificMenuProvider.calculateContributionItems(DomainSpecificMenuProvider.java:61)
at com.zeligsoft.base.ui.menus.providers.DomainSpecificMenuProvider.getContributionItems(DomainSpecificMenuProvider.java:43)
at org.eclipse.ui.actions.CompoundContributionItem.getContributionItemsToFill(CompoundContributionItem.java:83)
at org.eclipse.ui.actions.CompoundContributionItem.fill(CompoundContributionItem.java:57)
at org.eclipse.ui.internal.menus.DynamicMenuContributionItem.fill(DynamicMenuContributionItem.java:146)
at org.eclipse.jface.action.MenuManager.doItemFill(MenuManager.java:729)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java:806)
at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:470)
at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:463)
at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:495)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:259)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5685)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1423)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1449)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1428)
at org.eclipse.swt.widgets.Menu.gtk_show(Menu.java:738)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2219)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5913)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(Native Method)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4444)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1158)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1047)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:658)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:557)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:154)
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:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
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:1447)
at org.eclipse.equinox.launcher.Main.main(Main.java:1420)
Caused by: java.io.IOException: Unable to resolve plug-in "com.zeligsoft.base.zdlnull".
at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.parse(PlatformURLPluginConnection.java:64)
at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.resolve(PlatformURLPluginConnection.java:73)
at org.eclipse.core.internal.boot.PlatformURLHandler.openConnection(PlatformURLHandler.java:69)
at org.eclipse.osgi.internal.url.URLStreamHandlerProxy.openConnection(URLStreamHandlerProxy.java:123)
at java.base/java.net.URL.openConnection(URL.java:1099)
at org.eclipse.emf.ecore.resource.impl.URIHandlerImpl.createInputStream(URIHandlerImpl.java:200)
at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createInputStream(ExtensibleURIConverterImpl.java:358)
at jdk.internal.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.zeligsoft.base.util.ZeligsoftURIConverter$DelegationHandler.invoke(ZeligsoftURIConverter.java:176)
at com.sun.proxy.$Proxy57.createInputStream(Unknown Source)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1314)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259)
at org.eclipse.papyrus.infra.core.resource.ModelSet.demandLoad(ModelSet.java:380)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
... 54 more
Developer's time Estimated effort to fix (hours):
Developer's Actual time spent on fix (hours)
Issue reporter to provide a detailed description of the issue in the space below
The text was updated successfully, but these errors were encountered:
Issue and tracking information
This issue does not affect end-users, only Papyrus CX developers editing the meta-models.
Steps to reproduce
At this point, the sub-menu appears empty.
Expected behaviour
Actual behaviour
Notes
Note that the exception is caused by a missing plug-in: it says 'Unable to resolve plug-in "com.zeligsoft.base.zdlnull"'. It turns out that "com.zeligsoft.base.zdlnull" appears in the ZDL.profile.uml model (
bundles/com.zeligsoft.base.zdl/profiles/ZDL.profile.uml
) at line 306:So perhaps there was a problem when generating this profile from the source ZDL.uml model?
Exception thrown
Developer's time Estimated effort to fix (hours):
Developer's Actual time spent on fix (hours)
Issue reporter to provide a detailed description of the issue in the space below
The text was updated successfully, but these errors were encountered: