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 2002/11/20 23:14:58 UTC
DO NOT REPLY [Bug 14720] New: -
Javascript tag NPEs if a depends rule is not in rules file
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=14720>.
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=14720
Javascript tag NPEs if a depends rule is not in rules file
Summary: Javascript tag NPEs if a depends rule is not in rules
file
Product: Struts
Version: Nightly Build
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Custom Tags
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: jhigginbotham@betweenmarkets.com
the html:Javascript tag will throw an NPE at line 338:
String javascript = va.getJavascript();
if va == null. va will == null only if the depends string was not found in the
validator-rules.xml. A warning log message or clearer exception would be nicer
and make it easier to debug why a JSP page is getting an NPE from this custom
tag.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>