| Summary: | IllegalStateException: Workbench has not been created yet | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Andrew Niefer <aniefer> |
| Component: | IDE | Assignee: | Dani Megert <daniel_megert> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | daniel_megert, jeffmcaffer, krzysztof.daniel, markus.kell.r, Olivier_Thomann, remy.suen |
| Version: | 3.7 | ||
| Target Milestone: | 3.7 M4 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Andrew Niefer
On the first run of a fresh download of I20101116-0800, linux.gtk.x86_64 This exception comes up on the console while the the workspace choose dialog is up. 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.timerProc(Display.java:4105) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2255) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3158) 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:48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:600) 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) Eclipse opens as normal and works fine after choosing a workspace, you might need to wait a few seconds at the workspace chooser dialog before the exception comes. It is caused by the bug 329002 - A problem view is created with delay. If the workbench is not opened by that time, an exception will be thrown. Let me take a look. Fixed in HEAD (IDEWorkbenchPlugin.java rev. 1.53). . *** Bug 330346 has been marked as a duplicate of this bug. *** *** Bug 331771 has been marked as a duplicate of this bug. *** Verified in I20101206-1800. |