DO NOT REPLY [Bug 30409] - Bad error message when taglib shortname is null
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=30409. 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=30409 Bad error message when taglib shortname is null [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2004-08-31 20:43 --- The code quoted as the source of this issue is outside the control of the tomcat team as it is part of the jakarta-servletapi-4 module. Note that similar code exisits in the jakarta-servletapi-5 module. You will need to contact the servlet spec team regarding this issue: [EMAIL PROTECTED] I am marking this as INVALID as it is outside the scope of the tomcat source code, not because the root cause of the issue is invalid. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30409] - Bad error message when taglib shortname is null
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=30409. 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=30409 Bad error message when taglib shortname is null --- Additional Comments From [EMAIL PROTECTED] 2004-07-30 14:26 --- I'm not sure. This test works without an error or an NPE: public class Test { public static void main(String[] args) { String shortname = null; String[] tagFiles = new String[] { A, B, C }; for(int i = 0; i tagFiles.length; i++) { if(tagFiles[i].equals(shortname)) { System.out.println(found); } } System.out.println(Finished with no error.); } } The program finishes with no error. Of course, if tags[i].getTagName() is null, then an NPE would occur. In addition, I suggest you try this against Tomcat 5: filing bugs that aren't showstopper or spec-related against Tomcat 4 is not recommended, as that branch is not actively developed. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]