[
https://issues.apache.org/jira/browse/KARAF-6175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17155239#comment-17155239
]
ASF subversion and git services commented on KARAF-6175:
--------------------------------------------------------
Commit 19d3f6a49b25f44934b58f2eeb3dd89bc1b241cc in karaf-cellar's branch
refs/heads/master from Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=karaf-cellar.git;h=19d3f6a ]
Merge pull request #80 from jbonofre/KARAF-6175
[KARAF-6175] Avoid NPE when pushing features repository to the cluster
> 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é
> Priority: Major
> Fix For: cellar-4.2.0
>
>
> 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
(v8.3.4#803005)