Bug 279205 - Target Platform Edit UpdateSite Content : Error while loading manipulator
Target Platform Edit UpdateSite Content : Error while loading manipulator
Status: NEW
Product: Equinox
Classification: RT
Component: p2
3.5
Macintosh Mac OS X
: P3 major with 1 vote (vote)
: ---
Assigned To: P2 Inbox CLA Friend
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2009-06-05 03:00 EDT by ekkehard gentz CLA Friend
Modified: 2009-07-28 00:51 EDT (History)
2 users (show)

See Also:


Attachments
no configuration folder at fwConfigLocation (14.26 KB, image/png)
2009-06-06 02:20 EDT, ekkehard gentz CLA Friend
no flags Details
also no configuration folder at fwPersistentDataLocation (8.29 KB, image/png)
2009-06-06 02:21 EDT, ekkehard gentz CLA Friend
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description ekkehard gentz CLA Friend 2009-06-05 03:00:06 EDT
some weeks I worked successfully using Target Platform with UpdateSites
today I wanted to edit and add something to my selection
after finishing this I get an error:

Error while loading manipulator (Stacktrace below)

I can cancel and work using the actual TP,
but also after restarting eclipse and trying ti edit the content of this update site it fails

WHAT TO DO ?
install eclipse new ? or is there something to "reset"

-----------------------------------------------

java.lang.IllegalStateException: !fwConfigLocation.equals(fwPersistentDataLocation)
!fwConfigLocation=/daten/Dev/_work/w35osgi_rcp/.metadata/.plugins/org.eclipse.pde.core/.install_folders/1244096355379/configuration
,fwPersistentDataLocation=/daten/Dev/_work/w35osgi_rcp/.metadata/.plugins/org.eclipse.pde.core/.install_folders/1244096355379/Eclipse.app/Contents/MacOS/configuration
at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.checkConsistencyOfFwConfigLocAndFwPersistentDataLoc(EquinoxManipulatorImpl.java:65)
at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.loadWithoutFwPersistentData(EquinoxManipulatorImpl.java:360)
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.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.pde.internal.core.target.IUBundleContainer.resolveWithPlanner(IUBundleContainer.java:250)
at org.eclipse.pde.internal.core.target.IUBundleContainer.resolveBundles(IUBundleContainer.java:173)
at org.eclipse.pde.internal.core.target.AbstractBundleContainer.resolve(AbstractBundleContainer.java:106)
at org.eclipse.pde.internal.core.target.TargetDefinition.resolve(TargetDefinition.java:204)
at org.eclipse.pde.internal.ui.wizards.target.TargetDefinitionContentPage$3.run(TargetDefinitionContentPage.java:205)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Comment 1 ekkehard gentz CLA Friend 2009-06-06 02:20:03 EDT
Created attachment 138466 [details]
no configuration folder at fwConfigLocation
Comment 2 ekkehard gentz CLA Friend 2009-06-06 02:21:04 EDT
Created attachment 138467 [details]
also no configuration folder at fwPersistentDataLocation
Comment 3 ekkehard gentz CLA Friend 2009-06-06 02:22:57 EDT
did some more testing looking at the pathes of the two ConfigLocations from error message
but at both locaions there's no configuration folder see screenshots

so I really have no idea how to repair this without a complete new eclipse installation
Comment 4 ekkehard gentz CLA Friend 2009-06-06 02:24:44 EDT
see also discussion in bug 279205
Comment 5 ekkehard gentz CLA Friend 2009-06-06 03:20:36 EDT
just made some more tests and now it works again
suddenly there's a new folder under
.pde.core/.install_folders

the old one from stacktrace and I just before looked at is done

what have I done:
tried again to edit the TargetPlatform:
this time I unchecked "include required software"
did some changes and this works :-)
because my TP now was missing some plug-ins I again edited an 
rechecked "include required software"

and again: it works

now I was looking at the 
.pde.core/.install_folders
again and the old one causing stacktrace was gone
and a now one with different name was created and seems to work

from this experience my final questions:

* causes changing the "include required software" checkbox the creation of new pde.core installation folder ?
* or can I simply - if running in errors like above reported delete such a folder from .pde.core/.install_folders ?

thx

ekke
Comment 6 Vinay CLA Friend 2009-07-28 00:51:08 EDT
I have a product created using eclipse p2 infrastructure. I am getting similar issue when I do an update in Mac, after I upgraded my product from 3.4.1 to 3.5. Here is the error log...

!ENTRY org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2009-07-24 12:30:34.102
!MESSAGE Error while loading manipulator.
!STACK 0
java.lang.IllegalStateException: !fwConfigLocation.equals(fwPersistentDataLocation)
     !fwConfigLocation=/Users/ Admin / Downloads /twist 2/configuration
     ,fwPersistentDataLocation=/Users/ Admin / Downloads /twist 2/Twist.app/Contents/MacOS/configuration
     at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.checkConsistencyOfFwConfigLocAndFwPersistentDataLoc(EquinoxManipulatorImpl.java:65)
     at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.loadWithoutFwPersistentData(EquinoxManipulatorImpl.java:360)
     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.SetProgramPropertyAction.execute(SetProgramPropertyAction.java:42)
     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)