[Htmlparser-developer] htmlparser crash
Brought to you by:
derrickoswald
From: Brad P. <phi...@ho...> - 2003-02-07 07:04:52
|
hi, I ran the Robot test program with a depth of three. It got an error and crashed when it tried to crawl into a non-existant website. How can I prevent this? Here is another error message I received. I don't understand the cause of this error. BEGIN ERROR ----------- org.htmlparser.util.HTMLParserException: HTMLParserException at crawl(3); org.htmlparser.util.HTMLParserException: Unexpected Exception occurred while reading http://www.brookscole.com, in nextHTMLNode at Line 704 : <a href="javascript:transport();"><script>document.write("<img name=\"featureslider\" src=\""+features[randomImgNum(features.length-1)]+"\" width=\"215\" height=\"40\" border=\"0\">")</script></a></td> Previous Line 703 : <td bgcolor="D7B78E" align="center" valign="middle" class="bold12" width="215">; ... java.lang.StringIndexOutOfBoundsException: String index out of range: 1 ----------- END ERROR If anyone can offer any suggestions, I would appreciate it. Thanks. -Brad _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail |