| Summary: | Unable to write metadata to .markers.snap | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Thomas Hallgren <thomas> |
| Component: | Resources | Assignee: | Platform-Resources-Inbox <platform-resources-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sptaszkiewicz, Szymon.Brandys |
| Version: | 3.6 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Thomas Hallgren
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 *** |