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

Mike Quilleash (JIRA) jira-events at lists.jboss.org
Wed Feb 21 05:11:35 EST 2007


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


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