Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320854 - "Widget is disposed"-Exception
Summary: "Widget is disposed"-Exception
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-25 15:21 EDT by Thomas Schindl CLA
Modified: 2012-07-10 11:50 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Schindl CLA 2010-07-25 15:21:06 EDT
Just got this while shuting down my outer workspace

!ENTRY org.eclipse.ui.workbench 4 2 2010-07-25 21:18:35.996
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
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:715)
        at org.eclipse.swt.widgets.Widget.getDisplay(Widget.java:835)
        at org.eclipse.swt.custom.TreeEditor.resize(TreeEditor.java:229)
        at org.eclipse.swt.custom.TreeEditor.setItem(TreeEditor.java:272)
        at org.eclipse.swt.custom.TreeEditor.setEditor(TreeEditor.java:288)
        at org.eclipse.ui.views.properties.PropertySheetViewer.deactivateCellEditor(PropertySheetViewer.java:401)
        at org.eclipse.ui.views.properties.PropertySheetViewer.setInput(PropertySheetViewer.java:964)
        at org.eclipse.ui.views.properties.PropertySheetPage.selectionChanged(PropertySheetPage.java:510)
        at org.eclipse.ui.views.properties.PropertySheet.selectionChanged(PropertySheet.java:365)
        at org.eclipse.ui.internal.e4.compatibility.SelectionService.notifyListeners(SelectionService.java:135)
        at org.eclipse.ui.internal.e4.compatibility.SelectionService.access$3(SelectionService.java:133)
        at org.eclipse.ui.internal.e4.compatibility.SelectionService$1.selectionChanged(SelectionService.java:73)
Comment 1 Danny Staple CLA 2012-03-22 13:32:07 EDT
I've also seen this with the following stacktrace:
Build Identifier: Indigo

I have egit and pydev plugins in use.
Egit had gone into its state of no right-click menus being supported.
Upon exit the following stack trace was seen:
org.eclipse.swt.SWTException: Widget is disposed
    at org.eclipse.swt.SWT.error(SWT.java:4282)
    at org.eclipse.swt.SWT.error(SWT.java:4197)
    at org.eclipse.swt.SWT.error(SWT.java:4168)
    at org.eclipse.swt.widgets.Widget.error(Widget.java:466)
    at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:403)
    at org.eclipse.swt.widgets.Control.getBounds(Control.java:706)
    at
org.eclipse.ui.internal.progress.ProgressManagerUtil.animateUp(ProgressManagerUtil.java:414)
    at
org.eclipse.ui.internal.statushandlers.InternalDialog.open(InternalDialog.java:338)
    at
org.eclipse.ui.internal.statushandlers.WorkbenchStatusDialogManagerImpl.doAddStatusAdapter(WorkbenchStatusDialogManagerImpl.java:270)
    at
org.eclipse.ui.internal.statushandlers.WorkbenchStatusDialogManagerImpl.addStatusAdapter(WorkbenchStatusDialogManagerImpl.java:197)
    at
org.eclipse.ui.statushandlers.WorkbenchStatusDialogManager.addStatusAdapter(WorkbenchStatusDialogManager.java:156)
    at
org.eclipse.ui.statushandlers.WorkbenchErrorHandler.showStatusAdapter(WorkbenchErrorHandler.java:101)
    at
org.eclipse.ui.statushandlers.WorkbenchErrorHandler.handle(WorkbenchErrorHandler.java:57)
    at
org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler.handle(IDEWorkbenchErrorHandler.java:108)
    at
org.eclipse.ui.internal.WorkbenchErrorHandlerProxy.handle(WorkbenchErrorHandlerProxy.java:36)
    at
org.eclipse.ui.statushandlers.StatusManager.handle(StatusManager.java:189)
    at org.eclipse.ui.internal.JFaceUtil$3.show(JFaceUtil.java:70)
    at
org.eclipse.jface.util.SafeRunnable.handleException(SafeRunnable.java:67)
    at org.eclipse.core.runtime.SafeRunner.handleException(SafeRunner.java:75)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:44)
    at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1111)
    at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:1040)
    at org.eclipse.ui.internal.Workbench$25.run(Workbench.java:1284)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.Workbench.close(Workbench.java:1282)
    at org.eclipse.ui.internal.Workbench.close(Workbench.java:1254)
    at
org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:727)
    at
org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:715)
    at org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:867)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:865)
    at org.eclipse.jface.window.Window.handleShellCloseEvent(Window.java:741)
    at org.eclipse.jface.window.Window$3.shellClosed(Window.java:687)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:98)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)
    at org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:617)
    at org.eclipse.swt.widgets.Shell.gtk_delete_event(Shell.java:1189)
    at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1735)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:5016)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4408)
    at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
    at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8422)
    at org.eclipse.swt.widgets.Display.eventProc(Display.java:1245)
    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:2276)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3207)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
    at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
    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)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Job found still running after platform shutdown.  Jobs should be canceled by
