[ 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

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:

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:
        document.write('<frame src="page2.html"

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

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
        page = (HtmlPage) page.getFirstAnchorByText


You can respond by visiting:

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]