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=15642>. 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=15642 Null pointer in org.apache.coyote.tomcat4.CoyoteConnector that did not happen in org.apache.catalina.connector.http.HttpConnector Summary: Null pointer in org.apache.coyote.tomcat4.CoyoteConnector that did not happen in org.apache.catalina.connector.http.HttpConnector Product: Tomcat 4 Version: 4.1.18 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Connector:Coyote HTTP/1.1 AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Not sure whether this is a bug or not, but it is different than it was in the older version of the http connector... In a test.jsp file with the org.apache.catalina.connector.http.HttpConnector this code works fine <% String passwordFormField = null; request.getParameter(passwordFormField); %> but with the org.apache.coyote.tomcat4.CoyoteConnector it blows up with a null pointer exception. It happened in my case because the String passwordFormField was actually initialized from a properties object, which was returning null. I added a check to the code to make sure the String in not null on my end to fix it, but it took me a while to find the problem because it used to work fine on the old connector and the root cause of the exception was just java.lang.NullPointerException with no stack trace. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>