[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1176) Allow entity bean to have protected empty constructor

c_inconnu (JIRA) jira-events at lists.jboss.org
Thu Apr 12 14:18:58 EDT 2007

Allow entity bean to have protected empty constructor

                 Key: JBSEAM-1176
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1176
             Project: JBoss Seam
          Issue Type: Bug
    Affects Versions: 1.2.1.GA
         Environment: JBoss 4.0.5
            Reporter: c_inconnu

EJB3 spec allows entities with protected constructor, then Seam should do too. For example, with a User class having a protected empty constructor, we end up with :

Error Rendering View[/register.xhtml]
org.jboss.seam.InstantiationException: Could not instantiate Seam component: user
        at org.jboss.seam.Component.newInstance(Component.java:1740)
        at org.jboss.seam.Component.getInstance(Component.java:1643)
        at org.jboss.seam.Component.getInstance(Component.java:1610)
        at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:53)

The forum thread : http://www.jboss.com/index.html?module=bb&op=viewtopic&t=106115

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list