@Override
    public void simpleUpdate(float tpf) {
        frame++;
        if (frame == 2) {
            LightProbeFactory.makeProbe(stateManager.getState(EnvironmentCamera.class), rootNode, new JobProgressAdapter<LightProbe>() {
                @Override
                public void done(LightProbe result) {
                    enqueue(() -> {
                        rootNode.attachChild(model);
                        rootNode.addLight(result);
                    });
                }
            });
        }
    }
This test case validates a shader compilation fix with a model using a PBR material in combination with a
SkinningControl. When you run this application and don't see a RenderException, the test is successful.
For a detailed explanation consult the GitHub issue: https://github.com/jMonkeyEngine/jmonkeyengine/issues/1340
-rvandoosselaer
jme3-examples/src/main/java/jme3test/light/pbr/TestIssue1340.java