Community
Participate
Working Groups
20030625 When I exited by workbench with a MarkerView (I think it was the problems view) open I got the following exception. I have not been able to replicate it. org.eclipse.swt.SWTException: Widget is disposed at java.lang.Throwable.<init>(Throwable.java) at java.lang.Throwable.<init>(Throwable.java) at org.eclipse.swt.SWTException.<init>(SWTException.java:73) at org.eclipse.swt.SWTException.<init>(SWTException.java:62) at org.eclipse.swt.SWT.error(SWT.java:2357) at org.eclipse.swt.SWT.error(SWT.java:2287) at org.eclipse.swt.widgets.Widget.error(Widget.java:389) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java) at org.eclipse.swt.custom.CLabel.setText(CLabel.java:582) at org.eclipse.ui.internal.ViewPane.updateTitles(ViewPane.java:683) at org.eclipse.ui.internal.ViewPane.propertyChanged(ViewPane.java:464) at org.eclipse.ui.part.WorkbenchPart$1.run(WorkbenchPart.java:99) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java) at org.eclipse.core.runtime.Platform.run(Platform.java) at org.eclipse.ui.part.WorkbenchPart.firePropertyChange (WorkbenchPart.java:97) at org.eclipse.ui.part.WorkbenchPart.setTitle(WorkbenchPart.java:245) at org.eclipse.ui.views.markers.internal.MarkerView.updateTitle (MarkerView.java:536) at org.eclipse.ui.views.markers.internal.MarkerView$4.run (MarkerView.java:459) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (Synchronizer.java) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java) at org.eclipse.swt.widgets.Display.release(Display.java:1800) at org.eclipse.swt.graphics.Device.dispose(Device.java:212) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1371) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:858) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461) at java.lang.reflect.AccessibleObject.invokeImpl(Native Method) at java.lang.reflect.AccessibleObject.invokeL (AccessibleObject.java:207) at java.lang.reflect.Method.invoke(Method.java:271) at org.eclipse.core.launcher.Main.basicRun(Main.java:291) at org.eclipse.core.launcher.Main.run(Main.java:747) at org.eclipse.core.launcher.Main.main(Main.java:583)
*** Bug 39403 has been marked as a duplicate of this bug. ***
The UI job wasn't checking if the view was disposed between the time it was scheduled and the time it was run. Reproducing it would require desposing the view at a very specific time.
Fixed in head
Verified in I20050510-0010 (Too hard to reproduce, but confirmed that the patch made it in)