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

NPE in Felix - getResourcesLocal

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • M1
    • fuse-esb-7.0.1
    • None
    • None
    • % %

    Description

      I started the new 070 fuse esb full release.
      I created fabric using

      fabric:create --clean

      And then quickly issued a list command

      Then I got a NPE on the console

      iERROR: Bundle org.apache.servicemix.specs.activation-api-1.1 [134] EventDispatcher: Error during dispatch. (java.lang.NullPointerException)
      java.lang.NullPointerException
      	at org.apache.felix.framework.BundleRevisionImpl.getResourcesLocal(BundleRevisionImpl.java:549)
      	at org.apache.felix.framework.BundleWiringImpl.findResourcesByDelegation(BundleWiringImpl.java:1134)
      	at org.apache.felix.framework.BundleWiringImpl.getResourcesByDelegation(BundleWiringImpl.java:1044)
      	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoaderJava5.getResources(BundleWiringImpl.java:1785)
      	at javax.activation.MailcapCommandMap.<init>(MailcapCommandMap.java:71)
      	at org.apache.servicemix.specs.activation.OsgiMailcapCommandMap.<init>(OsgiMailcapCommandMap.java:33)
      	at org.apache.servicemix.specs.activation.Activator.rebuildCommandMap(Activator.java:86)
      	at org.apache.servicemix.specs.activation.Activator.register(Activator.java:72)
      	at org.apache.servicemix.specs.locator.Activator.bundleChanged(Activator.java:88)
      	at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:870)
      	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:791)
      	at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:515)
      	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4426)
      	at org.apache.felix.framework.StatefulResolver.fireResolvedEvents(StatefulResolver.java:786)
      	at org.apache.felix.framework.StatefulResolver.resolve(StatefulResolver.java:203)
      	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4001)
      	at org.apache.felix.framework.Felix.startBundle(Felix.java:1892)
      	at org.apache.felix.framework.Felix$RefreshHelper.restart(Felix.java:4936)
      	at org.apache.felix.framework.Felix.refreshPackages(Felix.java:4151)
      	at org.apache.felix.framework.FrameworkWiringImpl.run(FrameworkWiringImpl.java:172)
      	at java.lang.Thread.run(Thread.java:680)
      st______                   _____  _____ ______ 
      |  ___|                 |  ___|/  ___|| ___ \
      | |_  _   _  ___   ___  | |__  \ `--. | |_/ /
      |  _|| | | |/ __| / _ \ |  __|  `--. \| ___ \
      | |  | |_| |\__ \|  __/ | |___ /\__/ /| |_/ /
      \_|   \__,_||___/ \___| \____/ \____/ \____/
      
        Fuse ESB (7.0.1.fuse-070)
        http://fusesource.com/products/fuse-esb-enterprise/
      
      Hit '<tab>' for a list of available commands
      and '[cmd] --help' for help on a specific command.
      Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Fuse ESB.
      
      FuseESB:karaf@root> st[org.fusesource.fabric.agent.DeploymentAgent] : Unable to set provisioning result
      

      I cannot find any exception in the fuseesb.log file.

      Maybe hard to reproduce, but maybe the NPE in the stacktrace can track something down to be improved/fixed.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cibsen@redhat.com Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: