Bug 520753 - add a function to clean workspace from "unsaved changes in the previous session" that are corrupted
Summary: add a function to clean workspace from "unsaved changes in the previous sessi...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 4.7   Edit
Hardware: All Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-09 09:08 EDT by Ralf Hauser CLA
Modified: 2017-08-09 14:38 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Hauser CLA 2017-08-09 09:08:13 EDT
While trying to recover from Bug 520746 , upon startup of the latest eclipse, I created a dummy new workspace directory and chose this one.

Finally, eclipse started.

Unfortunately, as soon as I went to "File - Switch Workspace", it immediately died again
Comment 1 Ralf Hauser CLA 2017-08-09 09:31:05 EDT
it seems that as per
http://www.lazylab.org/197/eclipse/eclipse-hanging-on-startup-repair-corrupt-workspace/

~/workspace/.metadata/.plugins/org.eclipse.core.resources$ ls -lart
total 788
drwxr-xr-x 258 hauser hauser   4096 Apr 29  2008 .history
-rw-r--r--   1 hauser hauser 240910 May  9  2009 .snap~
drwxr-xr-x  93 hauser hauser   4096 Nov 25  2016 ..
drwxr-xr-x  86 hauser hauser   4096 Aug  8 19:38 .projects
drwxr-xr-x   2 hauser hauser   4096 Aug  9 12:27 .safetable
drwxr-xr-x   6 hauser hauser   4096 Aug  9 12:29 .
drwxr-xr-x   3 hauser hauser   4096 Aug  9 12:29 .root
-rw-r--r--   1 hauser hauser 539997 Aug  9 13:28 686.snap
hauser@armin2:~/workspace/.metadata/.plugins/org.eclipse.core.resources$ mv 686.snap disabled.686.snap

==> renaming the .snap, solved it!