Problem running the tutorials - solved

I’m trying to use the tutorials here https://wiki.jmonkeyengine.org/legacy/doku.php , Netbeans 6.9.1 & JME 2.0.1, but I’m getting java.lang.NullPointerException errors every time the tutorials try to load files such as textures, sounds, etc.

Figured it was unable to find the files in the default locations, so tried moving them to different folders and updating the paths, but the code is still unable to find them. Any suggestions?

Perhaps you forgot the include the jme3testdata.jar in lib? It contains all the resources for jME3 that are required for the tests.

1 Like

Thanks, I’ll give it a try. Didn’t think I would need a jME3 file since I´m running jME2.0.1.



Edit: Tried it, didn’t work, same error message.

Edit 2: Solved it, moved all the files to another folder and updated the path again, works now.

1 Like