Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362680 - NPE in profile handling MARTE in the property view
Summary: NPE in profile handling MARTE in the property view
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-02 10:41 EDT by David Rabely CLA
Modified: 2012-10-08 11:21 EDT (History)
2 users (show)

See Also:


Attachments
Stack Trace of the error (11.44 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2011-11-02 10:46 EDT, David Rabely CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Rabely CLA 2011-11-02 10:41:06 EDT
Build Identifier: M20110909-1335

When trying to change the valuespecification of the Duration attribute, nothing happen, no value is reachable.

Reproducible: Always
Comment 1 David Rabely CLA 2011-11-02 10:46:18 EDT
Created attachment 206336 [details]
Stack Trace of the error

Stack Trace of the error
Comment 2 David Rabely CLA 2011-12-02 05:27:10 EST
The same thing happens with the modification of the <<assign>> attributes of Allocation with MARTE.

java.lang.NullPointerException
	at org.eclipse.papyrus.profile.utils.Util.getLabel(Util.java:117)
	at org.eclipse.papyrus.profile.utils.Util.getStringArrayFromList(Util.java:210)
	at org.eclipse.papyrus.profile.tree.objects.MetaclassValueTreeObject.editMe(MetaclassValueTreeObject.java:78)
	at org.eclipse.papyrus.profile.ui.compositesformodel.PropertyComposite.addButtonPressed(PropertyComposite.java:195)
	at org.eclipse.papyrus.profile.ui.compositeforview.AppliedStereotypePropertyCompositeWithView.addButtonPressed(AppliedStereotypePropertyCompositeWithView.java:98)
	at org.eclipse.papyrus.profile.ui.compositesformodel.DecoratedTreeComposite$AddButtonlistener.mouseUp(DecoratedTreeComposite.java:375)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:219)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
	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:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)