The field-metadata tag checks for a null bean class a little too late
---------------------------------------------------------------------

                 Key: STS-682
                 URL: http://www.stripesframework.org/jira/browse/STS-682
             Project: Stripes
          Issue Type: Bug
          Components: Tag Library
    Affects Versions: Release 1.5.1
         Environment: Linux (but probably all)
            Reporter: Mike McNally
            Priority: Minor


The field-metadata tag implementation contains code to check for the condition 
of having no action bean class to work with. However, that test is made after 
the beanClass value (may be) dereferenced. The dereference before the test 
means that the tag throws a NullPointerException instead of the nice friendly 
Stripes exception that it should.

See line 85 in the 1.5.1 version of the tag source file.


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

        

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to