You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2013/11/20 09:19:24 UTC

[jira] [Created] (FELIX-4323) [DS] ScrService.getComponents may return a null arrey element

David Jencks created FELIX-4323:
-----------------------------------

             Summary: [DS] ScrService.getComponents may return a null arrey element
                 Key: FELIX-4323
                 URL: https://issues.apache.org/jira/browse/FELIX-4323
             Project: Felix
          Issue Type: Bug
          Components: Declarative Services (SCR)
    Affects Versions: scr-1.8.0
            Reporter: David Jencks
             Fix For: scr-1.8.2


If a bundle is stopped in the middle of calling getComponents, the array from ScrService.getComponents() may include a null element from the single component manager from a holder.  The in ConfigurableComponentHolder can be simplified by making CCH .getComponents(boolean clear) return a complete list including the single component if present, possibly solving other similar issues.



--
This message was sent by Atlassian JIRA
(v6.1#6144)