Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 28508 invoked from network); 6 Aug 2008 20:54:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Aug 2008 20:54:47 -0000 Received: (qmail 31044 invoked by uid 500); 6 Aug 2008 20:54:44 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 30990 invoked by uid 500); 6 Aug 2008 20:54:44 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 30979 invoked by uid 500); 6 Aug 2008 20:54:44 -0000 Delivered-To: apmail-jakarta-tomcat-dev@jakarta.apache.org Received: (qmail 30976 invoked by uid 99); 6 Aug 2008 20:54:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Aug 2008 13:54:44 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Aug 2008 20:53:57 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 89C80234C18C; Wed, 6 Aug 2008 13:54:24 -0700 (PDT) From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 45580] Unhandled NullPointerException when trying to write to a closed socket. X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Tomcat 6 X-Bugzilla-Component: Catalina X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fhanik@apache.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tomcat-dev@jakarta.apache.org X-Bugzilla-Target-Milestone: default X-Bugzilla-Changed-Fields: Status Resolution In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Message-Id: <20080806205424.89C80234C18C@brutus.apache.org> Date: Wed, 6 Aug 2008 13:54:24 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=45580 Filip Hanik changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Filip Hanik 2008-08-06 13:54:23 PST --- The NPE is only because of an incorrectly used response object. if you are trying to write to a response that has been closed, in a different thread, it is better for you to fix the application that is doing that. There are simply too many NPE checks to do to catch all such scenarios, and they essentially don't do anything, they would just convert the NPE to a IOException. If you believe the error comes from correct usage of the response, then please elaborate a little bit on how this happens, and we can apply a correct fix. best Filip -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org