0

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

3 Answers 3

2

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.

Sign up to request clarification or add additional context in comments.

6 Comments

Hi, I don't have .metadata/.plugins/org.eclipse.core.resources/.snap folder/file and my configuration.settings\org.eclipse.ui.ide.prefs doesn't contain SHOW_WORKSPACE_SELECTION_DIALOG entry. If I add it, it's the same.
I'm sorry, for Indigo is .markers, please delete this file <workspace>\.metadata\.plugins\org.eclipse.core.resources\.markers .
I don't have this folder. I have : .history, .projects, .root, .safetable
Then delete <workspace>/.metadata/.plugins/org.eclipse.core.resources/.root/*some_number*.tree And re-import the projects and re-assign the working sets.
I deleted my 159.tree file, launched Eclipse with the clean argument but it crashed again
|
1

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).

Comments

1

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.

2 Comments

Yes I will do that but I will need to reinstall all my plugins...sic !
You can tell a modern Eclipse to pull out plugins from another installation. Much faster.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.