[weld-issues] [JBoss JIRA] Created: (WELD-497) Check for null in BeanManager.getReference()
Jozef Hartinger (JIRA)
jira-events at lists.jboss.org
Tue Apr 20 03:43:49 EDT 2010
Check for null in BeanManager.getReference()
--------------------------------------------
Key: WELD-497
URL: https://jira.jboss.org/jira/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.0.2.CR1
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.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list