geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gert Vanthienen (JIRA)" <>
Subject [jira] Created: (GERONIMO-4727) Setting a parameterized pojo in blueprint throws exception
Date Mon, 06 Jul 2009 17:59:14 GMT
Setting a parameterized pojo in blueprint throws exception

                 Key: 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<PaxLoggingEvent>
events)}}*) and the bean being injected is the raw type (e.g. *{{new LruList()}}*, we get:
this exception:

Unable to convert property value from org.apache.felix.karaf.gshell.log.LruList to 
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(
        at org.apache.geronimo.blueprint.container.BeanRecipe.setProperties(
        at org.apache.geronimo.blueprint.container.BeanRecipe.setProperties(
        at org.apache.geronimo.blueprint.container.BeanRecipe.internalCreate(
        at org.apache.geronimo.blueprint.di.AbstractRecipe.create(
        at org.apache.geronimo.blueprint.di.RefRecipe.internalCreate(
        at org.apache.geronimo.blueprint.di.AbstractRecipe.create(

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message