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 2004/09/02 23:16:14 UTC

DO NOT REPLY [Bug 31025] - validwhenparser null pointer exception

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

validwhenparser null pointer exception





------- Additional Comments From gisellas@yachay.net  2004-09-02 21:16 -------
The method ValidWhenParser.integer() causes a null pointer exception when 
passing octals or hexs since the wrong token is passed.  e.g. for hex

argStack.push(Integer.valueOf(d.getText()));
is called instead
argStack.push(Integer.valueOf(h.getText()));

d is null for hexs and octals.

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