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... java.lang.NullPointerExce

Re: How to get HttpResponse viewed in a JEditorPane?

2012-07-31 Thread William Speirs
My only suggestion is to read the contents of the response out to something else like a file, this way you know HttpClient is working as expected. I don't know enough about JEditorpane to help you with that... maybe you need to call flush on it? Bill- On Jul 30, 2012 6:04 AM, "Fredrik Andersson"