Page 1 of 1

stack overflow at line 0

Posted: Fri Jan 27, 2012 4:20 pm
by maxim.kovalev
The problem of "stack overflow at line 0" in the IE may be associated with Oxygen Author Applet?

Re: stack overflow at line 0

Posted: Fri Jan 27, 2012 4:25 pm
by Radu
Hi Maxim,

It's more likely that you have a recursive JavaScript function, if the Java applet has problems they should be displayed in the Java console.
You can google "stack overflow at line 0", it seems a lot of people had this problem.
Maybe you can try to debug the JavaScript code in the browser.

Regards,
Radu

Re: stack overflow at line 0

Posted: Sun Jan 29, 2012 11:47 am
by maxim.kovalev
Radu wrote:Hi Maxim,

It's more likely that you have a recursive JavaScript function, if the Java applet has problems they should be displayed in the Java console.
You can google "stack overflow at line 0", it seems a lot of people had this problem.
Maybe you can try to debug the JavaScript code in the browser.

Regards,
Radu
Im using qooxdoo framework, java 1.6, ie 8. JavaScript is fine, java applet consol is clear. This only ie bug.
I have one applet in a js page. When the page is loaded, I get a dialog box saying "Stack overflow at line: 0". It does not come all the time. When it comes, it comes just after the applet is loaded. After click OK button functionality of application works fine.

I am not sure whether it is an applet problem or a javascript problem. The problem occurs in all the pages having applet; the "Stack overflow at line: 0" popup appears sporadically. There are pages without applets and popup does not appear for them.

I do use netscape.javascript.JSObject for applet to javascript communication. And there are calls from javascript to applet methods as well.

Any suggestion?

Re: stack overflow at line 0

Posted: Mon Jan 30, 2012 12:10 pm
by Radu
Hi Maxim,

Are there any calls from the Java Applet back to the JavaScript?
For example in the AuthorComponentSample Java class we have an example like:

Code: Select all

getAppletContext().showDocument(new URL("javascript:onLoad()"));
I do not know what to advice you, you should try to debug the Web page loading.

Regards,
Radu

Re: stack overflow at line 0

Posted: Mon Jan 30, 2012 12:17 pm
by maxim.kovalev
Radu wrote:Hi Maxim,

Are there any calls from the Java Applet back to the JavaScript?
For example in the AuthorComponentSample Java class we have an example like:

Code: Select all

getAppletContext().showDocument(new URL("javascript:onLoad()"));
I do not know what to advice you, you should try to debug the Web page loading.

Regards,
Radu
Hi Radu. Thanks for your reply.
Yes, there are function calls from author component.
The problem is that the debugger of ie is silent and no error is seen.