[ https://jira.jboss.org/browse/WELD-497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565350#comment-12565350 ]
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 _______________________________________________ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues