Project: Eclipse_Platform_UI
Bug 117496 [Commands] handlers: Stack overflow in commands
Reported: 2005-11-22 10:09:35 | Status: verified fixed

- had three visible (split) editors open in the Team Synchronizing perspective and about 20 actual editors open - tried to switch to the java perspective. - the following stack overflow error occured. at org.eclipse.ui.internal.handlers.ActionDelegateHandlerProxy.isEnabled(ActionDelegateHandlerProxy.java:217) at org.eclipse.core.commands.Command.isEnabled(Command.java:510) at org.eclipse.jface.action.CommandLegacyActionWrapper.isEnabled(CommandLegacyActionWrapper.java:305) at org.eclipse.ui.internal.handlers.ActionDelegateHandlerProxy.isEnabled(ActionDelegateHandlerProxy.java:217) at org.eclipse.core.commands.Command.isEnabled(Command.java:510) at org.eclipse.jface.action.CommandLegacyActionWrapper.isEnabled(CommandLegacyActionWrapper.java:305) at org.eclipse.ui.internal.handlers.ActionDelegateHandlerProxy.isEnabled(ActionDelegateHandlerProxy.java:217) at org.eclipse.core.commands.Command.isEnabled(Command.java:510) at org.eclipse.jface.action.CommandLegacyActionWrapper.isEnabled(CommandLegacyActionWrapper.java:305) at org.eclipse.ui.internal.handlers.ActionDelegateHandlerProxy.isEnabled(ActionDelegateHandlerProxy.java:217) at org.eclipse.core.commands.Command.isEnabled(Command.java:510) at org.eclipse.jface.action.CommandLegacyActionWrapper.isEnabled(CommandLegacyActionWrapper.java:305) at org.eclipse.ui.internal.handlers.ActionDelegateHandlerProxy.isEnabled(ActionDelegateHandlerProxy.java:217) at org.eclipse.core.commands.Command.isEnabled(Command.java:510) at org.eclipse.jface.action.CommandLegacyActionWrapper.isEnabled(CommandLegacyActionWrapper.java:305) at org.eclipse.ui.internal.handlers.ActionDelegateHandlerProxy.isEnabled(ActionDelegateHandlerProxy.java:217) at org.eclipse.core.commands.Command.isEnabled(Command.java:510) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:447) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:833) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:555) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:498) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:118) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:976) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:904) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:929) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:914) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:942) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:938) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1253) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3242) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3143) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3919) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1705) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2859) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1794) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1758) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:381) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:106) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:109) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:167) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338) at org.eclipse.core.launcher.Main.basicRun(Main.java:282) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)

Files changed in fix:
bundles/org.eclipse.jface/src/org/eclipse/jface/action/CommandLegacyActionWrapper.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/handlers/ActionDelegateHandlerProxy.java