stack overflow at line 0

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
maxim.kovalev
Posts: 35
Joined: Fri Nov 11, 2011 10:34 am

stack overflow at line 0

Post by maxim.kovalev » Fri Jan 27, 2012 4:20 pm

The problem of "stack overflow at line 0" in the IE may be associated with Oxygen Author Applet?

Radu
Posts: 7103
Joined: Fri Jul 09, 2004 5:18 pm

Re: stack overflow at line 0

Post by Radu » Fri Jan 27, 2012 4:25 pm

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

maxim.kovalev
Posts: 35
Joined: Fri Nov 11, 2011 10:34 am

Re: stack overflow at line 0

Post by maxim.kovalev » Sun Jan 29, 2012 11:47 am

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?

Radu
Posts: 7103
Joined: Fri Jul 09, 2004 5:18 pm

Re: stack overflow at line 0

Post by Radu » Mon Jan 30, 2012 12:10 pm

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

maxim.kovalev
Posts: 35
Joined: Fri Nov 11, 2011 10:34 am

Re: stack overflow at line 0

Post by maxim.kovalev » Mon Jan 30, 2012 12:17 pm

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.

Post Reply