DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27545>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27545

minor enhancement to pre-empt an NPE 

           Summary: minor enhancement to pre-empt an NPE
           Product: Struts
           Version: 0.5 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


java.lang.NullPointerException
        at
org.apache.struts.taglib.html.MessagesTag.doStartTag(MessagesTag.java:248)

If you could put the following it would save an hour of debugging and
head-scratching:

if (report == null) throw new JSPException("cannot display null ActionMessage!");

I think it comes from the Validator but I haven't got that far yet.

Adam

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to