Re: NullPointerException in BestMatchSpec.formatCookies

2012-08-02 Thread sebb
On 1 August 2012 12:08, Jean-Marc Spaggiari jean-m...@spaggiari.org wrote: Hi Oleg, My application is reading many other URLs before this one. So maybe it's a combination of multiple loads. I will try to dump more when I will get the issue again. In the meantime, here is how I'm

Re: NullPointerException in BestMatchSpec.formatCookies

2012-08-02 Thread Jean-Marc Spaggiari
I'm using version 4.2.1 binary distribution. 2012/8/2, sebb seb...@gmail.com: On 1 August 2012 12:08, Jean-Marc Spaggiari jean-m...@spaggiari.org wrote: Hi Oleg, My application is reading many other URLs before this one. So maybe it's a combination of multiple loads. I will try to dump

Re: NullPointerException in BestMatchSpec.formatCookies

2012-08-02 Thread sebb
On 2 August 2012 19:03, Jean-Marc Spaggiari jean-m...@spaggiari.org wrote: I'm using version 4.2.1 binary distribution. In which case the NPE is very odd. The stack dump shows: java.lang.NullPointerException at

Re: NullPointerException in BestMatchSpec.formatCookies

2012-08-02 Thread Jean-Marc Spaggiari
I'm using 1.7.0_05 from Sun. I have enabled the RequestAddCookies debug logs and will see when I will get the next NPE. One the line 193 (I don't have the source) is version an int? Or an Integer? I agree with you, cookie can't be null, else we will have got an NPE at if

Re: NullPointerException in BestMatchSpec.formatCookies

2012-08-02 Thread sebb
On 2 August 2012 19:36, Jean-Marc Spaggiari jean-m...@spaggiari.org wrote: I'm using 1.7.0_05 from Sun. I have enabled the RequestAddCookies debug logs and will see when I will get the next NPE. One the line 193 (I don't have the source) is version an int? Or an Integer? int, see:

Re: NullPointerException in BestMatchSpec.formatCookies

2012-08-02 Thread Jean-Marc Spaggiari
So it's can be that neither... Thanks for the links. I have restarted the application. I have added the debug level for RequestAddCookies and asked the application to stop as soon as there is an exception. I just need to let it run for some time. Last time I saw the exception it was running for

Re: NullPointerException in BestMatchSpec.formatCookies

2012-08-01 Thread Oleg Kalnichevski
On Tue, 2012-07-31 at 17:37 -0400, Jean-Marc Spaggiari wrote: Hi, I'm getting the exception below when I'm trying to load http://www.expedia.ca/Sunset-District-Hotels.d163838.Travel-Guide-Hotels ... It's not critical since I'm catching everything, but I'm wondering if this is normal or if

Re: NullPointerException in BestMatchSpec.formatCookies

2012-08-01 Thread Jean-Marc Spaggiari
Hi Oleg, My application is reading many other URLs before this one. So maybe it's a combination of multiple loads. I will try to dump more when I will get the issue again. In the meantime, here is how I'm initializing the HttpClient: // Creation of the HTTP Client SchemeRegistry schemeRegistry

NullPointerException in BestMatchSpec.formatCookies

2012-07-31 Thread Jean-Marc Spaggiari
Hi, I'm getting the exception below when I'm trying to load http://www.expedia.ca/Sunset-District-Hotels.d163838.Travel-Guide-Hotels ... It's not critical since I'm catching everything, but I'm wondering if this is normal or if this is something which need to be fixed...