You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/07/10 05:31:00 UTC

[jira] [Commented] (KARAF-6175) Adding Cellar as boot feature throw a NPE

    [ https://issues.apache.org/jira/browse/KARAF-6175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17155136#comment-17155136 ] 

ASF GitHub Bot commented on KARAF-6175:
---------------------------------------

jbonofre opened a new pull request #80:
URL: https://github.com/apache/karaf-cellar/pull/80


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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)