[
https://jira.jboss.org/browse/WELD-497?page=com.atlassian.jira.plugin.sys...
]
Tom Fennelly commented on WELD-497:
-----------------------------------
I'm seeing what looks like the same issue with 1.1.0.SNAPSHOT from the maven repo,
which I think is what beta1 is distributed under in maven (assuming, coz I don't see
beta1 there).
java.lang.NullPointerException
at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:718)
at org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:138)
at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:871)
at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:883)
Check for null in BeanManager.getReference()
--------------------------------------------
Key: WELD-497
URL:
https://jira.jboss.org/browse/WELD-497
Project: Weld
Issue Type: Bug
Components: Resolution (Typesafe and by Name)
Affects Versions: 1.0.1.Final
Reporter: Jozef Hartinger
Assignee: Pete Muir
Priority: Minor
Fix For: 1.1.0.Beta1
Weld currently throws the following exception if the "bean" parameter is null
during getReference() invocation
Caused by: java.lang.NullPointerException
at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:810)
An exception with self-explanatory message should be thrown instead. Also, check the
other parameters for null values.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira