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

Nicklas Karlsson (JIRA) jira-events at lists.jboss.org
Fri Mar 12 01:51:45 EST 2010


     [ https://jira.jboss.org/jira/browse/WELD-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicklas Karlsson closed WELD-468.
---------------------------------

    Resolution: Done


> 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
>            Assignee: Nicklas Karlsson
>            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