Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
scr-2.1.30
Description
The following exception occurs while retrieving the component descriptions using ServiceComponentRuntime service. Even though this occurs in v2.1.30, I believe, it is also lurking in v2.2.x.
java.lang.NullPointerException: null at org.apache.felix.scr.impl.runtime.ServiceComponentRuntimeImpl.holderToDescription(holderToDescription:352) at org.apache.felix.scr.impl.runtime.ServiceComponentRuntimeImpl.getComponentConfigurationDTOs(getComponentConfigurationDTOs:132) at com.qivicon.extension.diagnostic.dataproviders.ServiceComponentDataProvider.lambda$null$1(lambda$null$1:51) at java.util.stream.ReferencePipeline$3$1.accept(accept:193) at java.util.stream.SortedOps$SizedRefSortingSink.end(end:357) at java.util.stream.AbstractPipeline.copyInto(copyInto:483) at java.util.stream.AbstractPipeline.wrapAndCopyInto(wrapAndCopyInto:472) at java.util.stream.AbstractPipeline.evaluate(evaluate:546) at java.util.stream.AbstractPipeline.evaluateToArrayNode(evaluateToArrayNode:260) at java.util.stream.ReferencePipeline.toArray(toArray:505) at com.qivicon.extension.diagnostic.dataproviders.ServiceComponentDataProvider.lambda$storeDiagnosticData$3(lambda$storeDiagnosticData$3:54) at java.util.Optional.ifPresent(ifPresent:159) at com.qivicon.extension.diagnostic.dataproviders.ServiceComponentDataProvider.storeDiagnosticData(storeDiagnosticData:42) at com.qivicon.extension.diagnostic.data.impl.CombinedDiagnosticDataManagerImpl.lambda$createDiagnosticDataFiles$0(lambda$createDiagnosticDataFiles$0:277) at com.qivicon.runtime.executors.impl.ScheduledExecutorServiceImpl$NamedCallable.call(call:120) at java.util.concurrent.FutureTask.run(run:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(runWorker:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(run:624) at java.lang.Thread.run(run:750)
Attachments
Issue Links
- links to