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

Bug 313235

Summary: [Progress] Widget is disposed exception closing eclipse with background job running
Product: [Eclipse Project] Platform Reporter: Karen Butzke <karenfbutzke>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: prakash, pwebster
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Karen Butzke CLA 2010-05-17 16:19:01 EDT
I am running the RC1 build
Caused by: org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:4083)
at org.eclipse.swt.SWT.error(SWT.java:3998)
at org.eclipse.swt.SWT.error(SWT.java:3969)
at org.eclipse.swt.widgets.Widget.error(Widget.java:467)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:340)
at org.eclipse.swt.widgets.Control.getEnabled(Control.java:1230)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2572)
at org.eclipse.ui.internal.progress.ProgressManager$RunnableWithStatus.run(ProgressManager.java:1346)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.progress.ProgressManager$7.run(ProgressManager.java:1184)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4584)
at org.eclipse.ui.internal.progress.ProgressManager.runInUI(ProgressManager.java:1182)
at org.eclipse.ui.internal.progress.WorkbenchSiteProgressService.runInUI(WorkbenchSiteProgressService.java:376)
at org.eclipse.wst.sse.ui.EditorExecutionContext$ReusableUIRunner.run(EditorExecutionContext.java:68)
at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:164)
at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:158)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
Comment 1 Prakash Rangaraj CLA 2010-05-18 00:11:27 EDT
Karen,
    How to reproduce this? Seems like the progress manager is trying to run the operation after the window is closed. Or just the fastviewbar is closed?
Comment 2 Karen Butzke CLA 2010-05-18 09:55:01 EDT
The operation in question is in WTP-Dali and it happens to not handle cancels (bug 313236).  I was running that operation and closed eclipse when it hadn't yet finished.  Just attempting to break things as we test here at the end of Helios :).

I thought maybe it was possible to hit the widget is disposed exception in other ways, but maybe this just isn't a bug since our operation doesn't handle the cancel.
Comment 3 Prakash Rangaraj CLA 2010-05-19 01:01:27 EDT
Ok. Thanks for the info. I guess then it belongs to Workbench, rather than FastView. Updating the owner of the component
Comment 4 Eclipse Webmaster CLA 2019-09-06 16:09:20 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 5 Eclipse Genie CLA 2021-10-30 10:19:12 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.