[arquillian-issues] [JBoss JIRA] Created: (ARQ-120) InjectionPoint is null in Producer when using Argument Injection
Aslak Knutsen (JIRA)
jira-events at lists.jboss.org
Sun Apr 25 18:31:10 EDT 2010
InjectionPoint is null in Producer when using Argument Injection
----------------------------------------------------------------
Key: ARQ-120
URL: https://jira.jboss.org/jira/browse/ARQ-120
Project: Arquillian
Issue Type: Bug
Components: Weld Containers
Reporter: Aslak Knutsen
Assignee: Aslak Knutsen
Using CDI method argument injection in test method against a Bean that is created by a producer that requires the InjectionPoint, causes NullPointerException. Arquillian tries to lookup the arguments based on bean.getReference, this produces no InjectionPoint for Weld to pass to the Producer.
Create a Argument Injection point and use bean.getInjectableReference
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list