Project: Eclipse_Platform_UI
Bug 42938 [Commands] ClassCastException in Workbench.updateActiveWorkbenchWindowMenuManager(Workbench.java:492)
Reported: 2003-09-11 06:44:56 | Status: closed fixed

OSX 10.2.6 Eclipse: 200309090800 Stack: !ENTRY org.eclipse.ui 4 4 Sep 11, 2003 11:29:09.704 !MESSAGE Unhandled exception caught in event loop. !ENTRY org.eclipse.ui 4 0 Sep 11, 2003 11:29:09.708 !MESSAGE java.lang.ClassCastException !STACK 0 java.lang.ClassCastException at org.eclipse.ui.internal.Workbench.updateActiveWorkbenchWindowMenuManager(Workbench.java:492) at org.eclipse.ui.internal.Workbench$10.windowDeactivated(Workbench.java:334) at org.eclipse.ui.internal.Workbench.fireWindowDeactivated(Workbench.java:851) at org.eclipse.ui.internal.WorkbenchWindow$12.shellDeactivated(WorkbenchWindow.java:1937) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:163) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1027) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2180) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1878) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2037) at org.eclipse.ui.internal.Workbench.run(Workbench.java:2020) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461) 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:295) at org.eclipse.core.launcher.Main.run(Main.java:751) at org.eclipse.core.launcher.Main.main(Main.java:587)

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