Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Unable to read workbench state. Workbench UI layout will be reset.
Unable to read workbench state. Workbench UI layout will be reset. [message #72062] Thu, 12 June 2003 14:50 Go to next message
Eclipse UserFriend
Originally posted by: matt.mattkruse.com

I get this error every once in a while when I start Eclipse:
Unable to read workbench state. Workbench UI layout will be reset.

Why does this happen? I then need to setup all my perspectives and
arrangement of windows again, which is a pain.
I save my configuration every so often, but reverting back to a saved
configuration doesn't seem to do anything.

I'm on XP Pro, Eclipse 2.1

--
Matt Kruse
http://www.mattkruse.com/
Re: Unable to read workbench state. Workbench UI layout will be reset. [message #72155 is a reply to message #72062] Thu, 12 June 2003 15:06 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
When this occurs, are there any entries in the .log file that could help
diagnose the problem?

Darins

"Matt Kruse" <matt@mattkruse.com> wrote in message
news:bca3vm$5v7$1@rogue.oti.com...
> I get this error every once in a while when I start Eclipse:
> Unable to read workbench state. Workbench UI layout will be reset.
>
> Why does this happen? I then need to setup all my perspectives and
> arrangement of windows again, which is a pain.
> I save my configuration every so often, but reverting back to a saved
> configuration doesn't seem to do anything.
>
> I'm on XP Pro, Eclipse 2.1
>
> --
> Matt Kruse
> http://www.mattkruse.com/
>
>
Re: Unable to read workbench state. Workbench UI layout will be reset. [message #72205 is a reply to message #72155] Thu, 12 June 2003 15:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: matt.mattkruse.com

Ooh, good point. I didn't know the .log file existed :)

Looks like the root of the problem is the VSS plugin and the "Update Status"
thread. I guess I'll turn that off :)
Thanks!

!SESSION Jun 12, 2003
09:45:15.298 ---------------------------------------------
java.version=1.3.1_07
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:C:/Program Files/Eclipse/
!ENTRY org.vssplugin 1 0 Jun 12, 2003 09:45:15.298
!MESSAGE Status Updater Thread started
!ENTRY org.eclipse.ui.workbench 4 2 Jun 12, 2003 09:45:24.235
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
at
org.eclipse.team.internal.ui.actions.TeamAction.getSelectedR esources(TeamAct
ion.java:108)
at org.vssplugin.ui.actions.BaseAction.isEnabled(BaseAction.jav a:47)
at
org.vssplugin.ui.menuactions.ActionAdaptor.updateState(Actio nAdaptor.java:10
0)
at
org.vssplugin.ui.menuactions.MenuAction.selectionChanged(Men uAction.java:161
)
at
org.eclipse.ui.internal.PluginAction.refreshEnablement(Plugi nAction.java:204
)
at
org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:106)
at
org.eclipse.ui.internal.PluginAction.selectionChanged(Plugin Action.java:269)
at
org.eclipse.ui.internal.WWinPluginAction.refreshSelection(WW inPluginAction.j
ava:234)
at
org.eclipse.ui.internal.WWinPluginAction.<init>(WWinPluginAction.java:102)
at
org.eclipse.ui.internal.ActionDescriptor.createAction(Action Descriptor.java:
186)
at
org.eclipse.ui.internal.ActionDescriptor.<init>(ActionDescriptor.java:120)
at
org.eclipse.ui.internal.PluginActionSetBuilder.createActionD escriptor(Plugin
ActionSetBuilder.java:59)
at
org.eclipse.ui.internal.PluginActionBuilder.readElement(Plug inActionBuilder.
java:152)
at
org.eclipse.ui.internal.registry.RegistryReader.readElements (RegistryReader.
java:127)
at org.eclipse.ui.internal.registry.RegistryReader.readElementC hildren(Regi
stryReader.java:117)
at
org.eclipse.ui.internal.PluginActionBuilder.readElement(Plug inActionBuilder.
java:135)
at
org.eclipse.ui.internal.registry.RegistryReader.readElements (RegistryReader.
java:127)
at
org.eclipse.ui.internal.PluginActionSetBuilder.readActionExt ensions(PluginAc
tionSetBuilder.java:192)
at org.eclipse.ui.internal.PluginActionSet.init(PluginActionSet .java:73)
at
org.eclipse.ui.internal.ActionPresentation.addActionSet(Acti onPresentation.j
ava:55)
at
org.eclipse.ui.internal.ActionPresentation.setActionSets(Act ionPresentation.
java:119)
at
org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(Wor kbenchWindow.jav
a:1631)
at org.eclipse.ui.internal.WorkbenchWindow$7.run(WorkbenchWindo w.java:1407)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:65)
at
org.eclipse.ui.internal.WorkbenchWindow.setActivePage(Workbe nchWindow.java:1
381)
at
org.eclipse.ui.internal.WorkbenchWindow.restoreState(Workben chWindow.java:12
62)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.jav a:1150)
at org.eclipse.ui.internal.Workbench.access$9(Workbench.java:11 10)
at org.eclipse.ui.internal.Workbench$10.run(Workbench.java:1028 )
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java
:867)
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at
org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState (Workbench.java:
980)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:725)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1260)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
a:845)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
at org.eclipse.core.launcher.Main.run(Main.java:703)
at org.eclipse.core.launcher.Main.main(Main.java:539)
!ENTRY org.vssplugin 1 0 Jun 12, 2003 09:46:13.767
!MESSAGE Using jawin library C:/Program
Files/Eclipse/plugins/org.vssplugin_1.4.0/lib/jawin.dll
!ENTRY org.vssplugin 1 0 Jun 12, 2003 09:46:14.173
!MESSAGE Status Updater Thread going down
!SESSION Jun 12, 2003
09:46:49.49 ----------------------------------------------
java.version=1.3.1_07
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:C:/Program Files/Eclipse/
!ENTRY org.vssplugin 1 0 Jun 12, 2003 09:46:49.49
!MESSAGE Status Updater Thread started
!ENTRY org.vssplugin 1 0 Jun 12, 2003 09:49:09.426
!MESSAGE Using jawin library C:/Program
Files/Eclipse/plugins/org.vssplugin_1.4.0/lib/jawin.dll
!ENTRY org.vssplugin 1 0 Jun 12, 2003 09:49:09.441
!MESSAGE Status Updater Thread going down


"Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
news:bca4qq$6t4$1@rogue.oti.com...
> When this occurs, are there any entries in the .log file that could help
> diagnose the problem?
>
> Darins
>
> "Matt Kruse" <matt@mattkruse.com> wrote in message
> news:bca3vm$5v7$1@rogue.oti.com...
> > I get this error every once in a while when I start Eclipse:
> > Unable to read workbench state. Workbench UI layout will be reset.
> >
> > Why does this happen? I then need to setup all my perspectives and
> > arrangement of windows again, which is a pain.
> > I save my configuration every so often, but reverting back to a saved
> > configuration doesn't seem to do anything.
> >
> > I'm on XP Pro, Eclipse 2.1
> >
> > --
> > Matt Kruse
> > http://www.mattkruse.com/
> >
> >
>
>
Re: Unable to read workbench state. Workbench UI layout will be reset. [message #72830 is a reply to message #72062] Thu, 12 June 2003 21:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

Matt Kruse wrote:

> I get this error every once in a while when I start Eclipse:
> Unable to read workbench state. Workbench UI layout will be reset.

> Why does this happen? I then need to setup all my perspectives and
> arrangement of windows again, which is a pain.
> I save my configuration every so often, but reverting back to a saved
> configuration doesn't seem to do anything.

> I'm on XP Pro, Eclipse 2.1

> --
> Matt Kruse
> http://www.mattkruse.com/

Once you have the perspective the way you like it, you can save it by
selecting Window->Save Perspective As. You can give it a name like My
Favorite Perspective. You can even set this as the default perspective on
the Window->Preferences->Workbench->Perspectives page. Now, if you loose
the layout, you can reopen the perspective and have everything back as you
like it.
Re: Unable to read workbench state. Workbench UI layout will be reset. [message #73708 is a reply to message #72830] Fri, 13 June 2003 15:15 Go to previous message
Eclipse UserFriend
Originally posted by: simon.ibm.oti.lab

Matt,

You may also want to look at bug report 36984. Someone else if having a
problem like yours - the workbench layout is reset sometimes on startup.
Except, there is no dialog warning this is to happen.

The next time this happens, can you check you .log file to see if there is
any extra info. You can also add your comments to bug 36984 to describe your
problem.

Thanks
Simon :-)

"Dave Wegener" <wegener@cboenospam.com> wrote in message
news:bcaqme$sj9$1@rogue.oti.com...
> Matt Kruse wrote:
>
> > I get this error every once in a while when I start Eclipse:
> > Unable to read workbench state. Workbench UI layout will be reset.
>
> > Why does this happen? I then need to setup all my perspectives and
> > arrangement of windows again, which is a pain.
> > I save my configuration every so often, but reverting back to a saved
> > configuration doesn't seem to do anything.
>
> > I'm on XP Pro, Eclipse 2.1
>
> > --
> > Matt Kruse
> > http://www.mattkruse.com/
>
> Once you have the perspective the way you like it, you can save it by
> selecting Window->Save Perspective As. You can give it a name like My
> Favorite Perspective. You can even set this as the default perspective on
> the Window->Preferences->Workbench->Perspectives page. Now, if you loose
> the layout, you can reopen the perspective and have everything back as you
> like it.
>
>
>
Previous Topic:Problem displaying markers in class file editor ruler
Next Topic:How to writing to the console view ?
Goto Forum:
  


Current Time: Thu Apr 25 05:57:36 GMT 2024

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

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

Back to the top