views:

1634

answers:

2

I'm continually getting the following error under Eclipse Galileo while trying to install the WTP Web Page Editor plugin:

java.lang.IllegalStateException: Error while loading manipulator.
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:54)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.getConfigData(LazyManipulator.java:108)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction.installBundle(InstallBundleAction.java:76)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction.execute(InstallBundleAction.java:29)
at org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:35)
at org.eclipse.equinox.internal.provisional.p2.engine.Phase.mainPerform(Phase.java:129)
at org.eclipse.equinox.internal.provisional.p2.engine.Phase.perform(Phase.java:72)
at org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet.perform(PhaseSet.java:44)
at org.eclipse.equinox.internal.provisional.p2.engine.Engine.perform(Engine.java:54)
at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil.performProvisioningPlan(ProvisioningUtil.java:389)
at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProfileModificationOperation.doExecute(ProfileModificationOperation.java:61)
at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningOperation.execute(ProvisioningOperation.java:37)
at org.eclipse.equinox.internal.provisional.p2.ui.ProvisioningOperationRunner$1.run(ProvisioningOperationRunner.java:94)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

One blog said Eclipse Galileo doesn't play well with Java 1.6 (what??), so I've tried running Eclipse with Java 1.5 but that hasn't helped. Has anyone else had this problem and been able to get around it?


Edit BTW, below the error in the error log it also says

session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install, operand=null --> [R]javax.mail 1.4.0.v200905040518, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).

+2  A: 

You can try to follow the various suggestions mentioned in the bug 277242

Also check your eclipse.ini:

More generally, the error you're seeing can happen when we cannot read "-startup" since we use this to position the install.area.

VonC
Yay! This solved the problem. Thanks!
Epaga
This bug does not mention the fact that spaces between "-startup" and the value that you assign can cause "-startup" to not be read correctly. I already had "-startup" in my eclipse.ini but the value was on the same line. Putting the value on a new line resolved this problem for me.
Brad C
A: 

Yes!!! It worked like a charm. I wasted 4 hours to make it work before I saw the solution mentioned here.

There was a problem in the eclipse.ini file. Try to replace the ini file from the server copy and you are through.

Thanks VonC.

Nitin Arora
Nitin Arora, thanks and welcome to SO! Please don't post "me too"s as answers, though. as soon as you have enough rep you can post comments under the answers.
Epaga