[ htmlunit-Bugs-1236048 ] java.lang.StackOverflowError

Previous Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ htmlunit-Bugs-1236048 ] java.lang.StackOverflowError

SourceForge.net
Bugs item #1236048, was opened at 2005-07-11 17:14
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=1236048&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: None
Group: Latest code in CVS
Status: Open
Resolution: None
Priority: 5
Submitted By: obvious (obvious_account)
Assigned to: Nobody/Anonymous (nobody)
Summary: java.lang.StackOverflowError

Initial Comment:
There is problem with js execution.
At page1 I try to create frame using:
<script>
    document.write('<frameset>');
        document.write('<frame src="page2.html"
name="leftFrame">');
    document.write('</frameset>');
</script>

Page2 looks in the following way:
<html>
<body>
<a onClick="alert('!!!');" title="Virtuozzo">Virtuozzo</a>
</body>
</html>

If you try to load page1, get frame "leftFrame" and click
on button "Virtuozzo", you'll
get "java.lang.StackOverflowError" error :( .

WebClient client = new WebClient();
        URL url = new URL("file://c:/page1.html");
        HtmlPage page = (HtmlPage) client.getPage(url);
        page = (HtmlPage) client.getWebWindowByName
("leftFrame").getEnclosedPage();
        page = (HtmlPage) page.getFirstAnchorByText
("Virtuozzo").click();

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=448266&aid=1236048&group_id=47038


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
HtmlUnit-develop mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop