Community
Participate
Working Groups
Build id: I20100603-1500 My IDE can be completely idle and when I get back, I have a dialog "Problem Occurred" with the following text: Could not write metadata for '/TP'. /home/thhal/workspaces/build-3.6/.metadata/.plugins/org.eclipse.core.resources/.projects/TP/.markers.snap (No such file or directory). I find nothing in the log.
This happens when IOException is thrown while saving makers snapshots, see SaveManager#visitAndSnap line 1674. I'm not sure what is the cause of this IOException though. Does it happen always once the workspace is corrupted? Reproducible steps would help of course.
The setup is fairly complex so it's not easily reproducible. My guess is that it is related to using an external mechanism to add files to an otherwise empty project. I.e. 1. Create a new workspace. 2. Create a new general project 3. Use some external tool to put files into the project folder. Do not refresh! 4. Restart your IDE and wait The only reason I can find for an IOException at line 1674 is that the attempt to write .markers.snap is performed without first creating the containing folder.
I can reproduce it using Java Project. Your TP project must have been renamed/moved and the information about rename/move was not persisted in workspace metadata before workspace corruption happened. After restart, an action that required periodic workspace save happened and after some time, when the periodic save occurred, the error was shown. This is a duplicate of bug 294854. *** This bug has been marked as a duplicate of bug 294854 ***