Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 331136

Summary: Cannot get the run/debug menu anymore
Product: [Eclipse Project] e4 Reporter: Olivier Thomann <Olivier_Thomann>
Component: UIAssignee: Project Inbox <e4.ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: pwebster, remy.suen
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Olivier Thomann CLA 2010-11-25 10:50:46 EST
Using eclipse.buildId=I20101122-2302 (4.1 build)
java.version=1.6.0_23-ea
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_CA
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -console
,

In a debug session, I was suddenly not able to get the run/debug menu.
I would get this exception:
`org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:4091)
at org.eclipse.swt.SWT.error(SWT.java:4006)
at org.eclipse.swt.SWT.error(SWT.java:3977)
at org.eclipse.swt.widgets.Widget.error(Widget.java:468)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:340)
at org.eclipse.swt.widgets.Menu.setLocation(Menu.java:1427)
at org.eclipse.e4.ui.workbench.renderers.swt.ToolItemRenderer$5.widgetSelected(ToolItemRenderer.java:315)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4084)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3675)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$6.run(PartRenderingEngine.java:780)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:696)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:91)
at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:542)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:524)
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:196)
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:621)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:576)
at org.eclipse.equinox.launcher.Main.run(Main.java:1409)
at org.eclipse.equinox.launcher.Main.main(Main.java:1385)
Comment 1 Olivier Thomann CLA 2010-11-25 10:51:15 EST
Setting as major as the workspace becomes unusable.
Comment 2 Remy Suen CLA 2010-11-25 10:54:15 EST
This should be bug 330803 but it should have been fixed. I'm on I20101122-2302 like you.
Comment 3 Paul Webster CLA 2010-11-25 10:59:07 EST
Olivier, can you check that your org.eclipse.e4.ui.workbench.renderers.swt is v20101122-2200

It was in the I20101122-2302 build.  I'm currently running on I20101122-2302 as well.

PW
Comment 4 Olivier Thomann CLA 2010-11-25 11:07:19 EST
(In reply to comment #3)
> Olivier, can you check that your org.eclipse.e4.ui.workbench.renderers.swt is
> v20101122-2200
No I have org.eclipse.e4.ui.workbench.renderers.swt_0.9.1.v20101119-1700.jar.
No idea why I have an old version.

I'll try to update.
Comment 5 Olivier Thomann CLA 2010-11-25 11:26:19 EST
After updating to I20101124-1155, it seems to pick up the right version.
So this can be closed for now as a duplicate of bug 330803.
Comment 6 Remy Suen CLA 2010-11-25 12:06:43 EST
Thanks for the update, Olivier.

*** This bug has been marked as a duplicate of bug 330803 ***