[weld-issues] [JBoss JIRA] Commented: (WELD-497) Check for null in BeanManager.getReference()

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Nov 25 07:17:59 EST 2010


    [ https://jira.jboss.org/browse/WELD-497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565348#comment-12565348 ] 

Pete Muir commented on WELD-497:
--------------------------------

Tom please open a new issue.

Beta2 is https://repository.jboss.org/nexus/content/groups/public/org/jboss/weld/weld-core/1.1.0.Beta2/
Beta1 is here https://repository.jboss.org/nexus/content/groups/public/org/jboss/weld/weld-core/1.1.0.Beta1/

> 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

        


More information about the weld-issues mailing list