NPE Concerning Fonts

Whenever I try to run a jME3 test I get an NPE about 'fonts can't be null'.  I'm running it from Eclipse, so I figure I could be missing resources or something…



NPE is thrown from com.jme3.font.BitmapText:31

Did you include the proper source packages? You should include core-data as it has the bitmap font. If it's null it means the font failed to load (in other words, the file /fonts/cooper.fnt should be in the classpath).

Momoko_Fan said:

Did you include the proper source packages? You should include core-data as it has the bitmap font. If it's null it means the font failed to load (in other words, the file /fonts/cooper.fnt should be in the classpath).


:D  I just saw that...  I added the src/core-data but missed src/test-data.  Now that I've got it set up I can put together the Eclipse tutorial we discussed with zathras some weeks back.