karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-6175) Adding Cellar as boot feature throw a NPE
Date Fri, 10 Jul 2020 07:37:00 GMT

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

ASF subversion and git services commented on KARAF-6175:
--------------------------------------------------------

Commit b53bf6aaf1df36aa6bf7598aa065502d8765adbf in karaf-cellar's branch refs/heads/master
from jbonofre
[ https://gitbox.apache.org/repos/asf?p=karaf-cellar.git;h=b53bf6a ]

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

Mime
View raw message