Details
-
Bug
-
Resolution: Done
-
Blocker
-
jboss-fuse-6.2
-
None
-
%
-
- patch:add file:/path-to-dummy-patch
- patch:install karaf-patch
- patch:rollback karaf-patch
Description
Rollbacking patch from Fuse 6.2 throws exception into the console, but Fuse is still running without a problem.
org.apache.karaf.shell.console[org.apache.karaf.shell.console.jline.Console] : Exception caught while executing command java.lang.NoClassDefFoundError: io/fabric8/patch/impl/Offline at io.fabric8.patch.impl.ServiceImpl.rollback(ServiceImpl.java:344) at io.fabric8.patch.impl.PatchImpl.rollback(PatchImpl.java:92) at io.fabric8.patch.commands.RollbackAction.doExecute(RollbackAction.java:43) at io.fabric8.patch.commands.PatchActionSupport.doExecute(PatchActionSupport.java:34) at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33) at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35) at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78) at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477) at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403) at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120) at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92) at org.apache.karaf.shell.console.jline.Console.run(Console.java:195) at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79) Caused by: java.lang.ClassNotFoundException: Unable to load class 'io.fabric8.patch.impl.Offline' because the bundle wiring for io.fabric8.patch.patch-core is no longer valid. at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1521) at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 15 more Exception in thread "Karaf Shell Console Thread" java.lang.NoClassDefFoundError: org/fusesource/jansi/Ansi$Color at org.apache.karaf.shell.console.jline.Console.logException(Console.java:252) at org.apache.karaf.shell.console.jline.Console.run(Console.java:211) at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79) Caused by: java.lang.ClassNotFoundException: Unable to load class 'org.fusesource.jansi.Ansi$Color' because the bundle wiring for org.apache.karaf.shell.console is no longer valid. at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1521) at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 3 more
Attachments
Issue Links
- is related to
-
ENTESB-3146 patch:rollback commands rollback the patch but doesn't change its status to not-installed
- Closed