tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: svn commit: r477251 - /tomcat/tc6.0.x/trunk/java/org/apache/catalina/connector/Response.java
Date Mon, 20 Nov 2006 18:31:28 GMT
I figured :). I'll revert and hunt down the root cause. My guess is that 
if the response was used with output stream first, then recycled and 
then used again, somehow the conv ends up being null and causes a NPE in 
the write method.

Filip

Remy Maucherat wrote:
> fhanik@apache.org wrote:
>> Author: fhanik
>> Date: Mon Nov 20 08:47:03 2006
>> New Revision: 477251
>>
>> URL: http://svn.apache.org/viewvc?view=rev&rev=477251
>> Log:
>> TCK correction, depending on the sequence of the tests, the converter 
>> turns out to be null at certain times.
>> Added in a check to create the converter even when getting the output 
>> stream.
>
> I have to veto this. It's using the output stream in that case, so why 
> does it matter if the converter (= the character encoder) is null ?
>
> Rémy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message