Bug 273815 - [General] An unhandled event loop exception is thrown if the last diagram is closed from the lower tab
Summary: [General] An unhandled event loop exception is thrown if the last diagram is ...
Status: RESOLVED INVALID
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: Usability
Keywords: plan, usability
Depends on:
Blocks:
 
Reported: 2009-04-27 06:41 EDT by Gabriel Merin Cubero CLA
Modified: 2009-10-15 10:43 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 Gabriel Merin Cubero CLA 2009-04-27 06:41:23 EDT
A stack trace is provided:

java.lang.NullPointerException
	at org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor.getDiagramDocument(DiagramDocumentEditor.java:200)
	at org.eclipse.papyrus.diagram.sequence.part.UMLDiagramEditor.getNavigatorSelection(UMLDiagramEditor.java:326)
	at org.eclipse.papyrus.diagram.sequence.part.UMLDiagramEditor.getShowInContext(UMLDiagramEditor.java:319)
	at org.eclipse.ui.internal.services.ActivePartSourceProvider.getContext(ActivePartSourceProvider.java:255)
	at org.eclipse.ui.internal.services.ActivePartSourceProvider.getCurrentState(ActivePartSourceProvider.java:309)
	at org.eclipse.ui.internal.services.ActivePartSourceProvider.checkActivePart(ActivePartSourceProvider.java:150)
	at org.eclipse.ui.internal.services.ActivePartSourceProvider.handleCheck(ActivePartSourceProvider.java:140)
	at org.eclipse.ui.internal.services.ActiveShellSourceProvider.checkOtherSources(ActiveShellSourceProvider.java:404)
	at org.eclipse.ui.internal.services.ActiveShellSourceProvider$3.handleEvent(ActiveShellSourceProvider.java:369)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1436)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1157)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1163)
	at org.eclipse.swt.widgets.Shell.filterProc(Shell.java:670)
	at org.eclipse.swt.widgets.Display.filterProc(Display.java:1470)
	at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
	at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1550)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3031)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
	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:386)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Comment 1 Patrick Tessier CLA 2009-09-02 09:59:42 EDT
It seems to be solved