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

Console does not show underlying exception/message when a bundle can not be installed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.fuse-037
    • fuse-esb-7.0.0
    • None
    • None
    • % %

      When trying to install one of the FAB examples, I bumped into this:

      FuseESB:karaf@root> osgi:install -s fab:mvn:org.fusesource.fabric.fab.tests/fab-sample-camel-blueprint-share/7.0-SNAPSHOT
      Bundle IDs: 
      Error executing command: Error installing bundles:
      	Unable to install bundle fab:mvn:org.fusesource.fabric.fab.tests/fab-sample-camel-blueprint-share/7.0-SNAPSHOT
      

      In the log, there was a similarly vague message:

      2012-02-23 11:47:16,739 | INFO  | l Console Thread | Console                          | ?                                   ? | 14 - org.apache.karaf.shell.console - 2.2.5.fuse-SNAPSHOT | Exception caught while executing command
      org.apache.karaf.shell.console.MultiException: Error installing bundles:
      	Unable to install bundle fab:mvn:org.fusesource.fabric.fab.tests/fab-sample-camel-blueprint-share/7.0-SNAPSHOT
      	at org.apache.karaf.shell.console.MultiException.throwIf(MultiException.java:87)
      	at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:70)[34:org.apache.karaf.shell.osgi:2.2.5.fuse-SNAPSHOT]
      	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[14:org.apache.karaf.shell.console:2.2.5.fuse-SNAPSHOT]
      	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[14:org.apache.karaf.shell.console:2.2.5.fuse-SNAPSHOT]
      	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[14:org.apache.karaf.shell.console:2.2.5.fuse-SNAPSHOT]
      	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[14:org.apache.karaf.shell.console:2.2.5.fuse-SNAPSHOT]
      	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[14:org.apache.karaf.shell.console:2.2.5.fuse-SNAPSHOT]
      	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[14:org.apache.karaf.shell.console:2.2.5.fuse-SNAPSHOT]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[14:org.apache.karaf.shell.console:2.2.5.fuse-SNAPSHOT]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[14:org.apache.karaf.shell.console:2.2.5.fuse-SNAPSHOT]
      	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[14:org.apache.karaf.shell.console:2.2.5.fuse-SNAPSHOT]
      	at org.apache.karaf.shell.console.jline.Console.run(Console.java:225)[14:org.apache.karaf.shell.console:2.2.5.fuse-SNAPSHOT]
      	at java.lang.Thread.run(Thread.java:680)[:1.6.0_29]
      

      The underlying cause in fact was "Download cycle detected: [fab:mvn:org.fusesource.fabric.fab.tests/fab-sample-camel-blueprint-share/7.0-SNAPSHOT]", but that message was not shown on the console or in the log.

            g_nodet Guillaume Nodet (Inactive)
            gertv_jira Gert Vanthienen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: