I met this exception while I was running the demo applet on the web site “http://www.avengina.org/”.
Dose any body know why?
Thanks ;D
The error message is as follow:
javax.media.opengl.GLException: Context not current on current thread
at com.sun.opengl.impl.GLContextImpl.release(GLContextImpl.java:162)
at init.F.a(Unknown Source)
at init.Avengina.destroy(Unknown Source)
at com.sun.opengl.util.JOGLAppletLauncher.destroy(JOGLAppletLauncher.java:439)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
javax.media.opengl.GLException: java.lang.NullPointerException
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:271)
at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:299)
at javax.media.opengl.GLCanvas.display(GLCanvas.java:133)
at G.K.a(Unknown Source)
at init.F.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at O.C.a(Unknown Source)
at O.F.b(Unknown Source)
at O.F.a(Unknown Source)
at O.F.a(Unknown Source)
at F.I.a(Unknown Source)
at init.B.a(Unknown Source)
at G.T.display(Unknown Source)
at com.sun.opengl.impl.GLDrawableHelper.display(GLDrawableHelper.java:78)
at javax.media.opengl.GLCanvas$DisplayAction.run(GLCanvas.java:324)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:194)
at javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:341)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)