Hi all,
While trying to save a texture in jMe, I have got this exception, it exactly happend, when I tried to serialized the texture that come from the ProceduralTextureGenerator class, I think its because it loads the texture from an ImageIcon, so m_location in the TextureKey will be null their.
My simple hack was to check for null. May be its not the best solution.
java.lang.NullPointerException
at com.jme.util.TextureKey.write(TextureKey.java:145)
at com.jme.util.export.binary.BinaryExporter.processBinarySavable(Unknown Source)