hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Gl├╝ck <...@odi.ch>
Subject Re: ArrayIndexOutOfBoundsException in CookieSpecBase
Date Sat, 04 Nov 2006 09:25:23 GMT


Oleg Kalnichevski wrote:
> Tim,
> 
> I do not see how possibly HttpClient could be causing LinkedList#toArray
> to throw an ArrayIndexOutOfBoundsException exception in this case. 
> 
> In this particular case I am more inclined to suspect a bug in Sun's
> Java Runtime Library. If you knew what cookies HttpClient was trying to
> match against which target host, I might be able to reproduce the
> problem locally.
> 
> Oleg

It could be a concurrency problem. Call toArray while modifiying the
list and it may happen?

Just an idea

Odi

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


Mime
View raw message