Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318636 - [Profile support] Cannot apply profile for a Model selected with "Modisco" model explorer
Summary: [Profile support] Cannot apply profile for a Model selected with "Modisco" mo...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Yann Tanguy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-01 12:45 EDT by Yann Tanguy CLA
Modified: 2010-07-01 13:04 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yann Tanguy CLA 2010-07-01 12:45:57 EDT
Cannot apply profile for a Model selected with "Modisco" model explorer -> the following exception occurs:

!ENTRY org.eclipse.papyrus.profile 4 0 2010-07-01 18:23:12.915
!MESSAGE 
!STACK 0
java.lang.NullPointerException
	at org.eclipse.papyrus.profile.ui.compositesformodel.AppliedProfileCompositeOnModel.applyProfile(AppliedProfileCompositeOnModel.java:155)
	at org.eclipse.papyrus.profile.ui.compositesformodel.AppliedProfileCompositeOnModel.registeredProfileButtonPressed(AppliedProfileCompositeOnModel.java:546)
	at org.eclipse.papyrus.profile.ui.compositeforview.AppliedProfileCompositeWithView.registeredProfileButtonPressed(AppliedProfileCompositeWithView.java:47)
	at org.eclipse.papyrus.profile.ui.compositesformodel.AppliedProfileCompositeOnModel$4.mouseUp(AppliedProfileCompositeOnModel.java:366)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:213)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2601)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2565)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2399)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:669)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:662)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	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:369)
	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:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Comment 1 Yann Tanguy CLA 2010-07-01 13:04:16 EDT
Fixed in r2178.