Re: [Htmlparser-user] Exception (no cookie value)
Brought to you by:
derrickoswald
|
From: Derrick O. <der...@ro...> - 2007-05-20 11:50:09
|
What version of the parser are you using?
I see no IllegalStateException being thrown by current code.
It looks like some error where the parsing of the string returned from
string = connection.getHeaderField ("Set-Cookie");
is causing trouble.
Try a more recent version of the parser and see if that fixes it.
Otherwise you'll need to debug it and trap on IllegalStateException being thrown to see what is the issue.
Derrick
----- Original Message ----
From: Subramanya Sastry <sa...@cs...>
To: htmlparser user list <htm...@li...>
Sent: Friday, May 18, 2007 2:18:54 PM
Subject: [Htmlparser-user] Exception (no cookie value)
Hi there,
For the last 3 days, I have been getting these errors ... Can anyone
shed some light as to what is going on?
Thanks,
Subbu.
--------------------------------------------------------------------
SEVERE: Exception downloading news item :
http://www.hindustantimes.com/redir.aspx?ID=c1c9f56c-f9ee-4e83-afc0-5fc2ef299160
May 18, 2007 11:46:31 PM archiver.Source DownloadNewsItem
SEVERE: Exception is : java.lang.IllegalStateException: no cookie value
java.lang.IllegalStateException: no cookie value
at
org.htmlparser.http.ConnectionManager.parseCookies(ConnectionManager.java:1067)
at
org.htmlparser.http.ConnectionManager.openConnection(ConnectionManager.java:621)
at
org.htmlparser.http.ConnectionManager.openConnection(ConnectionManager.java:792)
at org.htmlparser.Parser.<init>(Parser.java:251)
at org.htmlparser.Parser.<init>(Parser.java:261)
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Htmlparser-user mailing list
Htm...@li...
https://lists.sourceforge.net/lists/listinfo/htmlparser-user
|