TestShadowPass broken?

Running jmetest.renderer.TestShadowPass.java gives me the following error:



java.lang.IllegalArgumentException: Number of remaining buffer elements is 3, must be at least 4
   at org.lwjgl.BufferChecks.throwBufferSizeException(BufferChecks.java:184)
   at org.lwjgl.BufferChecks.checkBufferSize(BufferChecks.java:199)
   at org.lwjgl.BufferChecks.checkBuffer(BufferChecks.java:224)
   at org.lwjgl.opengl.GL11.glLight(GL11.java:1715)
   at com.jme.scene.state.lwjgl.LWJGLLightState.setDefaultDiffuse(LWJGLLightState.java:394)
   at com.jme.scene.state.lwjgl.LWJGLLightState.setLight(LWJGLLightState.java:144)
   at com.jme.scene.state.lwjgl.LWJGLLightState.apply(LWJGLLightState.java:103)
   at com.jme.renderer.lwjgl.LWJGLRenderer.applyStates(LWJGLRenderer.java:1593)
   at com.jme.renderer.lwjgl.LWJGLRenderer.draw(LWJGLRenderer.java:961)
   at com.jme.scene.batch.TriangleBatch.draw(TriangleBatch.java:269)
   at com.jme.renderer.RenderQueue.renderOpaqueBucket(RenderQueue.java:234)
   at com.jme.renderer.RenderQueue.renderBuckets(RenderQueue.java:222)
   at com.jme.renderer.Renderer.renderQueue(Renderer.java:451)
   at com.jme.renderer.pass.ShadowedRenderPass.renderScene(ShadowedRenderPass.java:420)
   at com.jme.renderer.pass.ShadowedRenderPass.doRender(ShadowedRenderPass.java:305)
   at com.jme.renderer.pass.Pass.renderPass(Pass.java:90)
   at com.jme.renderer.pass.BasicPassManager.renderPasses(BasicPassManager.java:89)
   at com.jme.app.SimplePassGame.render(SimplePassGame.java:79)
   at com.jme.app.BaseGame.start(BaseGame.java:69)
   at jmetest.renderer.TestShadowPass.main(TestShadowPass.java:95)



Was working a few weeks ago when I looked at it. Running on a Windows XP sp2 box.

Thanks for pointing it out, fixing now.

Fixed, will be in CVS on next checkin.