jmetest.renderer.loader.TestModelClones crash

with the latest CVS I’m getting this error when trying to run TestModelClones:

Mar 27, 2005 1:08:03 PM com.jme.scene.Node attachChild
INFO: Child (MD2 mesh88514531) attached to this node (XML loaded scene)
Mar 27, 2005 1:08:03 PM com.jme.scene.Node <init>
INFO: Node created.
Mar 27, 2005 1:08:04 PM com.jme.scene.Node attachChild
INFO: Child (MD2 mesh88514531copy) attached to this node (XML loaded scenecopy)
java.lang.NullPointerException
        at jmetest.renderer.loader.TestModelClones.putMd2Models(Unknown Source)
        at jmetest.renderer.loader.TestModelClones.simpleInitGame(Unknown Source)
        at com.jme.app.SimpleGame.initGame(Unknown Source)
        at com.jme.app.BaseGame.start(Unknown Source)
        at jmetest.renderer.loader.TestModelClones.main(Unknown Source)

Fixed and committed.

I should mention that the controller for the Dr. Freak model isn’t being found, so he won’t be animated. I’m looking into what caused this. The check I put it will keep the demo running though.

Thanks! :slight_smile: