Details
Description
In some rare cases, HTTP proxy service can throw NullPointerException when the configurationadmin service is not there (refreshing for instance):
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]