LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: kulesz on January 09, 2013, 08:21:19

Title: Problem with loading applet on Mac
Post by: kulesz on January 09, 2013, 08:21:19
Hi,

I'm using LWJGL through an LibGDX library, which uses it as it's backend. I've already written quite a large application which works as an java applet in browser, but recently I tried to open it on Mac. The appletloader seems to work OK, but just after loading the application I got:

Exception in thread "LWJGL Application" java.lang.NullPointerException
at org.lwjgl.opengl.GL11.glGetString(GL11.java:1771)
at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.initiateGLInstances(LwjglGraphics.java:205)
at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.setupDisplay(LwjglGraphics.java:161)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:139)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:131)

Probably it crashes right on initialization of all GL stuff.
I tried on LibGDX forum, but it clearly seems to be an LWJGL problem. Is there something I can do with it?