Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Newbie Error: Unable to Read Workbench State
Newbie Error: Unable to Read Workbench State [message #6359] Fri, 25 April 2003 23:27
Eclipse UserFriend
Originally posted by: ernestoe.integra.com.sv

After installing Eclipse in a machine running Windows 2000, with Java 2
SDK 1.4.1.02, the IDE works fine. Then, after quitting and launching
again, I get the following error:

Unable to read workbench state. Workbench UI layout will be reset.

After closing the popup window, the following error appears:

Problems during startup. Check the ".log" file in the ".metadata"
directory of your workspace.

The contents of that file show:

!SESSION Apr 25, 2003 17:24:05.801
---------------------------------------------
java.version=1.4.1_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -install
file:D:/eclipse/
!ENTRY org.eclipse.ui.workbench 4 2 Apr 25, 2003 17:24:05.801
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench".
!STACK 0
java.lang.ClassCastException
at org.eclipse.jface.dialogs.DialogSettings.load(DialogSettings .java:197)
at org.eclipse.jface.dialogs.DialogSettings.load(DialogSettings .java:209)
at
org.eclipse.ui.plugin.AbstractUIPlugin.loadDialogSettings(Ab stractUIPlugin.java:678)
at
org.eclipse.ui.plugin.AbstractUIPlugin.getDialogSettings(Abs tractUIPlugin.java:517)
at
org.eclipse.ui.internal.registry.PerspectiveRegistry.load(Pe rspectiveRegistry.java:258)
at
org.eclipse.ui.internal.WorkbenchPlugin.getPerspectiveRegist ry(WorkbenchPlugin.java:295)
at
org.eclipse.ui.internal.Workbench.getPerspectiveRegistry(Wor kbench.java:687)
at
org.eclipse.ui.internal.Workbench.getPerspectiveHistory(Work bench.java:636)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.jav a:1236)
at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1 223)
at org.eclipse.ui.internal.Workbench$12.run(Workbench.java:1141 )
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:889)
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at
org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState (Workbench.java:1093)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:870)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1373)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:845)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
!SESSION
------------------------------------------------------------ ----------
!ENTRY org.eclipse.core.launcher 4 0 Apr 25, 2003 17:24:10.87
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
Caused by: java.lang.reflect.InvocationTargetException
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:848)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
... 7 more
Caused by: org.eclipse.ui.internal.misc.AssertionFailedException: null
argument;
at org.eclipse.ui.internal.misc.Assert.isNotNull(Assert.java:77 )
at org.eclipse.ui.internal.misc.Assert.isNotNull(Assert.java:65 )
at
org.eclipse.ui.internal.WorkbenchWindow.openPage(WorkbenchWi ndow.java:1181)
at
org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbe nch.java:1074)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:874)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1373)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:845)
... 8 more

If remove the workspace directory and launch eclipse again, it'll work
fine.

I've installed eclipse in a different machine with Windows XP and it works
fine there.

Any ideas on what's going wrong here?
Previous Topic:new wsad based on 2.1? when?
Next Topic:Exception breakpoints
Goto Forum:
  


Current Time: Fri Mar 29 11:49:53 GMT 2024

Powered by FUDForum. Page generated in 0.02698 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top