From: SourceForge.net <no...@so...> - 2003-07-17 12:57:32
|
Bugs item #772954, was opened at 2003-07-17 08:46 Message generated for change (Comment added) made by mbowler You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=772954&group_id=47038 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jacky (tuple) Assigned to: Nobody/Anonymous (nobody) Summary: HTML unit hangs Initial Comment: Executing final WebClient webClient = new WebClient(); final URL url = new URL (applicationURL); final HtmlPage page = (HtmlPage) webClient.getPage(url); makes HTML unit hang. He's in an infinte loop in WebClient getPage Any idea ? Tx Dirk dir...@po... ---------------------------------------------------------------------- >Comment By: Mike Bowler (mbowler) Date: 2003-07-17 08:57 Message: Logged In: YES user_id=46756 Try disabling javascript support and see if it still hangs. webClient.setJavaScriptEnabled(false) If it still hangs with javascript disabled then I'd guess you have a classpath problem. Make sure you don't have other versions of the jar files that ship with HtmlUnit in your classpath. If it doesn't hang when javascript is disabled then it is likely due to a javascript method/attribute that hasn't been implemented yet. In this case, we would have to selectively eliminate parts of the javascript to identify exactly what is the problem. Let me know what the results are. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=772954&group_id=47038 |