Troubleshooting Eclipse
    Main Page
    Lab Hardware
    Lab Software
 

Last updated: 25 Nov 2009

Follow these links if you have problems with the topics mentioned:

Starting Eclipse

Here are some error messages or situations you may have encountered, with suggested workarounds or solutions.

  • An error has occured. See the log file H:\.eclipse_ws\.metadata\.log

    You may find a variety of errors in that log file. It is possible that something corrupted the configurations and information in the .metadata directory, or an older version of some plugin is no longer compatible with the current version.

    Here is a possible workaround:

    1. Open a command shell -- click on Start, then Run, and enter:
          cmd
          
    2. Change to the .eclipse_ws directory
          cd /d H:\.eclipse_ws
          
    3. Rename the .metadata directory
          move .metadata .metadata.old
          
    4. Start Eclipse

      You won't see your old projects any more, but they are still in H:\.eclipse_ws. Using the Eclipse File menu, import the projects into Eclipse.

    5. End Eclipse when finished.

      This will save your configuration changes to the .metadata folder.

New Version of Eclipse and/or Its Plugins

Each summer, SET lab staff upgrade all applications to their latest versions. Eclipse and its plugins are often updated to new versions, and that means that some of the old projects in your Eclipse workspace (by default, H:\.eclipse_ws may no longer work due to changes in metadata and plugins.

The best thing to do in the case of new version problems is to:

  1. Start Eclipse
  2. Save your preferences
    1. Choose menu item: File/Export.../General/Preferences
    2. Click Next.
    3. Make sure "Export All" is checked.
    4. Provide a file name in "To preference file" field; suggestion: H:\eclipse_prefs
    5. Click on Finish.
  3. Close Eclipse.
  4. Rename your workspace to another name:

    For example, in a command shell:

      move H:\.eclipse_ws H:\.eclipse_ws.old
      

    That will force Eclipse to create a new H:\.eclipse_ws workspace the next time it is started.

  5. Start Eclipse

    Don't be alarmed -- none of your preferences or projects will be there... yet.

  6. Restore your preferences.
    1. Choose menu item: File/Import.../General/Preferences
    2. Click Next.
    3. Provide the saved preference's file name in "From preference file" field (e.g., H:\eclipse_prefs.epf)
    4. Make sure "Import All" is checked.
    5. Click on Finish.
  7. Import your projects
    1. Choose menu item: File/Import.../General/Existing Projects into Workspace
    2. Click Next.
    3. Browse to your old workspace (e.g., H:\eclipse_ws.old)
    4. After the projects appear, click on Finish

      You might have to close the Welcome tab to see them.

  8. Now you should be able to use all of the new or changed features with less problems.

Subversive

See this news article.

Change Log

15 Nov 2009 Added info on moving to new Eclipse version
4 Feb 2009 Original document



Hours  |  Support Information  |  News  | 
Policies  |  Emergencies