TestNiftyGui Test dosent work

The TestNiftyGui Test dosent work for me i get the following error



INFO: loadFromFile [Tests/hellojme.xml]

2011-jun-11 01:33:17 com.jme3.asset.DesktopAssetManager locateAsset

VARNING: Cannot locate resource: Tests/hellojme.xm



java.lang.NullPointerException

at com.jme3.niftygui.NiftyJmeDisplay$ResourceLocationJme.getResourceAsStream(NiftyJmeDisplay.java:74)

at de.lessvoid.nifty.tools.resourceloader.ResourceLoader.getResourceAsStream(ResourceLoader.java:64)

at de.lessvoid.nifty.Nifty.loadFromFile(Nifty.java:496)

at de.lessvoid.nifty.Nifty.fromXml(Nifty.java:423)

at jme3test.niftygui.TestNiftyGui.simpleInitApp(TestNiftyGui.java:71)

at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:223)

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

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

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

2011-jun-11 01:33:17 de.lessvoid.nifty.Nifty gotoScreen

INFO: gotoScreen [start]

2011-jun-11 01:33:17 de.lessvoid.nifty.Nifty gotoScreenInternal

INFO: gotoScreenInternal [start]

2011-jun-11 01:33:17 de.lessvoid.nifty.Nifty gotoScreenInternal

VARNING: screen [start] not found



Can some one tell me how to do for the test to find hellojme.xml



any help is greatly appreciated

1 Like

What was the last time you updated your jmp?

Edit: If you created the TestGame project before update, delete it and create again.

1 Like

Fixed in SVN, thanks

glaucomardano said:
What was the last time you updated your jmp?
Edit: If you created the TestGame project before update, delete it and create again.


My JME is up to date and i still have the problem :(

@Momoko_Fan already fixed it in SVN, just repeat the process i said before.

I have updated all i can

Changed path from -Tests/hellojme.xml- to -jme3test/niftygui/hellojme.xml-

now it works