[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-893) Calling Component.getInstance() and passing a Class that does not have a @Name throws NPE

Gavin King (JIRA) jira-events at lists.jboss.org
Wed Feb 21 12:02:42 EST 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-893?page=all ]

Gavin King closed JBSEAM-893.
-----------------------------

    Fix Version/s: 1.1.7.GA
       Resolution: Done
         Assignee: Gavin King

thanks, fixed

> Calling Component.getInstance() and passing a Class that does not have a @Name throws NPE
> -----------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-893
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-893
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.6.GA
>         Environment: Any
>            Reporter: Mike Quilleash
>         Assigned To: Gavin King
>             Fix For: 1.1.7.GA
>
>
> Throws in NPE somewhere in the bowels of the web container when it queries the event context for null (on Tomcat anyway).  The Component.getInstance() that calls Seam.getComponentName() should check the return value for null and throw an exception with explanation.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list