[weld-issues] [JBoss JIRA] Created: (WELD-468) Weld should give better error message about why it can't proxy a class

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Mar 10 13:35:37 EST 2010


Weld should give better error message about why it can't proxy a class
----------------------------------------------------------------------

                 Key: WELD-468
                 URL: https://jira.jboss.org/jira/browse/WELD-468
             Project: Weld
          Issue Type: Bug
          Components: Class Beans (Managed and Session), Producers (Methods, Fields and Disposers)
    Affects Versions: 1.0.1.Final
            Reporter: Pete Muir
            Priority: Minor
             Fix For: 1.0.2.CR1


For a bean like

@Entity
@Named
@RequestScoped
public class Plot extends RObject {
...
}

we get an error like

Caused by: javax.enterprise.inject.UnproxyableResolutionException: Normal scoped bean org.jboss.weld.bean-/home/ss141213/NetBeansProjects/ear1/dist/gfdeploy/ear1/ear1-ejb_jar/-ManagedBean-class org.vgcowa.dm.Plot is not proxyable

which was caused by a final method.

Not a useful error message!

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

        


More information about the weld-issues mailing list