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

Georg Henzler commented on FELIX-6072:
--------------------------------------

[~rakeshk15] I'll call for a release for this as soon as possible, but there 
are potentially some other changes. In general from what I've seen, the 
exception is not nice but should not have any impact on the functionality.  

> prevent NullPointerException in Healthcheck ScriptEnginesTracker
> ----------------------------------------------------------------
>
>                 Key: FELIX-6072
>                 URL: https://issues.apache.org/jira/browse/FELIX-6072
>             Project: Felix
>          Issue Type: Bug
>          Components: Health Checks
>    Affects Versions: healthcheck.generalchecks 2.0.0
>         Environment: openjdk11
> fedora 29
>            Reporter: Stefan Bischof
>            Assignee: Georg Henzler
>            Priority: Major
>             Fix For: healthcheck.generalchecks 2.0.2
>
>
> While any manipulation of configuration.json i got an NPE
>  
> {code:java}
> ERROR: Bundle org.apache.felix.healthcheck.generalchecks [41] 
> EventDispatcher: Error during dispatch. (java.lang.NullPointerException)
> java.lang.NullPointerException
>     at 
> org.apache.felix.hc.generalchecks.util.ScriptEnginesTracker.unregisterFactories(ScriptEnginesTracker.java:113)
>     at 
> org.apache.felix.hc.generalchecks.util.ScriptEnginesTracker.bundleChanged(ScriptEnginesTracker.java:89)
>     at 
> org.apache.felix.framework.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:915)
>     at 
> org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:834)
>     at 
> org.apache.felix.framework.EventDispatcher.run(EventDispatcher.java:1147)
>     at 
> org.apache.felix.framework.EventDispatcher.access$000(EventDispatcher.java:54)
>     at 
> org.apache.felix.framework.EventDispatcher$1.run(EventDispatcher.java:102)
>     at java.base/java.lang.Thread.run(Thread.java:834)
> {code}



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

Reply via email to