Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-468

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

    XMLWordPrintable

Details

    Description

      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!

      Attachments

        Issue Links

          Activity

            People

              nickarls Nicklas Karlsson (Inactive)
              pmuiratbleepbleep Pete Muir (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: