Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 61157 invoked from network); 6 Jul 2009 17:59:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jul 2009 17:59:28 -0000 Received: (qmail 39192 invoked by uid 500); 6 Jul 2009 17:59:37 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 39076 invoked by uid 500); 6 Jul 2009 17:59:37 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 38988 invoked by uid 99); 6 Jul 2009 17:59:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 17:59:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 17:59:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D5390234C004 for ; Mon, 6 Jul 2009 10:59:14 -0700 (PDT) Message-ID: <1176345430.1246903154871.JavaMail.jira@brutus> Date: Mon, 6 Jul 2009 10:59:14 -0700 (PDT) From: "Gert Vanthienen (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Created: (GERONIMO-4727) Setting a parameterized pojo in blueprint throws exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Setting a parameterized pojo in blueprint throws exception ---------------------------------------------------------- Key: GERONIMO-4727 URL: https://issues.apache.org/jira/browse/GERONIMO-4727 Project: Geronimo Issue Type: Bug Security Level: public (Regular issues) Reporter: Gert Vanthienen When the setter of property uses a parameterized type (e.g. *{{setLruList(LruList events)}}*) and the bean being injected is the raw type (e.g. *{{new LruList()}}*, we get: this exception: {noformat} org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to convert property value from org.apache.felix.karaf.gshell.log.LruList to org.apache.felix.karaf.gshell.log.LruList for injection public void org.apache.felix.karaf.gshell.log.VmLogAppender.setEvents(org.apache.felix.karaf.gshell.log.LruList) at org.apache.geronimo.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:604) at org.apache.geronimo.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:571) at org.apache.geronimo.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:552) at org.apache.geronimo.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:501) at org.apache.geronimo.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:62) at org.apache.geronimo.blueprint.di.RefRecipe.internalCreate(RefRecipe.java:60) at org.apache.geronimo.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:62) ... {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.