[
https://jira.jboss.org/browse/WELD-497?page=com.atlassian.jira.plugin.sys...
]
Tom Fennelly commented on WELD-497:
-----------------------------------
OK... will do Pete... will just make sure first that I'm not using an old pre beta1
Jar... just noticed that I don't have the
https://repository.jboss.org repo in the pom
I'm using. Thanks !!
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