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

Bug 330346

Summary: New exception on startup
Product: [Eclipse Project] e4 Reporter: Olivier Thomann <Olivier_Thomann>
Component: UIAssignee: Project Inbox <e4.ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: markus.kell.r
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Olivier Thomann CLA 2010-11-16 08:29:50 EST
Using I20101112-0047,

I got this exception on startup:

 java.lang.IllegalStateException: Workbench has not been created yet.
   at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:92)
   at org.eclipse.ui.internal.ide.IDEWorkbenchPlugin$2.run(IDEWorkbenchPlugin.java:360)
   at org.eclipse.swt.widgets.Display.runTimer(Display.java:4185)
   at org.eclipse.swt.widgets.Display.messageProc(Display.java:3274)
   at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
   at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2461)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3673)
   at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
   at org.eclipse.jface.window.Window.open(Window.java:801)
   at org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.prompt(ChooseWorkspaceDialog.java:91)
   at org.eclipse.ui.internal.ide.application.IDEApplication.promptForWorkspace(IDEApplication.java:277)
   at org.eclipse.ui.internal.ide.application.IDEApplication.checkInstanceLocation(IDEApplication.java:225)
   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:105)
   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 Markus Keller CLA 2010-11-16 14:40:26 EST

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