[
https://issues.jboss.org/browse/RF-12049?page=com.atlassian.jira.plugin.s...
]
Burr Sutter updated RF-12049:
-----------------------------
Attachment: richfaces_junit_failure.png
Richfaces Kitchensink Archetype
-------------------------------
Key: RF-12049
URL:
https://issues.jboss.org/browse/RF-12049
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Environment: JBDS 5 Beta 1
Reporter: Burr Sutter
Attachments: richfaces_junit_failure.png
The currently generated RichFaces-based kitchensink project "richfaces-webapp"
throws the following exception when Run As JUnit Test is used.
21:36:27,147 ERROR [org.jboss.ejb3.invocation] (http-localhost-127.0.0.1-8080-7)
JBAS014134: EJB Invocation failed on component MemberRegistration for method public void
org.jboss.tools.examples.controller.MemberRegistration.register() throws
java.lang.Exception: javax.ejb.EJBException:
org.jboss.weld.exceptions.IllegalProductException: WELD-000052 Cannot return null from a
non-dependent producer method: [method] @Produces @RequestScoped public
org.jboss.tools.examples.util.Resources.produceFacesContext()
at
org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:166)
[jboss-as-ejb3-7.1.0.Final-redhat-1.jar:7.1.0.Final-redhat-1]
at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:230)
[jboss-as-ejb3-7.1.0.Final-redhat-1.jar:7.1.0.Final-redhat-1]
at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)
[jboss-as-ejb3-7.1.0.Final-redhat-1.jar:7.1.0.Final-redhat-1]
at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)
[jboss-as-ejb3-7.1.0.Final-redhat-1.jar:7.1.0.Final-redhat-1]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira