Issue during the installation of Rollup patch 5
Issue
The patching of the patch mechanism failed from version 6.2.1-090 to 6.2.1-169, following steps defined here.
Running the step number 5 under Patching the patch mechanism, we got the following error in the console:
JBossFuse:admin@root> features:install patch-core patch
Error executing command: Could not start bundle mvn:io.fabric8.patch/patch-management/1.2.0.redhat-621169 in feature(s) patch-core-1.2.0.redhat-621169: Activator start error in bundle io.fabric8.patch.patch-management [1088].
Below the stacktrace in the logs:
ERROR | Thread-139 | Console | 38 - org.apache.karaf.shell.console - 2.4.0.redhat-621090 | Exception caught while executing command
java.lang.Exception: Could not start bundle mvn:io.fabric8.patch/patch-management/1.2.0.redhat-621169 in feature(s) patch-core-1.2.0.redhat-621169: Activator start error in bundle io.fabric8.patch.patch-management [1086].
at org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeatures(FeaturesServiceImpl.java:550)[10:org.apache.karaf.features.core:2.4.0.redhat-621090]
at org.apache.karaf.features.internal.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:432)[10:org.apache.karaf.features.core:2.4.0.redhat-621090]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_91]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_91]
Caused by: org.osgi.framework.BundleException: Activator start error in bundle io.fabric8.patch.patch-management [1086].
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2204)[org.apache.felix.framework-4.4.1.jar:]
at org.apache.felix.framework.Felix.startBundle(Felix.java:2072)[org.apache.felix.framework-4.4.1.jar:]
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976)[org.apache.felix.framework-4.4.1.jar:]
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963)[org.apache.felix.framework-4.4.1.jar:]
at org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeatures(FeaturesServiceImpl.java:546)[10:org.apache.karaf.features.core:2.4.0.redhat-621090]
... 5 more
Caused by: java.lang.NoSuchMethodError: java.lang.Exception: method <init>(Ljava/lang/String;Ljava/lang/Throwable;ZZ)V not found
at java.lang.RuntimeException.<init>(RuntimeException.java:117)[:1.8.0_91]
at org.eclipse.jgit.errors.StopWalkException.<init>(StopWalkException.java:59)
at org.eclipse.jgit.errors.StopWalkException.<clinit>(StopWalkException.java:56)
at org.eclipse.jgit.revwalk.PendingGenerator.next(PendingGenerator.java:164)
at org.eclipse.jgit.revwalk.TopoSortGenerator.<init>(TopoSortGenerator.java:78)
at org.eclipse.jgit.revwalk.StartGenerator.next(StartGenerator.java:166)
at org.eclipse.jgit.revwalk.RevWalk.next(RevWalk.java:435)
at org.eclipse.jgit.revwalk.ObjectWalk.next(ObjectWalk.java:293)
at org.eclipse.jgit.internal.storage.pack.PackWriter.findObjectsToPack(PackWriter.java:1723)
at org.eclipse.jgit.internal.storage.pack.PackWriter.preparePack(PackWriter.java:759)
at org.eclipse.jgit.internal.storage.pack.PackWriter.preparePack(PackWriter.java:722)
at org.eclipse.jgit.transport.BasePackPushConnection.writePack(BasePackPushConnection.java:305)
at org.eclipse.jgit.transport.BasePackPushConnection.doPush(BasePackPushConnection.java:198)
at org.eclipse.jgit.transport.BasePackPushConnection.push(BasePackPushConnection.java:153)
at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:166)
at org.eclipse.jgit.transport.Transport.push(Transport.java:1200)
at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:157)
at io.fabric8.patch.management.impl.GitPatchRepositoryImpl.push(GitPatchRepositoryImpl.java:352)
at io.fabric8.patch.management.impl.GitPatchRepositoryImpl.push(GitPatchRepositoryImpl.java:347)
at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.applyUserChanges(GitPatchManagementServiceImpl.java:2674)
at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.ensurePatchManagementInitialized(GitPatchManagementServiceImpl.java:1844)
at io.fabric8.patch.management.impl.Activator.start(Activator.java:112)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2154)
... 9 more
Environment
- Red Hat JBoss Fuse
- 6.2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.