David Jencks created FELIX-5202: ----------------------------------- Summary: [DS] ServiceComponentRuntimeImpl NPE with subsystems/regions Key: FELIX-5202 URL: https://issues.apache.org/jira/browse/FELIX-5202 Project: Felix Issue Type: Bug Components: Declarative Services (SCR) Affects Versions: scr-2.0.2 Reporter: David Jencks Assignee: David Jencks Fix For: scr-2.0.4
Although the global extender property set to true lets felix ds properly manage DS components in isolated bundles/regions, the SCRImpl doesn't get the right bundle to look up other bundles in this case, so you get an NPE like java.lang.NullPointerException at org.apache.felix.scr.impl.ComponentRegistryKey.<init>(ComponentRegistryKey.java:41) at org.apache.felix.scr.impl.ComponentRegistry.getComponentHolder(ComponentRegistry.java:283) at org.apache.felix.scr.impl.runtime.ServiceComponentRuntimeImpl.getHolderFromDescription(ServiceComponentRuntimeImpl.java:233) at org.apache.felix.scr.impl.runtime.ServiceComponentRuntimeImpl.getComponentConfigurationDTOs(ServiceComponentRuntimeImpl.java:103) at org.apache.felix.scr.impl.ScrCommand.list(ScrCommand.java:263) -- This message was sent by Atlassian JIRA (v6.3.4#6332)