Eclipse hanging on startup, Repair Corrupt Workspace


Eclipse can hang on start up due to various reasons like system crash , Updating a plugin etc. which corrupts the workspace.

You can check .log file (in your <workspace>/.metadata directory) for error logs like

!MESSAGE The workspace exited with unsaved changes in the previous session;
refreshing workspace to recover changes


Here are few quick fixes that may work (Make a backup of your Workspace and Try each step independently)

  • Removing .snap File
  1. Open <workspace>\.metadata\.plugins\org.eclipse.core.resources directory
  2. Remove .snap file in the directory
  3. Restart Eclipse


  • Remove .indexes Folder
  1. Remove the <workspace>\.metadata\.plugins\org.eclipse.core.resources\.root\.indexes directory
  2. Restart Eclipse


  • Remove “org.eclipse.ui.workbench”  folder
  1. Open <workspace>\.metadata\.plugins directory
  2. Remove “org.eclipse.ui.workbench” folder
  3. Restart Eclipse


If nothing works then you can start Eclipse with -clean option and import each project into new workspace.