You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Clement Escoffier (JIRA)" <ji...@apache.org> on 2013/02/26 15:24:12 UTC
[jira] [Commented] (FELIX-3896) Null reference are injected with
@Bind(optional=false) method on iPOJO components
[ https://issues.apache.org/jira/browse/FELIX-3896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587158#comment-13587158 ]
Clement Escoffier commented on FELIX-3896:
------------------------------------------
iPOJO should check that we never inject null within bind methods.
> 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
> Assignee: Clement Escoffier
> 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