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] [Created] (FELIX-4323) [DS] ScrService.getComponents may return a null arrey element
Date Wed, 20 Nov 2013 08:19:24 GMT
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

View raw message