Reputation: 3165
This morning, I'm not able do run Eclipse Indigo whereas yesterday it was working.
I receive this message :
An error has occured. See the log file E:\workspaces\sim.metadata.log
And my .log file displays :
!STACK 0
!MESSAGE An error occurred while automatically activating bundle org.eclipse.core.resources (103).
...
Caused by: java.lang.ClassFormatError: Illegal constant pool index 7436 for method signature in class file org/eclipse/core/internal/resources/MarkerManager
...
!STACK 1
java.lang.NoClassDefFoundError: org/eclipse/core/resources/IContainer
...
Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle org.eclipse.core.resources (103).
...
Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.core.resources.ResourcesPlugin.start() of bundle org.eclipse.core.resources.
I ran Eclipse with the clean
argument but it's the same.
Thanks for any help
Upvotes: 0
Views: 1077
Reputation: 1047
I suppose you still have your workspace intact.The best and fastest option would be to reinstall eclipse and replace the new workspace with the older one.
Upvotes: 1
Reputation: 608
It looks like your eclipse crashed sometime before and is unable to restore the workspace.
You can delete .metadata/.plugins/org.eclipse.core.resources/.snap .
Or
Try using a new workspace. Change the settings in \configuration.settings\org.eclipse.ui.ide.prefs and set SHOW_WORKSPACE_SELECTION_DIALOG to true
After that import all your projects to your workspace.
Upvotes: 2
Reputation: 5843
Try reinstalling Eclipse. The message regarding an illegal constant pool index sounds like a broken .class
file. Your settings and workspace should remain intact, but you may need to re-install your plugins (if any).
Upvotes: 1