commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16045] - NPE in Validator.java after upgrading to Struts 1.1b3
Date Tue, 11 Mar 2003 15:40:40 GMT
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=16045>.
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=16045

NPE in Validator.java after upgrading to Struts 1.1b3

dgraham@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|null pointer in             |NPE in Validator.java after
                   |Validator.java after        |upgrading to Struts 1.1b3
                   |upgrading to Struts 1.1-b3  |



------- Additional Comments From dgraham@apache.org  2003-03-11 15:40 -------
It looks like we can put a check like if(field.getDepends() != null) in the 
validate() method before calling the validateField() method.  I'm assuming that 
if a field's depends variable is null, it doesn't need validation.

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


Mime
View raw message