"Failed to create display" – Lwjgl Exception after building

Hey guys, :slight_smile:
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
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.

destro :slight_smile:

I think, I found the error.
It seems, that the assets.jar isn’t created. But I didn’t change any settings, it’s also listed in the SDK at “Libraries” (The app runs fine in the IDE).

EDIT: I found this line in the log of the build:
Not copying library C:\Users[USER]\Documents\jMonkeyProjects[PROJECT]\assets , it's a directory.

This happens even when I create a brand new project, add a texture to the blue cube and build the project. :frowning:

EDIT²: I read, this would be handled inside the assets-impl.xml. I didn’t change it, this is it’s content:

I found this post on the forum:

But his workaround isn’t solving the problem on my pc. :frowning: