Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5118

Invalid BundleContext when installing patch feature to admin:created container

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.3
    • jboss-fuse-6.3
    • Patching
    • None
    • % %
    • Hide

      1. start JBoss Fuse 6.3.0.redhat-026
      2. features:install admin, admin:create test, admin:start test admin:connect test
      3. in test CLI: features:addurl mvn:io.fabric8.patch/patch-features/1.2.0.redhat-630026/xml/features
      4. in test CLI: features:install patch
      5. see the error in log

      Show
      1. start JBoss Fuse 6.3.0.redhat-026 2. features:install admin, admin:create test, admin:start test admin:connect test 3. in test CLI: features:addurl mvn:io.fabric8.patch/patch-features/1.2.0.redhat-630026/xml/features 4. in test CLI: features:install patch 5. see the error in log

      When installing patch feature in admin:created container, I get this ERROR in Fuse 6.3.0.redhat-026:

      2016-03-09 03:56:22,341 | ERROR | Thread-19        | Console                          | 18 - org.apache.karaf.shell.console - 2.4.0.redhat-630026 | Exception caught while executing command
      java.lang.IllegalStateException: Invalid BundleContext.
      	at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:514)
      	at org.apache.felix.framework.BundleContextImpl.ungetService(BundleContextImpl.java:473)
      	at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:44)
      	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)
      	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_31]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_31]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_31]
      	at java.lang.reflect.Method.invoke(Method.java:483)[:1.8.0_31]
      	at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
      	at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
      	at org.apache.karaf.shell.console.commands.$BlueprintCommand1191067388.execute(Unknown Source)[18:org.apache.karaf.shell.console:2.4.0.redhat-630026]
      	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[18:org.apache.karaf.shell.console:2.4.0.redhat-630026]
      	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[18:org.apache.karaf.shell.console:2.4.0.redhat-630026]
      	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[18:org.apache.karaf.shell.console:2.4.0.redhat-630026]
      	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[18:org.apache.karaf.shell.console:2.4.0.redhat-630026]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[18:org.apache.karaf.shell.console:2.4.0.redhat-630026]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[18:org.apache.karaf.shell.console:2.4.0.redhat-630026]
      	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)
      	at org.apache.karaf.shell.console.jline.Console.run(Console.java:197)
      	at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.runConsole(ShellFactoryImpl.java:173)[32:org.apache.karaf.shell.ssh:2.4.0.redhat-630026]
      	at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:125)
      	at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_31]
      	at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:47)[17:org.apache.karaf.jaas.modules:2.4.0.redhat-630026]
      	at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.run(ShellFactoryImpl.java:123)[32:org.apache.karaf.shell.ssh:2.4.0.redhat-630026]
      
      

              ggrzybek Grzegorz Grzybek
              tplevko@redhat.com Tomas Plevko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: