Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 360231

Summary: [Property view] Unhandled event loop exception when changing the order of the applied stereotypes
Product: [Modeling] Papyrus Reporter: Sébastien Gérard <sebastien.gerard>
Component: CoreAssignee: Gabriel Pascual <gabriel.pascual>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipse-bugzilla, klaas.gadeyne, Nyaka.LELO-EXT, yann.tanguy
Version: 1.0.0   
Target Milestone: M7   
Hardware: All   
OS: All   
Whiteboard:

Description Sébastien Gérard CLA 2011-10-07 09:36:17 EDT
What steps will reproduce the problem?
1. Apply several stereotypes on the same element
2. Change their order in the tab "profile" of the property view
3. ==> Unhandled event loop exception


-- Error Details --
Date: Fri Oct 07 15:32:38 CEST 2011
Message: Unhandled event loop exception
Severity: Error
Product: Eclipse Platform 3.7.0.v201106131736 (org.eclipse.platform.ide)
Plugin: org.eclipse.ui
Exception Stack Trace:
java.lang.IllegalArgumentException: Argument not valid
	at org.eclipse.swt.SWT.error(SWT.java:4263)
	at org.eclipse.swt.SWT.error(SWT.java:4197)
	at org.eclipse.swt.SWT.error(SWT.java:4168)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:468)
	at org.eclipse.swt.widgets.Tree.setSelection(Tree.java:4931)
	at org.eclipse.papyrus.profile.ui.compositesformodel.DecoratedTreeComposite$UpButtonlistener.mouseUp(DecoratedTreeComposite.java:453)
	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)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Comment 1 Camille Letavernier CLA 2014-03-25 08:50:46 EDT
*** Bug 392649 has been marked as a duplicate of this bug. ***
Comment 2 Camille Letavernier CLA 2014-03-25 08:51:26 EDT
*** Bug 392181 has been marked as a duplicate of this bug. ***
Comment 3 Camille Letavernier CLA 2014-03-25 12:11:47 EDT
Fixed in ead4a9c