Failed to create the part's controls in Eclipse with Salesforce

user1970284 picture user1970284 · Jan 11, 2013 · Viewed 49.4k times · Source

I have Eclipse Juno and Force.com IDE. When I try to create new classes they always show: failed to create the part's controls. It worked for the first time, but now they always show this. Same happens if I create them inside the force.com platform.

Error details:
org.eclipse.core.runtime.AssertionFailedException: assertion failed:
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)

etc ...

I would appreciate all help.

Answer

gmodica picture gmodica · Feb 28, 2013

I had the same error. I fixed it by switching the eclipse workspace. Go to menu File->Switch Workspace->Other, and then select the same workspace you were working with. Eclipse will restart and you should not get the error.