Arquilian tests failed with RuntileException Could not inject
members
---------------------------------------------------------------------
Key: ARQ-1458
URL:
https://issues.jboss.org/browse/ARQ-1458
Project: Arquillian
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 1.0.4.Final, 1.1.0.Final, 1.1.1.Final
Environment: Linux, JEE6, Embedded Glassfish 3.1.1, JPA, CDI, Arquilian 1.0.4
& Arquilian 1.1.0
Reporter: Thomas Lallart
Fix For: 1.1.3.Final
When running more integration tests with Arquilian on Embedded Glassfish, some tests
failed with message :
java.lang.RuntimeException: Could not inject members
at
org.jboss.arquillian.testenricher.cdi.CDIInjectionEnricher.injectClass(CDIInjectionEnricher.java:135)
at
org.jboss.arquillian.testenricher.cdi.CDIInjectionEnricher.enrich(CDIInjectionEnricher.java:78)
at
org.jboss.arquillian.test.impl.TestInstanceEnricher.enrich(TestInstanceEnricher.java:52)
...
Caused by: org.jboss.weld.exceptions.IllegalArgumentException: WELD-001324 Argument bean
must not be null
at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:744)
at
org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:138)
at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:872)
at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:884)
at
org.jboss.weld.manager.SimpleInjectionTarget$1.proceed(SimpleInjectionTarget.java:120)
See also
https://community.jboss.org/message/830718
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: