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=15832>. 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=15832 Missing key in resource file causes html:logic tag messagesPresent message="true" to fail... Summary: Missing key in resource file causes html:logic tag messagesPresent message="true" to fail... Product: Struts Version: 1.0 Beta 3 Platform: PC OS/Version: Other Status: NEW Severity: Blocker Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If the error.general key is not present in the resources file the JSP throws a null pointer exception.... The fix is error.general as key in the resource file . This is a HARD fault to find!!! In general the custom libs have BAD handling of error conditions when resources are not available. The tags should check for presence of error.general message key and explain that it cannot find it as a WARN...then use it literally 'error.general' in the exception text thrown...in this way the developer can see that the message key should be defined... Since the nullpointer is thrown without any explanation this is a BLOCKER! /Morten /Morten -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>