Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Unable to read workbench state
Unable to read workbench state [message #27391] Fri, 02 May 2003 14:35 Go to next message
Eclipse User
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?
Re: Unable to read workbench state [message #27405 is a reply to message #27391] Fri, 02 May 2003 16:56 Go to previous message
Eclipse User
Originally posted by: simon.ibm.oti.lab

Open a problem report against Platform - UI Include the .log file, the old
version of eclipse you had, the new version you installed, how you did the
install of the new version, etc

Simon :-)

"Ernesto Echeverria" <ernestoe@integra.com.sv> wrote in message
news:b8tvmt$sa4$1@rogue.oti.com...
> 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.j
ava:678)
> at
>
org.eclipse.ui.plugin.AbstractUIPlugin.getDialogSettings(Abs tractUIPlugin.ja
va:517)
> at
>
org.eclipse.ui.internal.registry.PerspectiveRegistry.load(Pe rspectiveRegistr
y.java:258)
> at
>
org.eclipse.ui.internal.WorkbenchPlugin.getPerspectiveRegist ry(WorkbenchPlug
in.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.jav
a: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.jav
a: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.jav
a: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:java shutdown hooks are not invoked
Next Topic:Eclipse For Linux
Goto Forum:
  


Current Time: Tue Oct 21 18:24:35 GMT 2014

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

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