You know ... it happens every now and then: eclipse is broken.
There are different types of broken, either eclipse does not start at all with huge cryptic exceptions no one is able to understand or it starts ok, but weird things are going on in the UI and no one is able to fix this.
My advice: don't waste time on investigating the source of the problem! Because you would need one man's life to fully understand this ... and you would not have solved it until then.
Revert eclipse to clean state instead!
This is how to do this on linux (but on windows it will be similar):
1. Start eclipse one final time (if possible) and choose File->Export->General->Preferences
2. Save the above to a file (do this again for every other things you want to backup)
3. Backup ~/.eclipse
4. Backup {YOUR-WORKSPACE-DIRECTORY}/.metadata
5. Delete the above directories (if you don't already moved them to a backup name)
6. Start eclipse, now it will take some time as it rebuilds everything
7. Re-install everything you installed prior (e. g. SVN, PDT, ...) via Help->Install new software...->Work with: select your current release (this selection is important, as selecting wrong versions here is one of the reasons why eclipse may break itself completely!)
8. After _everything is installed that you may need_ choose File->Import and import everything you want (don't do it the other way round, this will work as well, but you may have doubled perspectives afterwards)
9. If you was smarter than me, you are done. But I had the problem, that my project list was empty even after re-import of my preferences, therefore I had to use brute force:
10. DO THIS ONLY IF YOUR PROJECTS ARE MISSING:
a) Backup {YOUR-WORKSPACE-DIRECTORY}/.metadata/.plugins/org.eclipse.core.resources/.projects if exists
b) Backup {YOUR-WORKSPACE-DIRECTORY}/.metadata/.plugins/org.eclipse.core.resources/.root/{some-id}.tree
c) Backup {YOUR-WORKSPACE-DIRECTORY}/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources
d) Copy the .projects directory from your backup .metadata directory to your current workspace/.metadata directory
e) Copy the two files {some-id}.tree and org.eclipse.core.resources from your backup .metadata directory to your current workspace/.metadata directory
11. Start eclipse. Now everything has to be ok. Otherwise you have even less luck than me, which I assume is not possible, as eclipse seems to hate me!
Kategorie(n): Eclipse