Bug 39445 - [Tasks] Widget is disposed Exception exiting workbench with MarkerView open
Summary: [Tasks] Widget is disposed Exception exiting workbench with MarkerView open
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M7   Edit
Assignee: Stefan Xenos CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 39403 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-06-27 16:19 EDT by Tod Creasey CLA
Modified: 2005-05-10 17:48 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tod Creasey CLA 2003-06-27 16:19:39 EDT
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)
Comment 1 Debbie Wilson CLA 2003-06-30 11:40:09 EDT
*** Bug 39403 has been marked as a duplicate of this bug. ***
Comment 2 Stefan Xenos CLA 2005-05-06 16:43:17 EDT
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.
Comment 3 Stefan Xenos CLA 2005-05-06 16:46:55 EDT
Fixed in head
Comment 4 Stefan Xenos CLA 2005-05-10 17:48:30 EDT
Verified in I20050510-0010

(Too hard to reproduce, but confirmed that the patch made it in)