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