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/12/14 07:07:00 UTC

[jira] [Commented] (KARAF-6949) HTTP proxy service can throw NullPointerException

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

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

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


   


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


> HTTP proxy service can throw NullPointerException
> -------------------------------------------------
>
>                 Key: KARAF-6949
>                 URL: https://issues.apache.org/jira/browse/KARAF-6949
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.3.0, 4.2.9
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>
> In some rare cases, HTTP proxy service can throw NullPointerException when the configurationadmin service is not there (refreshing for instance):
> {code:java}
> 2020-12-02T11:20:40,793 | ERROR | activator-1-thread-2 | ProxyServiceImpl                 | 85 - org.apache.karaf.http.core - 4.3.1.SNAPSHOT | Can't load proxies
> java.lang.NullPointerException: null 
>   at org.apache.felix.cm.impl.ConfigurationAdapter.getProcessedProperties(ConfigurationAdapter.java:293) ~[?:?]
>   at org.apache.karaf.http.core.internal.ProxyServiceImpl.<init>(ProxyServiceImpl.java:52) [!/:?]
>   at org.apache.karaf.http.core.internal.osgi.Activator.doStart(Activator.java:97) [!/:?]
>   at org.apache.karaf.util.tracker.BaseActivator.run(BaseActivator.java:312) [!/:?]
>   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_271]
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_271]
>   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_271]
>   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_271]
>   at java.lang.Thread.run(Thread.java:748) [?:1.8.0_271] {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)