I\'m getting these errors when trying to build my app in Eclipse. Things started going downhill when the compiler warned me that my .project file was missing.
Then I
Works for me : File -> Properties -> Java Compiler -> Configure Workspace Settings ...
Then Restore Default, Apply and restart Eclipse.
I was able to fix these very annoying errors by deleting all my projects out of the workspace and then reimporting them. Similar to Jazzmine's solution but one less step. Now waiting to see if the errors come back...
I solved the problem, I think, by creating a new workspace, moving a copy of my project files into the new workspace and then importing the project. Not sure how so many files got blown away before but starting from scratch seemed to take care of it.
Delete the project from the workspace and checkout again and configure the project... Its working for me in when I checkout from the SVN.
The basic problem is that when the Restore Defaults was applied, the Preferences code correctly discovered that there were no project-specific settings remaining in the node, so it removed the node. But WorkingCopyPreferences never discovers that fact, so a timebomb is ticking from then on.
Notice that since the JDT options pages all share a WorkingCopyManager, but each page only modifies a subset of the jdt.core settings, there is no way that any single page can tell whether restoring defaults for that page's settings will or will not cause the node to be removed. So it can't, e.g., cleverly call removeNode() on the WorkingCopyManager.