Login  Register

stack under/over-flow exception...

Posted by ThomasR on Dec 05, 2016; 5:51pm
URL: https://forum.jogamp.org/stack-under-over-flow-exception-tp4037500.html

I get the following exception running Jogamp's Ardor3D Continuation:
Hello,

Exception in thread "Thread-4" com.jogamp.opengl.GLException: Caught RuntimeException: com.ardor3d.util.Ardor3dException: Error in opengl: stack underflow on thread Thread-4
    at com.jogamp.opengl.GLException.newGLException(GLException.java:76)
    at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1327)
    at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
    at com.jogamp.opengl.awt.GLCanvas$12.run(GLCanvas.java:1438)
    at com.jogamp.opengl.Threading.invoke(Threading.java:223)
    at com.jogamp.opengl.awt.GLCanvas.display(GLCanvas.java:505)
    at jogamp.opengl.GLDrawableHelper.invoke(GLDrawableHelper.java:912)
    at com.jogamp.opengl.awt.GLCanvas.invoke(GLCanvas.java:1118)
    at com.ardor3d.framework.jogl.awt.JoglAwtCanvas.draw(JoglAwtCanvas.java:101)
    at com.ardor3d.framework.FrameHandler.updateFrame(FrameHandler.java:90)

I'm trying to run multiple independent JFrames in an Ardor3D based app. The first JFrame is fine, opening  another
generates the above with some weird flashing between the two frames and then garbage is seen. It happens using
both JoglAwtCanvas and JoglNewtCanvas but not JoglSwingCanvas. I'm running on OS X

Tom