[jboss-jira] [JBoss JIRA] (WFLY-3786) Validator interceptor does not work in 8.1 on EJBs
John Ament (JIRA)
issues at jboss.org
Wed Aug 27 21:11:59 EDT 2014
John Ament created WFLY-3786:
--------------------------------
Summary: 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
Security Level: Public (Everyone can see)
Affects Versions: 8.1.0.Final
Reporter: John Ament
Assignee: Jason Greene
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.1#6329)
More information about the jboss-jira
mailing list