You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/03/08 01:34:11 UTC

DO NOT REPLY [Bug 16045] - null pointer in Validator.java after upgrading to Struts 1.1-b3

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

null pointer in Validator.java after upgrading to Struts 1.1-b3





------- Additional Comments From dan@mojavelinux.com  2003-03-08 00:34 -------
Here is the problem.  The "depends" attribute is #IMPLIED, which means it is
optional.  But if you exclude it, you get a null pointer exception.  If you add
it in such as depends="" then you are fine.  So either make depends #REQUIRED in
the DTD or figure out how to allow it to be skipped.  The current state is a
major bug.

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