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 2001/11/16 17:49:34 UTC

DO NOT REPLY [Bug 4929] New: - nested NullPointerException not defented with ignore="true"

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=4929>.
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=4929

nested NullPointerException not defented with ignore="true"

           Summary: nested NullPointerException not defented with
                    ignore="true"
           Product: Struts
           Version: Unknown
          Platform: Sun
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: volx@usa.net


In a following situation where we deal with a complex object:

<bean:write name="order" property="firmUser.username" ignore="true"/>

NullPointerException will be thrown if firmUser is null. Code should not even 
attempt to go into nested property if the parent is null.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>