aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse: "Unable to read workbench state , workbench UI layout will be reset."" Watch "Eclipse: "Unable to read workbench state , workbench UI layout will be reset."" New topic
Author

Eclipse: "Unable to read workbench state , workbench UI layout will be reset."

Vinayak patil
Ranch Hand

Joined: Aug 30, 2005
Posts: 67
Hi Ranchers,

Whenever I close eclipse and try to open it again I get the following message:

"Unable to read workbench state, workbench UI layout will be reset." After I click OK I lose all the workspace information and so I have to configure everything again including creating the projects I am working on.


I tried creating new workspace but that did not help.I then installed a new version of eclipse, that did not help either and I keep getting the same error.

Please let me know how to overcome this.

Thanks in advance,
Vinayak


"I can resist everything except temptation"
Vinayak patil
Ranch Hand

Joined: Aug 30, 2005
Posts: 67
Hi Checked the .log file in .metadata folder. This is the exception that is logged:

Mr. C Lamont Gilbert
Ranch Hand

Joined: Oct 05, 2001
Posts: 1170

looks like you have an old workspace and also that you can not write to it so eclipse keeps trying to open the same workspace. Make sure you can write to your workspace.
Vinayak patil
Ranch Hand

Joined: Aug 30, 2005
Posts: 67
I checked the workspace folder and changed the permissions so I am able to write to it. It is still not working.
Mr. C Lamont Gilbert
Ranch Hand

Joined: Oct 05, 2001
Posts: 1170

Heh, yea. If you can write to the log I suppose you can write to the workspace...

Try "eclipse.exe - clean" or your Linux equivalent.
Rahul Mootha
Greenhorn

Joined: Jan 25, 2013
Posts: 1
Try this .. it worked for me when i had problem in loading my workbench:
Go to your workspace folder

Make a backup of your “.metadata“-folder (very important!!)
navigate into the “.plugins“-folder located inside “.metadata“
delete the folder “org.eclipse.ui.workbench“
startup eclipse again and check if there is still everything you need
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse: "Unable to read workbench state , workbench UI layout will be reset."