Eclipse crashed, works space now can't be opened, and importing the projects wont work either-Collection of common programming errors
Eclipse crashed, works space now can’t be opened, and importing the projects wont work either. That about explains it all right there.
Creating a new workspace, I still cant import any of the projects. It acts like it is about to, but then nothing.
Any ideas? Not all of the projects are on svn.
Here are some of the errors i see in the crash reports
The file has been changed on disk, and it now contains invalid information. The project will not function properly until the description file is restored to a valid state.
Premature end of file.
does not exist
and the message that appeared before it all crashed and burned
java.lang.OutOfMemoryError: Java heap space
NEW INFO
every single file in every single on of my projects, now has a size of 0kb. all the files exist, but every .png, .jpg .class .xml is empty with a size of 0kb
-
try editing eclipse.ini file.
put
put -Xms512m -Xmx1024m
then try to restart eclipse it should work!!
-
Can you install a second instance of Eclipse and point it at the workspace? I’ve done this with the ADT on my mac before.
-
I have had similar trouble with corrupted workspaces in the past. They don’t load even in a fresh copy of Eclipse.
What has helped me is deleting/renaming file
myWorkspace/.metadata/.plugins/org.eclipse.core.resources/.snap
Sometimes also deleting
*.snap
files.Please backup the whole workspace (including projects) first!
-
Close eclipse. Copy your wanted project files (ie. workspace\Homework) to a temp directory, not the entire workspace. Start eclipse. Create a new workspace (you stated you could). Delete the old workspace (might be able to this before previous step). Import project from temp directory into new workspace. Save! Close and re-open eclipse.
-
The “NEW INFO” section makes it look like you are out of disk space on the system. Have you checked?