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/02/27 17:34:13 UTC
DO NOT REPLY [Bug 17499] New: -
NullPointerException when Validation message not in bundle
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=17499>.
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=17499
NullPointerException when Validation message not in bundle
Summary: NullPointerException when Validation message not in
bundle
Product: Struts
Version: 1.1 Beta 3
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Validator Framework
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: Steve.Stair@rrc.state.tx.us
If the message for a field name is not in the message bundle,
the output will contain a blank instead of the field name.
(i.e. the message "{0} is required." will generate " is required.")
But if the base message is not found in the message bundle,
a NullPointerException is thrown. This bug seems to be related to
these previously reported bugs:
<a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=17016">Bug 17016</a>
<a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=17050">Bug 17050</a>
But since it is in a different set of code, I felt it needed to be tracked
separately.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org