Eclipse crashed and won't restart. I don't understand the stack trace

前端 未结 5 1419
难免孤独
难免孤独 2021-02-04 15:53

Eclipse crashed and won\'t restart. Can someone help me understand what the problem is? The message from the log is below. I am on Win7 and develop with Android SDKand I recentl

相关标签:
5条回答
  • 2021-02-04 16:26

    Delete the file .metadata/.plugins/org.eclipse.core.resources/.snap

    0 讨论(0)
  • 2021-02-04 16:30

    For anyone interested, I had the exact same problem and deleting the file .metadata/.plugins/org.eclipse.core.resources/.snap did the trick for me.

    0 讨论(0)
  • 2021-02-04 16:43

    Try deleting (or moving) the .metadata folder from your Workspace and see if it fix this.

    0 讨论(0)
  • 2021-02-04 16:43

    My method was the following:

    1. backup the whole .plugin folder

    2. look at the log what plugins are affected in the stack trace. at the first place, in your case its "org.eclipse.core.internal.resources.SaveManager ...".

    3. search for a folder int the .plugin folder which name match this plugin

    4. if it exists, delete it

    5. try to start eclipse again, if it doesn't work, go to step 2 but chose the next plugin in the stack trace, eg. "org.eclipse.core.internal.resources.Workspace"

    0 讨论(0)
  • 2021-02-04 16:49

    I usually move my .metadata folder, restart eclipse (which will recreate the .metadata folder), import existing projects and then shutdown eclipse and restore following folders from the old .metadata to the new:

    .metadata\.plugins\:

    • org.eclipse.core.runtime
    • org.eclipse.debug.core
    • org.eclipse.debug.ui
    • org.eclipse.search
    • org.eclipse.ui.workbench
    • org.eclipse.ui.workbench.texteditor
    • org.tigris.subversion.subclipse.ui

    This will restore a lot of settings you had before and save you some time to reset them. This list is not exhaustive, there are more settings folders that could be restored but for me these were the most useful ones.

    0 讨论(0)
提交回复
热议问题