Project: Eclipse_Platform_UI
Bug 199923 [Contributions] Widget disposed too early!
Reported: 2007-08-14 13:49:08 | Status: resolved fixed

Happens when I start Eclipse -- Error Log -- Date: Tue Aug 14 10:44:36 PDT 2007 Message: Widget disposed too early! Severity: Error Plugin ID: org.eclipse.ui.workbench Stack Trace: java.lang.RuntimeException: Widget disposed too early! at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:169) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:116) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1125) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1106) at org.eclipse.swt.widgets.Widget.release(Widget.java:970) at org.eclipse.swt.widgets.Control.release(Control.java:2984) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1098) at org.eclipse.swt.widgets.Widget.release(Widget.java:973) at org.eclipse.swt.widgets.Control.release(Control.java:2984) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1098) at org.eclipse.swt.widgets.Widget.release(Widget.java:973) at org.eclipse.swt.widgets.Control.release(Control.java:2984) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1098) at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:162) at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:465) at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:1704) at org.eclipse.swt.widgets.Widget.release(Widget.java:973) at org.eclipse.swt.widgets.Control.release(Control.java:2984) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:434) at org.eclipse.swt.widgets.Shell.dispose(Shell.java:1649) at org.eclipse.jface.window.Window.close(Window.java:330) at org.eclipse.jface.window.ApplicationWindow.close(ApplicationWindow.java:306) at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1600) at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:699) at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:675) at org.eclipse.ui.internal.WorkbenchWindow$2.run(WorkbenchWindow.java:790) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:788) at org.eclipse.jface.window.WindowManager.close(WindowManager.java:109) at org.eclipse.ui.internal.Workbench$15.run(Workbench.java:908) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:905) at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:834) at org.eclipse.ui.internal.Workbench$22.run(Workbench.java:1078) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.Workbench.close(Workbench.java:1076) at org.eclipse.ui.internal.Workbench.close(Workbench.java:1048) at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:696) at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:675) at org.eclipse.ui.internal.WorkbenchWindow$2.run(WorkbenchWindow.java:790) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:788) at org.eclipse.jface.window.Window.handleShellCloseEvent(Window.java:736) at org.eclipse.jface.window.Window$3.shellClosed(Window.java:682) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:91) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1125) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1110) at org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:542) at org.eclipse.swt.widgets.Shell.gtk_delete_event(Shell.java:922) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1478) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4234) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3973) 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:5593) at org.eclipse.swt.widgets.Display.eventProc(Display.java:1192) 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:1487) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2969) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 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:504) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443) at org.eclipse.equinox.launcher.Main.run(Main.java:1169) at org.eclipse.equinox.launcher.Main.main(Main.java:1144)

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/WorkbenchMenuService.java