John D. Ament created GERONIMO-6574:
---------------------------------------
Summary: Geronimo Config unable to load injection points when
running with Weld3
Key: GERONIMO-6574
URL: https://issues.apache.org/jira/browse/GERONIMO-6574
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Reporter: John D. Ament
When trying to run Geronimo Config via Weld 3, after patching the Arquillian
container you see the following errors:
{code}
Tests run: 43, Failures: 2, Errors: 0, Skipped: 1, Time elapsed: 2.05 sec <<<
FAILURE! - in TestSuite
can_inject_simple_values_when_defined(org.eclipse.microprofile.config.tck.CDIPlainInjectionTest)
Time elapsed: 0.008 sec <<< FAILURE!
java.lang.IllegalStateException: Could not retrieve InjectionPoint
at
org.apache.geronimo.config.cdi.ConfigExtension$5.create(ConfigExtension.java:200)
at
org.jboss.weld.contexts.unbound.DependentContextImpl.get(DependentContextImpl.java:70)
at
org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:100)
at
org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50)
at
org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:676)
at
org.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:776)
at
org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:92)
at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:335)
at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:346)
at
org.jboss.weld.injection.producer.ResourceInjector$1.proceed(ResourceInjector.java:69)
at
org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:48)
at
org.jboss.weld.injection.producer.ResourceInjector.inject(ResourceInjector.java:71)
at
org.jboss.weld.injection.producer.BasicInjectionTarget.inject(BasicInjectionTarget.java:117)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)