[ https://issues.apache.org/jira/browse/FELIX-6564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré reassigned FELIX-6564: ------------------------------------------- Assignee: Jean-Baptiste Onofré > NPE while retrieving component descriptions from SCR > ---------------------------------------------------- > > Key: FELIX-6564 > URL: https://issues.apache.org/jira/browse/FELIX-6564 > Project: Felix > Issue Type: Bug > Components: Declarative Services (SCR) > Affects Versions: scr-2.1.30 > Reporter: Amit Mondal > Assignee: Jean-Baptiste Onofré > Priority: Major > Labels: pull-request-available > > 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*{_}. > {code:java} > 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) {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)