the plugin that scheduled them during shutdown:
org.eclipse.ui.internal.progress.WorkbenchSiteProgressService$SiteUpdateJob
Job found still running after platform shutdown.  Jobs should be canceled by
the plugin that scheduled them during shutdown:
org.eclipse.ui.internal.progress.AnimationManager$


This is not the first time I've seen it, but it is the first time I've capture
the stack trace and reported it.


Reproducible: Didn't try

Steps to Reproduce:
1. Use egit + pydev a lot (2 days session)
2. Eclipse will get into a state of not responding to context menu clicks
3. Close down eclipse

I've seen another time during a restart for a plugin install:




 (Eclipse:23255): GnomeShellBrowserPlugin-DEBUG: plugin loaded
** (Eclipse:23255): DEBUG: NP_Initialize
** (Eclipse:23255): DEBUG: NP_Initialize succeeded
** (Eclipse:23255): DEBUG: NP_Initialize
** (Eclipse:23255): DEBUG: NP_Initialize succeeded
** (Eclipse:23255): DEBUG: NP_Initialize
** (Eclipse:23255): DEBUG: NP_Initialize succeeded
** (Eclipse:23255): DEBUG: NP_Initialize
** (Eclipse:23255): DEBUG: NP_Initialize succeeded
org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(SWT.java:4282)
	at org.eclipse.swt.SWT.error(SWT.java:4197)
	at org.eclipse.swt.SWT.error(SWT.java:4168)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:466)
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:403)
	at org.eclipse.swt.widgets.Control.getBounds(Control.java:706)
	at org.eclipse.ui.internal.progress.ProgressManagerUtil.animateUp(ProgressManagerUtil.java:414)
	at org.eclipse.ui.internal.statushandlers.InternalDialog.open(InternalDialog.java:338)
	at org.eclipse.ui.internal.statushandlers.WorkbenchStatusDialogManagerImpl.doAddStatusAdapter(WorkbenchStatusDialogManagerImpl.java:270)
	at org.eclipse.ui.internal.statushandlers.WorkbenchStatusDialogManagerImpl.addStatusAdapter(WorkbenchStatusDialogManagerImpl.java:197)
	at org.eclipse.ui.statushandlers.WorkbenchStatusDialogManager.addStatusAdapter(WorkbenchStatusDialogManager.java:156)
	at org.eclipse.ui.statushandlers.WorkbenchErrorHandler.showStatusAdapter(WorkbenchErrorHandler.java:101)
	at org.eclipse.ui.statushandlers.WorkbenchErrorHandler.handle(WorkbenchErrorHandler.java:57)
	at org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler.handle(IDEWorkbenchErrorHandler.java:108)
	at org.eclipse.ui.internal.WorkbenchErrorHandlerProxy.handle(WorkbenchErrorHandlerProxy.java:36)
	at org.eclipse.ui.statushandlers.StatusManager.handle(StatusManager.java:189)
	at org.eclipse.ui.internal.JFaceUtil$3.show(JFaceUtil.java:70)
	at org.eclipse.jface.util.SafeRunnable.handleException(SafeRunnable.java:67)
	at org.eclipse.core.runtime.SafeRunner.handleException(SafeRunner.java:75)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:44)
	at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1111)
	at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:1040)
	at org.eclipse.ui.internal.Workbench$25.run(Workbench.java:1284)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.Workbench.close(Workbench.java:1282)
	at org.eclipse.ui.internal.Workbench.restart(Workbench.java:2292)
	at org.eclipse.equinox.internal.p2.ui.ProvisioningOperationRunner$1.run(ProvisioningOperationRunner.java:91)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3563)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
	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)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.progress.WorkbenchSiteProgressService$SiteUpdateJob
Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.progress.AnimationManager$1
Comment 2 Danny Staple CLA 2012-03-22 13:32:57 EDT
For reference - I saw it on a Ubuntu Linux PC, in Indigo, 3.7.2.
Comment 3 Danny Staple CLA 2012-03-22 13:33:32 EDT
*** Bug 374767 has been marked as a duplicate of this bug. ***
Comment 4 Max Burns CLA 2012-07-09 16:20:01 EDT
got in CDT for linux package, Eclipse 4.2 "Juno" on Linux x32 preconfigured with 'Pulse' from Genuitec.

Now each time it starts up it does this, almost all views fail to open, rebooted, same thing.

No major changes to install that could conceivably have done this, just restarted eclipse and it started throwing these errors.

Can someone change the platform on this bug so it isn't ignored?
Comment 5 Paul Webster CLA 2012-07-10 11:49:11 EDT
(In reply to comment #4)
> got in CDT for linux package, Eclipse 4.2 "Juno" on Linux x32 preconfigured
> with 'Pulse' from Genuitec.

Max, can you please open a new bug with your problem?  Attach your .log file and we'll have a look at it.

PW
Comment 6 Paul Webster CLA 2012-07-10 11:50:34 EDT
We're not supporting Carbon anymore, and we'll use other bugs to track the other issues.

PW