Problem running JME 3 Tutorial (1) - Hello SimpleApplication

Hello, today I’ve downloaded nighty build jME3_2011-10-18.zip and tried to launch my first application, but I’ve faced with some exceptions, here is my output:



[java]

run:

окт 18, 2011 5:01:01 PM com.jme3.system.JmeSystem initialize

INFO: Running on jMonkeyEngine 3.0.0 Beta

окт 18, 2011 5:01:01 PM com.jme3.system.Natives extractNativeLibs

INFO: Extraction Directory #1: file:/D:/

окт 18, 2011 5:01:01 PM com.jme3.system.Natives extractNativeLibs

INFO: Extraction Directory #2: D:avmatisjme3test

окт 18, 2011 5:01:01 PM com.jme3.system.Natives extractNativeLibs

INFO: Extraction Directory #3: D:avmatisjme3test

окт 18, 2011 5:01:01 PM com.jme3.system.lwjgl.LwjglAbstractDisplay run

INFO: Using LWJGL 2.8.1

окт 18, 2011 5:01:01 PM com.jme3.system.lwjgl.LwjglDisplay createContext

INFO: Selected display mode: 320 x 200 x 16 @59Hz

окт 18, 2011 5:01:01 PM com.jme3.app.Application handleError

SEVERE: Failed to create display

org.lwjgl.LWJGLException: Failed to set display mode (-1).

at org.lwjgl.opengl.WindowsDisplay.nSwitchDisplayMode(Native Method)

at org.lwjgl.opengl.WindowsDisplay.switchDisplayMode(WindowsDisplay.java:298)

at org.lwjgl.opengl.Display.switchDisplayMode(Display.java:359)

at org.lwjgl.opengl.Display.create(Display.java:850)

at org.lwjgl.opengl.Display.create(Display.java:782)

at com.jme3.system.lwjgl.LwjglDisplay.createContext(LwjglDisplay.java:140)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:113)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:205)

at java.lang.Thread.run(Thread.java:722)



окт 18, 2011 5:01:01 PM com.jme3.app.Application handleError

SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]

java.lang.IllegalStateException

at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:147)

at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:185)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:223)

at java.lang.Thread.run(Thread.java:722)





Exception: java.lang.NullPointerException thrown from the UncaughtExceptionHandler in thread “LWJGL Renderer Thread”

BUILD SUCCESSFUL (total time: 13 seconds)

[/java]

You try to run the application with an unsupported screen resolution.

normen, thank you for response. I chose different resolutions plus sellected/disellected flag for fullscreen mode, my actual resolution is 1920x1200. May you push me to the right way?

Can you run any of the tests when you double-click the nightly jMonkeyEngine3.jar? If not, try installing a newer graphics card driver.