Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Papyrus 3.x.0 - wrong context menu of tables (Converted SysML 1.1 model into SysML 1.4 side effect)
Papyrus 3.x.0 - wrong context menu of tables [message #1775857] Tue, 07 November 2017 10:29 Go to next message
Nicola Mazzacane is currently offline Nicola MazzacaneFriend
Messages: 13
Registered: September 2014
Junior Member

I have converted a SysML 1.1 model into SysML 1.4 using Papyrus 2.0.3.
Now I correctly open the model with Papyrus 3.1.0, but tables have a problem: the contextual menu is not standard (see the picture) and it is not possible to change columns.

In error log I have seen the following one:

java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
Framework arguments:  -product org.eclipse.papyrus.rcp.product
Command-line arguments:  -product org.eclipse.papyrus.rcp.product -data ... -dev file:... -os win32 -ws win32 -arch x86 -consoleLog

Tue Nov 07 11:05:39 CET 2017
Unhandled event loop exception

	at org.eclipse.papyrus.uml.nattable.provider.UMLStereotypeRestrictedPropertyContentProvider.getInstancesFilteredByType(
	at org.eclipse.papyrus.uml.nattable.provider.UMLStereotypeRestrictedPropertyContentProvider.getAppliedProfilesInWholePackage(
	at org.eclipse.papyrus.uml.nattable.provider.UMLStereotypeRestrictedPropertyContentProvider.getAllAvailableProfiles(
	at org.eclipse.papyrus.uml.nattable.provider.UMLStereotypeRestrictedPropertyContentProvider.init(
	at org.eclipse.papyrus.uml.nattable.provider.UMLStereotypeRestrictedPropertyContentProvider.<init>(
	at org.eclipse.papyrus.uml.nattable.manager.axis.UMLStereotypePropertyAxisManager.createPossibleAxisContentProvider(
	at org.eclipse.ui.internal.menus.ContributionFactoryGenerator.compute(
	at org.eclipse.e4.ui.workbench.renderers.swt.ContributionRecord.mergeFactoryIntoModel(
	at org.eclipse.e4.ui.workbench.renderers.swt.ContributionRecord.mergeIntoModel(
	at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerRenderer.processAddition(
	at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerRenderer.generateContributions(
	at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerRenderer.processContributions(
	at org.eclipse.ui.internal.menus.WorkbenchMenuService.populateContributionManager(
	at org.eclipse.ui.internal.menus.WorkbenchMenuService.populateContributionManager(

I must add that when I create a new SysML 1.4 model from scratch and I create a table, the context menu is standard, allowing me to change columns.

Best Regards,
Papyrus 3.x.0 - wrong context menu of tables - FIXED [message #1776109 is a reply to message #1775857] Sat, 11 November 2017 16:22 Go to previous message
Nicola Mazzacane is currently offline Nicola MazzacaneFriend
Messages: 13
Registered: September 2014
Junior Member

with a bit of troubleshooting I have identified the problem and, I hope, definitely fixed.
During the transformation I have corrupted some ElementImport items, i.e. their referenced element was null.
This null reference probably was not trapped within


After removing the wrong ElementImport items, the context menu is now correct.

Best Regards,
Previous Topic:Extend papyrus
Next Topic:Papyrus software designer release
Goto Forum:

Current Time: Wed Mar 21 18:55:40 GMT 2018

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

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