Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 309888

Summary: Unable to install GEF 3.5 on Eclipse 3.5 x64
Product: [Tools] GEF Reporter: icemank
Component: GEF-Legacy GEF (MVC)Assignee: gef-inbox <gef-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: major    
Priority: P3 CC: ahunter.eclipse, nyssen
Version: 3.5   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description icemank CLA 2010-04-20 18:53:40 EDT
Build Identifier: I20090611-1540

I am unable to install GEF 3.5 on Eclipse 3.5 x64 on Windows Vista 64-bit.
I have tried the p2 installation method, dropins folder as well as legacy eclipse extension folders. Nothing works.
This is a MAJOR problem.

I get the following error message:
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Uninstall, operand=[R]org.eclipse.equinox.concurrent 1.0.0.v20090520-1800 --> [R]org.eclipse.equinox.concurrent 1.0.1.R35x_v20100209, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction).

Also the following stack trace:
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:686)
at org.eclipse.equinox.internal.frameworkadmin.equinox.ParserUtils.getValueForArgument(ParserUtils.java:124)
at org.eclipse.equinox.internal.frameworkadmin.equinox.EclipseLauncherParser.getStartup(EclipseLauncherParser.java:224)
at org.eclipse.equinox.internal.frameworkadmin.equinox.EclipseLauncherParser.read(EclipseLauncherParser.java:59)
at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.loadWithoutFwPersistentData(EquinoxManipulatorImpl.java:358)
at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.load(EquinoxManipulatorImpl.java:331)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:50)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.getConfigData(LazyManipulator.java:108)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.uninstallBundle(UninstallBundleAction.java:74)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.execute(UninstallBundleAction.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)


Reproducible: Always

Steps to Reproduce:
1. Run Help->Install New Software
2. Connect to GEF update site: http://download.eclipse.org/tools/gef/updates/
3. Select Draw2D and GEF runtime features and proceed through installation.
Comment 1 Anthony Hunter CLA 2010-04-21 09:49:57 EDT
Have you tried downloading the zip and extracting directly into your install?

I.e. unzip and copy features into the eclipse/features folder and plugins into the eclipse/plugins folder.
Comment 2 icemank CLA 2010-04-21 16:31:15 EDT
Yes, I tried manual installation as well.
I think this might actually be a P2 provisioning bug, rather than a GEF bug.
The error message is spectacularly useless and unhelpful.
Comment 3 Alexander Nyßen CLA 2010-07-26 17:03:39 EDT
Resolving as invalid due to last comment.