The BufferedImage is not null at this point but the exception is always thrown. I am using 1.5.0.
java.lang.NullPointerException
at sun.awt.windows.WinCachingSurfaceManager.flush(Unknown Source)
at java.awt.image.BufferedImage.flush(Unknown Source)
at net.java.games.jogl.GLJPanel$1.run(GLJPanel.java:137)
at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:232)
at net.java.games.jogl.GLJPanel.display(GLJPanel.java:98)
at net.java.games.jogl.Animator$1.run(Animator.java:104)
at java.lang.Thread.run(Unknown Source)