Community
Participate
Working Groups
Build ID: M20060921-0945 (Ubuntu version: 3.2.1-2ubuntu1) Steps To Reproduce: Not exactly sure, see below. It might work with a couple attached files. More information: Hi! Ok, this is not really reproducible, but maybe someone is able to do something about it. I noticed today Eclipse wouldn't start. It told me to check the log in [workspace]/.metadata/.log for errors, and stopped. I tried running it with -clean, that had the same effect. (I'll post the logs below.) After messing with the ~/.eclipse and [workspace]/.metadata directories for a couple of hours, I narrowed the problem down to two files: [workspace]/.metadata/.plugins/org.eclipse.core.resources/.snap and [same path]/.root/.markers.snap If either of these two files is present in the workspace, Eclipse refuses to start. I can provide both files, and the logs from the first few times I encountered the error. I know this isn't much, and it's probably not possible to find out what happened to the files (I suspect a botched update) but the crash should be fixed. (If I could fix things by deleting the (probably) malformed files, so should Eclipse. It shouldn't be show-stopper.) I don't know what caused the error in the first place. I used Eclipse through SSH, though, and it might have crashed a couple times due to network issues.
Created attachment 61809 [details] one of the crash-causing files found in [workspace]/.metadata/.plugins/org.eclipse.core.resources/
Created attachment 61810 [details] second crash-causing file found in [workspace]/.metadata/.plugins/org.eclipse.core.resources/.root/
Created attachment 61811 [details] log file at time of crash I saved the logs in a different directory after one or two crashes, before I started experimenting.
Created attachment 61812 [details] previous log Included previous log, might contain a hint of the cause. Both logs are from [workspace]/.metadata
Bogdan Snap file are used when Eclipse is recovering after crash. If Eclipse from some reason is not able to parse that files it will not start. As far as I know eclipse was supposed to ignore errors in snap files, but it seems that you have found some exceptional situation. It is very important that you provide reproductible testcase, I mean that .snap file and workspace. It would be nice if you described what were you doing before Eclipse crashed. Regards, Chris
Looking at the attached log, it looks like a duplicate of bug 151075. *** This bug has been marked as a duplicate of bug 151075 ***