[seam-issues] [JBoss JIRA] (SOLDER-113) Generic beans producer annotated with @DefaultBean doesn't work

Jozef Hartinger (Commented) (JIRA) jira-events at lists.jboss.org
Tue Nov 8 16:21:45 EST 2011


    [ https://issues.jboss.org/browse/SOLDER-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641211#comment-12641211 ] 

Jozef Hartinger commented on SOLDER-113:
----------------------------------------

The exception can be fixed easily however changes to both generic and default bean extension are needed to make this stuff work together.
                
> Generic beans producer annotated with @DefaultBean doesn't work
> ---------------------------------------------------------------
>
>                 Key: SOLDER-113
>                 URL: https://issues.jboss.org/browse/SOLDER-113
>             Project: Seam Solder
>          Issue Type: Bug
>          Components: Core, Generic Beans
>    Affects Versions: 3.0.0.Final
>            Reporter: Kevin Pollet
>
> If a generic beans producer is annotated with {{@DefaultBean}} then the following exception is thrown at deployment.
> {quote}
> java.lang.UnsupportedOperationException
> 	at java.util.Collections$UnmodifiableCollection$1.remove(Collections.java:1012)
> 	at org.jboss.seam.solder.bean.generic.GenericBeanExtension.processBean(GenericBeanExtension.java:498)
> {quote}
> The full stack trace is available here http://pastebin.com/B5ahLru4

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list