felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-5202) [DS] ServiceComponentRuntimeImpl NPE with subsystems/regions
Date Mon, 29 Feb 2016 19:01:18 GMT

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

David Jencks resolved FELIX-5202.
---------------------------------
    Resolution: Fixed

r1732934 fixes problem
r1732935 reformats Activator class using template.

> [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)

Mime
View raw message