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=35798>. 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=35798 Summary: Null Pointer Exception in InternalOutputBuffer Product: Tomcat 5 Version: 5.5.9 Platform: PC OS/Version: other Status: NEW Severity: major Priority: P2 Component: Connector:HTTP AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] When the servlet output stream is pooled for future use, any writes followed with a flush to the output stream (obtained from the pool) are causing null pointer exceptions. * Same problem exists with PrintWriter. * The writes+flush to the output stream are not happening on the thread that received the initial service request. * There is a server listening on the other side of HTTP socket. * Is the original service thread cleaning up the output stream? Platform : Windows XP PRofessional Java Version : jdk 1.5.0_04 Apache Tomcat Version 5.5.9 $Id: RELEASE-NOTES,v 1.25 2005/01/19 20:30:26 remm Exp $ ---------------------stack trace----------------- java.lang.NullPointerException at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:403) at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305) at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:978) at org.apache.coyote.Response.action(Response.java:182) at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322) at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293) at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:82) at com.xxx.ClientConnectionManager._writeToConnection(ClientConnectionManager.java:346) at java.lang.Thread.run(Thread.java:595) -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]