UpdateManager is not updating itself, but fails with an exception

Hi,

I am using wM Suite 9.5 which contains an UpdateManager 8.2.1.

The UpdateManager 8.2.1 has updated it self to Fix65, but fails when trying to update to Fix66 with an Exception:


2015-04-21 17:05:45.531 MESZ: An error occurred while uninstalling
2015-04-21 17:05:45.532 MESZ: session context was:(profile=self, phase=org.eclip
se.equinox.internal.p2.engine.phases.Uninstall, operand=[R]com.softwareag.fixins
tall.bpms 8.2.1.0065-2193 --> [R]com.softwareag.fixinstall.bpms 8.2.1.0066-2209,
 action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBund
leAction).
2015-04-21 17:05:45.532 MESZ: Could not acquire the framework manipulator servic
e.
java.lang.IllegalStateException: Could not acquire the framework manipulator ser
vice.
        at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.lo
adDelegate(LazyManipulator.java:44)
        at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.ge
tConfigData(LazyManipulator.java:107)
        at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallB
undleAction.uninstallBundle(UninstallBundleAction.java:78)
        at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallB
undleAction.execute(UninstallBundleAction.java:32)
        at org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningActio
n.execute(ParameterizedProvisioningAction.java:35)
        at org.eclipse.equinox.internal.p2.engine.Phase.mainPerform(Phase.java:1
49)
        at org.eclipse.equinox.internal.p2.engine.Phase.perform(Phase.java:78)
        at org.eclipse.equinox.internal.p2.engine.PhaseSet.perform(PhaseSet.java
:44)
        at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:73)

        at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:44)

        at com.softwareag.fixinstall.core.SelfUpdateSession.updateSelfProfile(Se
lfUpdateSession.java:196)
        at com.softwareag.fixinstall.app.AbstractFixApplication.updateSUM(Abstra
ctFixApplication.java:2083)
        at com.softwareag.fixinstall.guiinstaller.UserInputPage.performAppOperat
ions(UserInputPage.java:1514)
        at com.softwareag.fixinstall.guiinstaller.UserInputPage.access$14(UserIn
putPage.java:1460)
        at com.softwareag.fixinstall.guiinstaller.UserInputPage$20.doInBackgroun
d(UserInputPage.java:1412)
        at com.softwareag.fixinstall.guiinstaller.UserInputPage$20.doInBackgroun
d(UserInputPage.java:1)
        at javax.swing.SwingWorker$1.call(SwingWorker.java:296)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at javax.swing.SwingWorker.run(SwingWorker.java:335)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:615)
        at java.lang.Thread.run(Thread.java:724)

As there are some Fixes, which require Fix66 for their installation, there should be a solution for this.

Any Ideas whats going wrong and how to solve it?

Regards,
Holger

I have openend an Incident at SAG for this.

I will keep this thread updated with the outcome.

Regards,
Holger

Hi Holger,

I’m facing the same issue now. I’m using webM suite 10.3. Please post here if you get response from SAG.

Error: session context was:(profile=self, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]com.softwareag.fixinstall.bpms 10.0.0.0062-4911 → [R]com.softwareag.fixinstall.bpms 10.0.0.0069-5173, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction).
2019/11/27 23:46:02.525 EST: Error while loading manipulator.
java.lang.IllegalStateException: Error while loading manipulator.
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:59)
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:32)
at org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:38)
at org.eclipse.equinox.internal.p2.engine.Phase.mainPerform(Phase.java:183)
at org.eclipse.equinox.internal.p2.engine.Phase.perform(Phase.java:95)
at org.eclipse.equinox.internal.p2.engine.PhaseSet.perform(PhaseSet.java:47)
at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:75)
at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:44)
at com.softwareag.fixinstall.core.SelfUpdateSession.updateSelfProfile(SelfUpdateSession.java:184)
at com.softwareag.fixinstall.app.AbstractFixApplication.updateSUM(AbstractFixApplication.java:1772)
at com.softwareag.fixinstall.cmdlineinstaller.pages.InputPage.performAppOperations(InputPage.java:553)
at com.softwareag.fixinstall.cmdlineinstaller.pages.InputPage.validate(InputPage.java:418)
at com.softwareag.fixinstall.cmdlineinstaller.pages.AbstractFixPage.render(AbstractFixPage.java:99)
at com.softwareag.fixinstall.cmdlineinstaller.pages.InputPage.render(InputPage.java:696)
at com.softwareag.fixinstall.cmdlineinstaller.CmdLineWizard.perform(CmdLineWizard.java:119)
at com.softwareag.fixinstall.cmdlineinstaller.CmdLineApp.start1(CmdLineApp.java:45)
at com.softwareag.fixinstall.cmdlineinstaller.Application.start(Application.java:30)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at com.softwareag.fixinstall.bootstrap.BootstrapClass.main(BootstrapClass.java:71)
An error occurred while uninstalling
An error occurred while uninstalling

Thanks,
Shreyas

Answer:
Set selfUpdateMode=PROMPT in sum.cnf to prevent SUM from trying to update itself if there’s no connection to the internet.