From: SourceForge.net <no...@so...> - 2003-07-17 12:46:41
|
Bugs item #772954, was opened at 2003-07-17 12:46 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=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... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=772954&group_id=47038 |
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 |
From: SourceForge.net <no...@so...> - 2003-07-18 13:44:59
|
Bugs item #772954, was opened at 2003-07-17 12:46 Message generated for change (Comment added) made by tuple 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: Jacky (tuple) Date: 2003-07-18 13:44 Message: Logged In: YES user_id=818234 The basic problem was a classpath problem. This stops the hanging. Now I can go to some pages, others gives me javascript exceptions. If I disable javascript, I can no longer simulate my buttons-clicks because in the onClick there's javascript. So I tried page.executeJavaScriptIfPossible(onClick, input.getNameAttribute(), false, input); before the call, I enabled javascript and after the call I disable it again. In some pages I still get Exceptions : e.g. com.gargoylesoftware.htmlunit.ScriptException: WrappedException of com.gargoylesoftware.htmlunit.ScriptException: specified row could not be found in table The javascript seems very sensitive ---------------------------------------------------------------------- Comment By: Mike Bowler (mbowler) Date: 2003-07-17 12: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 |
From: SourceForge.net <no...@so...> - 2003-07-18 14:14:43
|
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: Closed Resolution: None Priority: 5 Submitted By: Jacky (tuple) >Assigned to: Mike Bowler (mbowler) 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-18 10:14 Message: Logged In: YES user_id=46756 I'm going to close this bug since the "hanging" problem is fixed. Please open new bugs with stack traces for any javascript problems you're seeing. The error "specified row could not be found in table" is an assertion that should never happen. It means that a <td> tag has been found *outside* of a <tr> which shouldn't be possible. ---------------------------------------------------------------------- Comment By: Jacky (tuple) Date: 2003-07-18 09:44 Message: Logged In: YES user_id=818234 The basic problem was a classpath problem. This stops the hanging. Now I can go to some pages, others gives me javascript exceptions. If I disable javascript, I can no longer simulate my buttons-clicks because in the onClick there's javascript. So I tried page.executeJavaScriptIfPossible(onClick, input.getNameAttribute(), false, input); before the call, I enabled javascript and after the call I disable it again. In some pages I still get Exceptions : e.g. com.gargoylesoftware.htmlunit.ScriptException: WrappedException of com.gargoylesoftware.htmlunit.ScriptException: specified row could not be found in table The javascript seems very sensitive ---------------------------------------------------------------------- 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 |