|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
[ htmlunit-Bugs-2009680 ] ArrayIndexOutOfBounds on WebClient.getPage()Bugs item #2009680, was opened at 2008-07-03 08:19
Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=2009680&group_id=47038 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: NekoHTML Group: Latest code in SVN Status: Open Resolution: None Priority: 5 Private: No Submitted By: Stan Silvert (ssilvert) Assigned to: Nobody/Anonymous (nobody) Summary: ArrayIndexOutOfBounds on WebClient.getPage() Initial Comment: To reproduce error: svn co http://anonsvn.jboss.org/repos/jsfunit/htmlunit-richfaces/ cd htmlunit-richfaces mvn -Dtest=NekoFailureTest In the surefire report, you will usually see: java.lang.ArrayIndexOutOfBoundsException: -3 at org.cyberneko.html.HTMLScanner.read(HTMLScanner.java:1121) at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:1899) at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:880) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:495) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:448) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:634) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:235) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:127) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:101) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:444) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:342) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:392) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:379) at org.jboss.htmlunit.NekoFailureTest.testHtmlUnitWithNeko198Snapshot(NekoFailureTest.java:49) The strange thing is, that this doesn't always fail. But on my machine it fails more than half the time. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=2009680&group_id=47038 ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ HtmlUnit-develop mailing list HtmlUnit-develop@... https://lists.sourceforge.net/lists/listinfo/htmlunit-develop |
| Free Forum Powered by Nabble | Forum Help |