Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 37AA5EB2D for ; Sun, 3 Mar 2013 18:11:13 +0000 (UTC) Received: (qmail 89281 invoked by uid 500); 3 Mar 2013 18:11:13 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 89212 invoked by uid 500); 3 Mar 2013 18:11:12 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 89203 invoked by uid 99); 3 Mar 2013 18:11:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Mar 2013 18:11:12 +0000 Date: Sun, 3 Mar 2013 18:11:12 +0000 (UTC) From: "Clement Escoffier (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (FELIX-3896) Null reference are injected with @Bind(optional=false) method on iPOJO components MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-3896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clement Escoffier resolved FELIX-3896. -------------------------------------- Resolution: Fixed Fix Version/s: ipojo-runtime-1.10 Fixed in trunk. Please check and close the issue. > 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 > Fix For: ipojo-runtime-1.10 > > 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