[jboss-jira] [JBoss JIRA] (WFLY-3786) Validator interceptor does not work in 8.1 on EJBs

Stuart Douglas (JIRA) issues at jboss.org
Wed Mar 4 01:41:49 EST 2015


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

Stuart Douglas resolved WFLY-3786.
----------------------------------
    Fix Version/s: 8.2.0.Final
       Resolution: Done


> Validator interceptor does not work in 8.1 on EJBs
> --------------------------------------------------
>
>                 Key: WFLY-3786
>                 URL: https://issues.jboss.org/browse/WFLY-3786
>             Project: WildFly
>          Issue Type: Bug
>    Affects Versions: 8.1.0.Final
>            Reporter: John Ament
>            Assignee: Jason Greene
>             Fix For: 8.2.0.Final
>
>
> Take a look at the following git repo
> https://github.com/johnament/hornetq-jms-issue
> Run the test ValidationTest.  When you execute, you'll see the following error:
> Caused by: org.jboss.arquillian.test.spi.ArquillianProxyException: org.jboss.weld.exceptions.IllegalArgumentException : WELD-001456: Argument bean must not be null [Proxied because : Original exception caused: class java.lang.ClassNotFoundException: org.jboss.weld.exceptions.IllegalArgumentException]
> Looking at it at first, you might think it's the result of validation execution (since the bean's @notNull).  What's actually happening is the interceptor is trying to get a reference to the validator and failing, hence the "argument bean must not be null" part.
> It seems like the validation extension doesn't get activated properly when I'm dealing with a JAR within a WAR file.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list