Does anyone know what it means when an error message comes up saying "Cannot Destroy Context While It is Current"? I am using processing in eclipse on a 10.6 OS X. How would I fix this?
I had written a program on a windows xp computer with the latest processing using the eclipse IDE. When I tried bringing it over to Mac OSX 10.6, however, I got an error saying:
Exception in thread "Animation Thread" javax.media.opengl.GLException: Can not destroy context while it is current
at com.sun.opengl.impl.GLContextImpl.destroy(GLContextImpl.java:176)
at processing.opengl.PGraphicsOpenGL.allocate(PGraphicsOpenGL.java:202)
at processing.core.PGraphics3D.setSize(PGraphics3D.java:316)
at processing.core.PApplet.resizeRenderer(PApplet.java:902)
at processing.core.PApplet.size(PApplet.java:964)
at processing.core.PApplet.size(PApplet.java:930)
at functional3dpolygonviewer.setup(functional3dpolygonviewer.java:89)
at processing.core.PApplet.handleDraw(PApplet.java:1372)
at processing.core.PApplet.run(PApplet.java:1300)
at java.lang.Thread.run(Thread.java:637)
I read on the old forum that a fix was to use the old core library from 1.03 processing. However, I can't figure out a way to access it. Can anyone explain how to access it, or how to fix this problem?