Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Projects in Project Browser are disappeared but remain in disk

Every new day my projects are lost in project browser in eclipse-indigo but remain in disk, so I must import all projects again in every morning. Do you have any idea about this problem?

I can see all projects in ~/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects

When I open the eclipse, the files which I worked one day ago, make an exception: org.eclipse.core.runtime.CoreException: The file does not exist.

Two days ago my eclipse crashed and this problem started probably after this time. Also I found these in error logs:

--> The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

--> Ignored attempt to add saveable that was already registered

--> Unable to create editor ID org.eclipse.jdt.ui.PropertiesFileEditor: The file does not exist.

like image 977
afsinka Avatar asked Dec 21 '11 09:12

afsinka


People also ask

Why is my project browser not showing in Revit?

Issue: The Project Browser may not be selected for display or may be hidden. Solution: Try one of the following techniques to display the Project Browser: Click View tab Windows panel User Interface drop-down Project Browser. Open Control Panel Display, and make sure that the zoom is set to 100%.

How do I get my project browser back?

To open the Project Browser, click View tab Windows panel User Interface drop-down Project Browser, or right-click anywhere in the application window and click Browsers Project Browser.


1 Answers

Solution:
Shut down Eclipse IDE
Remove and backup your workspace/.metadata/.plugins/org.eclipse.core.resources directory

Start Eclipse IDE (with -clean to be super-safe) Reimport all projects (UPDATE: Just use File->Import->Existing Project into Workspace and browse your workspace/project directory) Enjoy

Source: http://ahtik.com/blog/2008/01/15/eclipse-workspace-fails-to-start-after-crash-quick-fix/

like image 185
afsinka Avatar answered Sep 20 '22 12:09

afsinka