PDA

View Full Version : StakOverflowError when compiling lzx


k-billy
09-11-2003, 11:11 AM
Hello,

I'm experiencing a StackOverflowError when compiling an lzx canvas. The canvas includes a number of different libraries. The error doesn't include a stack trace, however, I was able to confirm that the error is not occurring in our webapp by setting a breakpoint on the entry servlet to our web application.

Has anyone experienced this problem with the Laszlo compiler? Is there anything in the libraries we are including that might be causing this to happen?

Regards,

Caleb

antun
09-11-2003, 11:34 AM
Hey Caleb

Where are you seeing this error - in the browser? In the server log? Can you tell me what version of Java you're using? Also what servlet container (Tomcat?) are you using?

-Antun

k-billy
09-11-2003, 11:43 AM
Hi Antun,

I am seeing the error in the server terminal window. I am using Java 1.4.1 for the Mac OSX, and Jetty 4.2.11 as the servlet container.

antun
09-11-2003, 11:49 AM
Is there a specific point at which it happens - for example, if you remove some of the includes, does the stackOverflowError go away?

-Antun

bloch
09-11-2003, 11:55 AM
It would definitely be helpful
to see the entire error message
from the log.

-Eric

k-billy
09-11-2003, 12:01 PM
Yeah, depending on the include statements it will ome and go. It seems to be somewhat intermittent. I will get the error log for you in a moment.

ch_bowen
09-11-2003, 12:18 PM
- compiling /usr/local/Jetty-4.2.11/webapps/accff/lzx/test.lzx...
15:33:05.278 WARN!! Error for /accff/lzx/test.lzx
java.lang.StackOverflowError

It seems if we comment out an include statement, it compiles fine....and it sometimes compiles fine if we turn the debugger off.

ch_bowen
09-12-2003, 06:12 AM
Don't really know the exact cause of the problem, but when we changed the order of the include statements, this solved the problem.