I get that strange error… I create the simplest of the materials:
Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
and then printing it out results in an NPE because the
toString() method wants to put the
technique (being the “active technique” by implication) name in the string, but there’s nothing there, no active technique… it’s
null… and here we go…
That’s the new thing in JME 3.1.0-beta1… is this intended? I highly doubt that this is okay this way.