Producer field type that is a type variable leads to a NPE rather than
definition error (Section 3.4)
-----------------------------------------------------------------------------------------------------
Key: OWB-172
URL: https://issues.apache.org/jira/browse/OWB-172
Project: OpenWebBeans
Issue Type: Bug
Components: Injection and Lookup
Affects Versions: M3
Reporter: Joe Bergmark
Assignee: Joe Bergmark
Stack trace for NPE:
Caused by: java.lang.NullPointerException
at
org.apache.webbeans.config.DefinitionUtil.defineProducerMethodApiTypes(DefinitionUtil.java:230)
at
org.apache.webbeans.config.DefinitionUtil.createProducerFieldComponent(DefinitionUtil.java:797)
at
org.apache.webbeans.config.DefinitionUtil.createProducerField(DefinitionUtil.java:630)
at
org.apache.webbeans.config.DefinitionUtil.defineProduerFields(DefinitionUtil.java:604)
at
org.apache.webbeans.component.creation.AbstractInjectedTargetBeanCreator.defineProducerFields(AbstractInjectedTargetBeanCreator.java:131)
at
org.apache.webbeans.config.BeansDeployer.defineManagedBean(BeansDeployer.java:654)
at
org.apache.webbeans.config.BeansDeployer.deployFromClassPath(BeansDeployer.java:329)
at
org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:157)
... 44 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.