Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 81446 invoked from network); 14 Jan 2004 12:33:58 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 14 Jan 2004 12:33:58 -0000 Received: (qmail 27440 invoked by uid 500); 14 Jan 2004 12:33:50 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 27417 invoked by uid 500); 14 Jan 2004 12:33:50 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 27400 invoked from network); 14 Jan 2004 12:33:50 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 14 Jan 2004 12:33:50 -0000 Received: (qmail 671 invoked by uid 50); 14 Jan 2004 12:33:56 -0000 Date: 14 Jan 2004 12:33:56 -0000 Message-ID: <20040114123356.670.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 26121] New: - javax.servlet.http.Cookie#setDomain(String) throws NullPointerException for null parameter X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=26121 javax.servlet.http.Cookie#setDomain(String) throws NullPointerException for null parameter Summary: javax.servlet.http.Cookie#setDomain(String) throws NullPointerException for null parameter Product: Tomcat 5 Version: Nightly Build Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Servlet & JSP API AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: stoehr_sukachevin@hotmail.com The javax.servlet.http.Cookie#setDomain(String) method throws a NullPointerException for a parameter value of null, though the javadocs does not mention that a null value is not acceptable or will result in an exception. So either the javadocs should be changed or else a null check should be done before invoking toLowerCase() on the parameter. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org