@Test
    public void testIssue1138() {
        AssetManager am = JmeSystem.newAssetManager(PreventCoreIssueRegressions.class.getResource("/com/jme3/asset/Desktop.cfg"));
        Node cgModel = (Node)am.loadModel("Models/Elephant/Elephant.mesh.xml");
        cgModel.rotate(0f, -1f, 0f);
        cgModel.scale(0.04f);

        AnimComposer composer = cgModel.getControl(AnimComposer.class);
        composer.setCurrentAction("legUp");
        SkinningControl sControl = cgModel.getControl(SkinningControl.class);

        for (Joint joint : sControl.getArmature().getJointList()) {
            Assert.assertTrue("Invalid translation for joint " + joint.getName(),
                    Vector3f.isValidVector(joint.getLocalTranslation()));
        }

        cgModel.updateLogicalState(1.0f);
        cgModel.updateGeometricState();

        for (Joint joint : sControl.getArmature().getJointList()) {
            Assert.assertTrue("Invalid translation for joint " + joint.getName(),
                    Vector3f.isValidVector(joint.getLocalTranslation()));
        }
    }
Test case for JME issue #1138: Elephant's legUp animation sets Joint translation to NaN.
jme3-core/src/test/java/com/jme3/test/PreventCoreIssueRegressions.java