Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339728 - Dragging Part in own stack and moving back throws SWT-Exception
Summary: Dragging Part in own stack and moving back throws SWT-Exception
Status: RESOLVED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 4.1 M6   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-11 12:27 EST by Thomas Schindl CLA
Modified: 2011-03-11 12:43 EST (History)
1 user (show)

See Also:


Attachments
Patch (705 bytes, patch)
2011-03-11 12:39 EST, Thomas Schindl CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Schindl CLA 2011-03-11 12:27:26 EST
Tested with I2011-03-10-2200:

* Launch
* Open "Type Hierachy"
* Move to own stack (e.g. below)
* Move back to Stack with "Package Explorer"
=> Exception

org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:4277)
at org.eclipse.swt.SWT.error(SWT.java:4192)
at org.eclipse.swt.SWT.error(SWT.java:4163)
at org.eclipse.swt.widgets.Widget.error(Widget.java:763)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:565)
at org.eclipse.swt.widgets.Control.getToolTipText(Control.java:1917)
at org.eclipse.e4.ui.widgets.CTabFolder._setToolTipText(CTabFolder.java:3374)
at org.eclipse.e4.ui.widgets.CTabFolder.onMouse(CTabFolder.java:1482)
at org.eclipse.e4.ui.widgets.CTabFolder$2.handleEvent(CTabFolder.java:269)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4114)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1443)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1451)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1263)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3960)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3599)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:852)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:768)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:87)
at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:542)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:524)
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(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:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Comment 1 Thomas Schindl CLA 2011-03-11 12:39:26 EST
Created attachment 191007 [details]
Patch
Comment 2 Thomas Schindl CLA 2011-03-11 12:43:08 EST
I'm releasing thios change so that we don't get does exceptions - please revert if you think this is wrong