Project: Eclipse_Platform_UI
Bug 44563 "SWTException: Widget is disposed" on shutdown
Reported: 2003-10-09 11:30:55 | Status: closed fixed

i200310081556 During shutdown, got a dialog saying that an error had occurred. Had this as last entry in the log file: !SESSION ---------------------------------------------------------------------- !ENTRY org.eclipse.core.launcher 4 0 Oct 09, 2003 11:19:19.951 !MESSAGE Exception launching the Eclipse Platform: !STACK java.lang.reflect.InvocationTargetException 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:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:299) at org.eclipse.core.launcher.Main.run(Main.java:765) at org.eclipse.core.launcher.Main.main(Main.java:599) Caused by: java.lang.reflect.InvocationTargetException 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:324) at org.eclipse.core.internal.boot.InternalBootLoader.shutdown(InternalBootLoader.java:1017) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:863) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461) ... 7 more Caused by: org.eclipse.swt.SWTException: Widget is disposed at org.eclipse.swt.SWT.error(SWT.java:2369) at org.eclipse.swt.SWT.error(SWT.java:2299) at org.eclipse.swt.widgets.Widget.error(Widget.java:388) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:317) at org.eclipse.swt.widgets.ToolItem.setEnabled(ToolItem.java:550) at org.eclipse.jface.action.StatusLine.setCanceled(StatusLine.java:366) at org.eclipse.jface.action.StatusLineManager$1.setCanceled(StatusLineManager.java:126) at org.eclipse.ui.internal.progress.WorkbenchMonitorProvider$1.setCanceled(WorkbenchMonitorProvider.java:321) at org.eclipse.ui.internal.progress.ProgressManager$JobMonitor.setCanceled(ProgressManager.java:184) at org.eclipse.core.internal.jobs.JobManager.cancel(JobManager.java:133) at org.eclipse.core.internal.jobs.JobManager.doShutdown(JobManager.java:261) at org.eclipse.core.internal.jobs.JobManager.shutdown(JobManager.java:94) at org.eclipse.core.internal.runtime.InternalPlatform.loaderShutdown(InternalPlatform.java:627) ... 14 more

Files changed in fix:
bundles/org.eclipse.jface/src/org/eclipse/jface/action/StatusLineManager.java