An exception while running a jogl demo

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)

The applet version worked for me so there’s probably something incompatible or incorrectly setup with your computer. Have you tried the webstart version of avengina?

Sorry, it won’t work neither. The error msg is the same.
What version of JRE r u using?
I’m running the latest one “jre1.6.0_03”.
Thank you :slight_smile:

I was using the newest. My machine was windows xp pro, ati x700.

In order to further figure your problem out, you should post what machine you’re running on and also try the latest drivers for your graphics card.