Login  Register

Can not destroy context while it is current

Posted by Martin on Nov 15, 2011; 12:01pm
URL: https://forum.jogamp.org/Can-not-destroy-context-while-it-is-current-tp3509431.html

Hi folks,
Some jzy3d users are still using version 0.8 which still uses Jogl 1.1.1.
I'd like to know if some of you remember the meaning of the following exception:

Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: Can
not destroy context while it is current
       at com.sun.opengl.impl.GLContextImpl.destroy(GLContextImpl.java:176)
       at javax.media.opengl.GLJPanel.handleReshape(GLJPanel.java:1014)
       at javax.media.opengl.GLJPanel.paintComponent(GLJPanel.java:500)
       at javax.swing.JComponent.paint(Unknown Source)

This appears after resizing the window on "some" windows xp computer. Sorry for the lack of precision.

Regards,
Martin