|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
_______________________________________________ weld-issues mailing list [email protected] https://lists.jboss.org/mailman/listinfo/weld-issues

This is per specification. Weld is capable of injecting existing instances of anonymous classes but cannot create new instances.
Weld does not fail in this case - it would ignore the anonymous class however your stack trace indicates that an exception is thrown later when forge is trying to obtain a bean instance and passes null to a required parameter. In other words, it's the SPI input validation that fails here so Weld is probably used in a wrong way.