java.lang.NullPointerException

aries-user | Moacir Cardoso | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.apache.aries.jpa.container.impl.PersistenceBundleManager$ProviderServiceComparator.compare()
  2. org.apache.aries
    PersistenceBundleManager$ProviderServiceComparator.compare
    1. org.apache.aries.jpa.container.impl.PersistenceBundleManager$ProviderServiceComparator.compare(PersistenceBundleManager.java:575)[308:org.apache.aries.jpa.container:0.3.0]
    2. org.apache.aries.jpa.container.impl.PersistenceBundleManager$ProviderServiceComparator.compare(PersistenceBundleManager.java:572)[308:org.apache.aries.jpa.container:0.3.0]
    2 frames
  3. Java RT
    Collections.max
    1. java.util.Collections.max(Collections.java:681)[:1.6.0_25]
    1 frame
  4. org.apache.aries
    PersistenceBundleManager.addingBundle
    1. org.apache.aries.jpa.container.impl.PersistenceBundleManager.getBestProvider(PersistenceBundleManager.java:554)[308:org.apache.aries.jpa.container:0.3.0]
    2. org.apache.aries.jpa.container.impl.PersistenceBundleManager.getProviderServiceReference(PersistenceBundleManager.java:460)[308:org.apache.aries.jpa.container:0.3.0]
    3. org.apache.aries.jpa.container.impl.PersistenceBundleManager.setupManager(PersistenceBundleManager.java:360)[308:org.apache.aries.jpa.container:0.3.0]
    4. org.apache.aries.jpa.container.impl.PersistenceBundleManager.addingBundle(PersistenceBundleManager.java:148)[308:org.apache.aries.jpa.container:0.3.0]
    4 frames
  5. OSGi
    BundleTracker$Tracked.bundleChanged
    1. org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:440)[karaf.jar:2.2.0-fuse-00-61]
    2. org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)[karaf.jar:2.2.0-fuse-00-61]
    3. org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:233)[karaf.jar:2.2.0-fuse-00-61]
    4. org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:413)[karaf.jar:2.2.0-fuse-00-61]
    4 frames
  6. Apache Felix Framework
    BundleContextImpl.installBundle
    1. org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:795)[org.apache.felix.framework-3.0.9-fuse-00-61.jar:]
    2. org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:717)[org.apache.felix.framework-3.0.9-fuse-00-61.jar:]
    3. org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:597)[org.apache.felix.framework-3.0.9-fuse-00-61.jar:]
    4. org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3770)[org.apache.felix.framework-3.0.9-fuse-00-61.jar:]
    5. org.apache.felix.framework.Felix.installBundle(Felix.java:2656)[org.apache.felix.framework-3.0.9-fuse-00-61.jar:]
    6. org.apache.felix.framework.Felix.installBundle(Felix.java:2452)[org.apache.felix.framework-3.0.9-fuse-00-61.jar:]
    7. org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:129)[org.apache.felix.framework-3.0.9-fuse-00-61.jar:]
    7 frames
  7. org.apache.karaf
    InstallBundle.doExecute
    1. org.apache.karaf.shell.osgi.InstallBundle.install(InstallBundle.java:67)[14:org.apache.karaf.shell.osgi:2.2.0.fuse-00-61]
    2. org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:43)[14:org.apache.karaf.shell.osgi:2.2.0.fuse-00-61]
    2 frames
  8. Apache Karaf :: Shell :: Console
    AbstractCommand.execute
    1. org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[19:org.apache.karaf.shell.console:2.2.0.fuse-00-61]
    2. org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[19:org.apache.karaf.shell.console:2.2.0.fuse-00-61]
    2 frames
  9. Apache Felix Gogo Runtime
    CommandSessionImpl.execute
    1. org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[19:org.apache.karaf.shell.console:2.2.0.fuse-00-61]
    2. org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[19:org.apache.karaf.shell.console:2.2.0.fuse-00-61]
    3. org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[19:org.apache.karaf.shell.console:2.2.0.fuse-00-61]
    4. org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[19:org.apache.karaf.shell.console:2.2.0.fuse-00-61]
    5. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[19:org.apache.karaf.shell.console:2.2.0.fuse-00-61]
    6. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[19:org.apache.karaf.shell.console:2.2.0.fuse-00-61]
    7. org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[19:org.apache.karaf.shell.console:2.2.0.fuse-00-61]
    7 frames
  10. Apache Karaf :: Shell :: Console
    Console.run
    1. org.apache.karaf.shell.console.jline.Console.run(Console.java:240)[19:org.apache.karaf.shell.console:2.2.0.fuse-00-61]
    1 frame
  11. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)[:1.6.0_25]
    1 frame