[ 
https://issues.apache.org/jira/browse/FELIX-6206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler closed FELIX-6206.
-----------------------------------

> NPE in ComponentRegistry.getComponentHolders()
> ----------------------------------------------
>
>                 Key: FELIX-6206
>                 URL: https://issues.apache.org/jira/browse/FELIX-6206
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-2.1.14
>            Reporter: Robert Varga
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: scr-2.1.18
>
>         Attachments: 
> 0001-FELIX-6202-ignore-component-name-reservations-in-Com.patch
>
>
> We encountered the following splat in OpenDaylight:
> {code:java}
> java.lang.NullPointerException: null
>       at 
> org.apache.felix.scr.impl.ComponentRegistry.getComponentHolders(ComponentRegistry.java:360)
>  ~[?:?]
>       at 
> org.apache.felix.scr.impl.runtime.ServiceComponentRuntimeImpl.getComponentDescriptionDTOs(ServiceComponentRuntimeImpl.java:76)
>  ~[?:?]
>       at 
> org.apache.karaf.scr.state.ScrBundleStateService.getDiag(ScrBundleStateService.java:43)
>  ~[?:?]
>       at 
> org.apache.karaf.bundle.core.internal.BundleServiceImpl.getDiag(BundleServiceImpl.java:112)
>  ~[?:?]
>       at Proxy3fe0a7aa_4f02_41e1_846b_e34ff5062233.getDiag(Unknown Source) 
> ~[?:?]
>       at 
> org.opendaylight.odlparent.bundlestest.lib.BundleDiagInfosImpl.forContext(BundleDiagInfosImpl.java:90)
>  ~[?:?]
>       at 
> org.opendaylight.odlparent.bundlestest.lib.TestBundleDiag.getBundleDiagInfos(TestBundleDiag.java:118)
>  ~[?:?]
>       at 
> org.awaitility.core.AbstractHamcrestCondition$1.eval(AbstractHamcrestCondition.java:50)
>  ~[?:?]
>       at 
> org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:190)
>  ~[?:?]
>       at 
> org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:177)
>  ~[?:?]
>       at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>  ~[?:?]
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>  ~[?:?]
>       at java.lang.Thread.run(Thread.java:834) [?:?]{code}



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

Reply via email to