1 Reply Latest reply on Feb 24, 2017 6:50 AM by bmajsak

    org.jboss.weld.exceptions.UnproxyableResolutionException: WELD-001437 addSuppressed method is final

    dfoster

      I'm using Arquillian with JBoss EAP 6.4. I had a working test using an EAR file, and one of my team members added custom exceptions to our project; the issue is, all exceptions inherit from Throwable, which as a final method addSuppressed.

       

      Using Arquillian, the EAR is deployed to the container. But this isn't allowed (see: Weld - JSR-299 Reference Implementation ) because of the customs exceptions. The simple solution is to remove the final field or just the final keyword, but I can't exactly go and edit Throwable itself.

       

      How can I deploy my working Arquillian test with custom made working exceptions? And even above that, how are normal exceptions put in a container if this method isn't allowed?

       

      Any help would be appreciated. Thanks!