Hey guys,
I’m getting this exception after building my project and executing the *.jar in the dist-folder:
Jun 24, 2013 2:19:08 PM com.jme3.app.Application handleError
SEVERE: Failed to create display
java.lang.NullPointerException
at com.jme3.system.lwjgl.LwjglDisplay.imageToByteBuffer(LwjglDisplay.java:216)
at com.jme3.system.lwjgl.LwjglDisplay.imagesToByteBuffers(LwjglDisplay.java:210)
at com.jme3.system.lwjgl.LwjglDisplay.createContext(LwjglDisplay.java:124)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:113)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:207)
at java.lang.Thread.run(Unknown Source)
Jun 24, 2013 2:19:08 PM com.jme3.system.lwjgl.LwjglAbstractDisplay run
SEVERE: Display initialization failed. Cannot continue
I’m using the latest nightly build on WIndows 7. Other projects are working fine, this one is basically just a modification of the TestJoystick.java.
I’ll see if I can break down the error and create a testcase, but I think sharing the NPE may help.
Yours,
destro