Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-6175

Adding Cellar as boot feature throw a NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • cellar-4.2.0
    • cellar
    • None

    Description

      When Cellar is registered as boot feature, a NPE is throw:

      22:12:18.152 WARN [pool-20-thread-4] CELLAR FEATURE: can't add repository
      java.lang.NullPointerException: Null value is not allowed!
             at com.hazelcast.util.Preconditions.checkNotNull(Preconditions.java:59) ~[?:?]
             at com.hazelcast.map.impl.proxy.MapProxyImpl.put(MapProxyImpl.java:133) ~[?:?]
             at com.hazelcast.map.impl.proxy.MapProxyImpl.put(MapProxyImpl.java:127) ~[?:?]
             at org.apache.karaf.cellar.features.FeaturesSynchronizer.push(FeaturesSynchronizer.java:249) [37:org.apache.karaf.cellar.features:4.1.2]
             at org.apache.karaf.cellar.features.FeaturesSynchronizer.sync(FeaturesSynchronizer.java:89) [37:org.apache.karaf.cellar.features:4.1.2]
             at org.apache.karaf.cellar.features.FeaturesSynchronizer.init(FeaturesSynchronizer.java:63) [37:org.apache.karaf.cellar.features:4.1.2]
             at org.apache.karaf.cellar.features.internal.osgi.Activator.doStart(Activator.java:121) [37:org.apache.karaf.cellar.features:4.1.2]
             at org.apache.karaf.util.tracker.BaseActivator.run(BaseActivator.java:242) [37:org.apache.karaf.cellar.features:4.1.2]
             at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
             at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
             at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
             at java.lang.Thread.run(Thread.java:748) [?:?]
      

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: