"format may not be null" when loading font

Hm I made a font using “Bitmap font generator” but when I try to load it I get the following error. What is wrong?



java.lang.NullPointerException: format may not be null.

at com.jme3.texture.Image.setFormat(Image.java:452)

at com.jme3.texture.plugins.TGALoader.load(TGALoader.java:456)

at com.jme3.texture.plugins.TGALoader.load(TGALoader.java:87)

at com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java:243)

at com.jme3.asset.DesktopAssetManager.loadTexture(DesktopAssetManager.java:296)

at com.jme3.font.plugins.BitmapFontLoader.load(BitmapFontLoader.java:108)

at com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java:243)

at com.jme3.asset.DesktopAssetManager.loadFont(DesktopAssetManager.java:345)

Please use the PNG format… Apparently grayscale TGAs are not supported.