You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Oleg Kalnichevski <ol...@apache.org> on 2003/10/18 20:44:33 UTC

[PATCH] NPE in HttpMethodBase#responseBodyConsumed()

The fix is simple. But I failed to figure out is how on earth
responseBodyConsumed() got called with null responseConnection.

Tim, can you explain under what kind of circumstances NPE in
responseBodyConsumed occurs? A test case would be fantastic.

Cheers

Oleg

On Wed, 2003-10-15 at 23:28, Tim McCune wrote:
> This patch
> also contains a fix in HttpMethodBase.java for a NullPointerException
> that happens when responseConnection is null


Re: [PATCH] NPE in HttpMethodBase#responseBodyConsumed()

Posted by Michael Becke <be...@u.washington.edu>.
I agree this will fix the problem, but I am also wondering how it ever  
occurs.

Mike

On Saturday, October 18, 2003, at 02:44 PM, Oleg Kalnichevski wrote:

> The fix is simple. But I failed to figure out is how on earth
> responseBodyConsumed() got called with null responseConnection.
>
> Tim, can you explain under what kind of circumstances NPE in
> responseBodyConsumed occurs? A test case would be fantastic.
>
> Cheers
>
> Oleg
>
> On Wed, 2003-10-15 at 23:28, Tim McCune wrote:
>> This patch
>> also contains a fix in HttpMethodBase.java for a NullPointerException
>> that happens when responseConnection is null
>
> <connrelease.patch>---------------------------------------------------- 
> -----------------
> To unsubscribe, e-mail:  
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:  
> commons-httpclient-dev-help@jakarta.apache.org


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