Community
Participate
Working Groups
1. Hit Ctrl-3 to open quick access 2. Type export 3. Try to open the Export Menu item -- Error Details -- Date: Wed Mar 03 09:45:36 CST 2010 Message: No activeWorkbenchWindow found while executing org.eclipse.ui.file.export Severity: Error Product: Eclipse SDK 3.6.0.v201003020800 (org.eclipse.sdk.ide) Plugin: org.eclipse.ui.workbench Session Data: eclipse.buildId=I20100302-0800 java.version=1.6.0_15 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_CA Command-line arguments: -os linux -ws gtk -arch x86 Exception Stack Trace: org.eclipse.core.commands.ExecutionException: No activeWorkbenchWindow found while executing org.eclipse.ui.file.export at org.eclipse.ui.handlers.HandlerUtil.noVariableFound(HandlerUtil.java:40) at org.eclipse.ui.handlers.HandlerUtil.getVariableChecked(HandlerUtil.java:89) at org.eclipse.ui.handlers.HandlerUtil.getActiveWorkbenchWindowChecked(HandlerUtil.java:210) at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:271) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169) at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241) at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157) at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171) at org.eclipse.ui.internal.quickaccess.ActionElement.execute(ActionElement.java:35) at org.eclipse.ui.internal.quickaccess.QuickAccessDialog.handleElementSelected(QuickAccessDialog.java:687) at org.eclipse.ui.internal.quickaccess.QuickAccessDialog.handleSelection(QuickAccessDialog.java:764) at org.eclipse.ui.internal.quickaccess.QuickAccessDialog.access$6(QuickAccessDialog.java:754) at org.eclipse.ui.internal.quickaccess.QuickAccessDialog$9.widgetDefaultSelected(QuickAccessDialog.java:306) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:113) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1223) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3531) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3150) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2408) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2372) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:501) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:494) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:195) 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:369) 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:611) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:566) at org.eclipse.equinox.launcher.Main.run(Main.java:1363)
(In reply to comment #0) > 1. Hit Ctrl-3 to open quick access > 2. Type export > 3. Try to open the Export Menu item You mean 'Menus [Icon] Export... - Export', right? Cannot reproduce on Windows XP. May be an issue on Linux with shells.
(In reply to comment #1) > You mean 'Menus [Icon] Export... - Export', right? Yes, the menu option fails. All the other options (taking you directly to a specific export wizard) as well as Commands Export - Export work.
I can reproduce it as well. It's because that ActionContributionItem is executing a command, and the command suffers from the same problem. But we have extra code in the CommandProvider/CommandElement to work around that. Another possibility would be to put the execution (of all of items) in an asyncExec or UIJob that would hopefully execute after QuickAccess is closed and the shell activates have been processed. PW
Szymon, you've been incorrectly CC'd because of a bug in our triage script. Our apologies. Of course, feel free to CC yourself if you care about this problem. ;)
(In reply to comment #4) > Szymon, you've been incorrectly CC'd because of a bug in our triage script. Our > apologies. Of course, feel free to CC yourself if you care about this problem. > ;) Ha, this is a trick question. Of course that I care ;-) but you are already on CC, so the bug is in good hands.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.