Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 67651 invoked from network); 6 Jul 2009 18:09:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jul 2009 18:09:29 -0000 Received: (qmail 56043 invoked by uid 500); 6 Jul 2009 18:09:39 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 55945 invoked by uid 500); 6 Jul 2009 18:09:38 -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 55937 invoked by uid 99); 6 Jul 2009 18:09:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 18:09:38 +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 18:09:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DB789234C053 for ; Mon, 6 Jul 2009 11:09:14 -0700 (PDT) Message-ID: <150606811.1246903754898.JavaMail.jira@brutus> Date: Mon, 6 Jul 2009 11:09:14 -0700 (PDT) From: "Gert Vanthienen (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-4727) Setting a parameterized pojo in blueprint throws exception In-Reply-To: <1176345430.1246903154871.JavaMail.jira@brutus> 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 [ https://issues.apache.org/jira/browse/GERONIMO-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gert Vanthienen updated GERONIMO-4727: -------------------------------------- Attachment: GERONIMO-4727.diff > 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 > Attachments: GERONIMO-4727.diff, GERONIMO-4727.diff > > > 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.