[arquillian-issues] [JBoss JIRA] Closed: (ARQ-120) InjectionPoint is null in Producer when using Argument Injection
Aslak Knutsen (JIRA)
jira-events at lists.jboss.org
Tue May 25 10:10:02 EDT 2010
[ https://jira.jboss.org/browse/ARQ-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aslak Knutsen closed ARQ-120.
-----------------------------
Alpha-2 published
> InjectionPoint is null in Producer when using Argument Injection
> ----------------------------------------------------------------
>
> Key: ARQ-120
> URL: https://jira.jboss.org/browse/ARQ-120
> Project: Arquillian
> Issue Type: Bug
> Components: Weld Containers
> Reporter: Aslak Knutsen
> Assignee: Aslak Knutsen
> Fix For: 1.0.0.Alpha2
>
>
> 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/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list