From: Dave S. <dav...@ca...> - 2004-03-31 14:37:36
|
OK. I download last nights snapshot and it test just hangs. A thread dump is below. Also why is [junit] at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:575) [junit] at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:535) [junit] at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:453) [junit] at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:325) [junit] at com.gargoylesoftware.htmlunit.html.HtmlPage.executeRefreshIfNeeded(HtmlPage.java:954) [junit] at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:141) Repeated at least 20 times before the top of the dump below? There are 6 .js includes and one .css include but it does not match the number of occurrences of the loop. at java.lang.Throwable.getStackTraceElement(Native Method) [junit] at java.lang.Throwable.getOurStackTrace(Throwable.java:591) [junit] - locked <0x446808f8> (a java.lang.Throwable) [junit] at java.lang.Throwable.getStackTrace(Throwable.java:582) [junit] at org.apache.commons.logging.impl.Jdk14Logger.log(Jdk14Logger.java:115) [junit] at org.apache.commons.logging.impl.Jdk14Logger.trace(Jdk14Logger.java:256) [junit] at org.apache.commons.httpclient.HeaderElement.parsePair(HeaderElement.java:407) [junit] at org.apache.commons.httpclient.HeaderElement.parse(HeaderElement.java:342) [junit] at org.apache.commons.httpclient.Header.getValues(Header.java:130) [junit] at org.apache.commons.httpclient.HttpMethodBase.readResponseBody(HttpMethodBase.java:2056) [junit] at org.apache.commons.httpclient.HttpMethodBase.readResponseBody(HttpMethodBase.java:2004) [junit] at org.apache.commons.httpclient.methods.GetMethod.readResponseBody(GetMethod.java:403) [junit] at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1962) [junit] at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2659) [junit] at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1093) [junit] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:675) [junit] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:529) [junit] at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:150) [junit] at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1303) On Tue, 2004-03-30 at 17:40, Mike Bowler wrote: > The question I should have asked right off the bat is "what version of > HtmlUnit are you using?". If you're using something older than 1.3pre1 > then I'd recommend upgrading - there have been a lot of fixes put in > since then. > > There are tests for form["somename"] that are working in the latest code > so I'm wondering if you're stumbling across something that's already > been fixed in cvs. -- Dave Smith CANdata Systems Ltd 416-493-9020 |