You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Florent BENOIT (JIRA)" <ji...@apache.org> on 2013/02/12 13:37:12 UTC

[jira] [Created] (FELIX-3896) Null reference are injected with @Bind(optional=false) method on IPOJO components

Florent BENOIT created FELIX-3896:
-------------------------------------

             Summary: Null reference are injected with @Bind(optional=false) method on IPOJO components
                 Key: FELIX-3896
                 URL: https://issues.apache.org/jira/browse/FELIX-3896
             Project: Felix
          Issue Type: Bug
          Components: iPOJO
    Affects Versions: ipojo-runtime-1.8.6
            Reporter: Florent BENOIT
         Attachments: ipojobug.tgz

There are two components in the attached sample

One constructor is failing
This results in providing "null" reference to the other component which is requiring an instance of the given interface.
We shouldn't send "null" reference for a component that requires a valid instance of the component.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira