Jean-Baptiste Onofré created KARAF-6175:
-------------------------------------------

             Summary: Adding Cellar as boot feature throw a NPE
                 Key: KARAF-6175
                 URL: https://issues.apache.org/jira/browse/KARAF-6175
             Project: Karaf
          Issue Type: Bug
          Components: cellar
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré


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

{code}
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) [?:?]
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to