You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/04/25 19:08:46 UTC

DO NOT REPLY [Bug 19326] New: - html-el taglib causes NPE with html:error tag

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19326

html-el taglib causes NPE with html:error tag

           Summary: html-el taglib causes NPE with html:error tag
           Product: Struts
           Version: 1.1 RC1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: klee_88@yahoo.com


Normally, using <html:error /> will work properly.  But when using the html-el 
taglib (with JSTL expression language), a NullPointerException is generated.

Normally, the name property defaults to Globals.ERROR_KEY, but when processing 
the evaluateExpressions() method in ELErrorsTag.java, the value seems to be 
getting set to null.  Putting a null check for setName() in ErrorsTag.java 
seems to make the problem go away.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org