[weld-issues] [JBoss JIRA] Commented: (WELD-766) NullPointerException if bean reference can't be resolved
Tom Fennelly (JIRA)
jira-events at lists.jboss.org
Thu Nov 25 11:31:30 EST 2010
[ https://jira.jboss.org/browse/WELD-766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565433#comment-12565433 ]
Tom Fennelly commented on WELD-766:
-----------------------------------
Yep... verified... clearer exception message now...
org.jboss.weld.exceptions.IllegalArgumentException: WELD-001324 Argument bean must not be null
> NullPointerException if bean reference can't be resolved
> --------------------------------------------------------
>
> Key: WELD-766
> URL: https://jira.jboss.org/browse/WELD-766
> Project: Weld
> Issue Type: Bug
> Reporter: Tom Fennelly
> Assignee: Pete Muir
> Fix For: 1.1.0.Beta3
>
>
> Get the following exception if the "resolvedBean" arg to BeanManagerImpl.getReference is null.
> java.lang.NullPointerException
> at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:729)
> at org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:137)
> at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:869)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list