i’ve just updated JMP, and i now have got this error:
[patch]java.lang.ArrayIndexOutOfBoundsException: 1
at com.bulletphysics.collision.shapes.QuantizedBvhNodes.setQuantizedAabbMax(QuantizedBvhNodes.java:170)
at com.bulletphysics.collision.shapes.QuantizedBvhNodes.setQuantizedAabbMax(QuantizedBvhNodes.java:143)
at com.bulletphysics.collision.shapes.OptimizedBvh.setInternalNodeAabbMax(OptimizedBvh.java:94)
at com.bulletphysics.collision.shapes.OptimizedBvh.buildTree(OptimizedBvh.java:507)
at com.bulletphysics.collision.shapes.OptimizedBvh.build(OptimizedBvh.java:318)
at com.bulletphysics.collision.shapes.BvhTriangleMeshShape.<init>(BvhTriangleMeshShape.java:80)
at com.bulletphysics.collision.shapes.BvhTriangleMeshShape.<init>(BvhTriangleMeshShape.java:63)
at com.jme3.bullet.collision.shapes.MeshCollisionShape.createShape(MeshCollisionShape.java:122)
at com.jme3.bullet.collision.shapes.MeshCollisionShape.createCollisionMesh(MeshCollisionShape.java:77)
at com.jme3.bullet.collision.shapes.MeshCollisionShape.<init>(MeshCollisionShape.java:65)
at com.jme3.bullet.util.CollisionShapeFactory.createSingleMeshShape(CollisionShapeFactory.java:174)
at com.jme3.bullet.util.CollisionShapeFactory.createCompoundShape(CollisionShapeFactory.java:65)
at com.jme3.bullet.util.CollisionShapeFactory.createCompoundShape(CollisionShapeFactory.java:85)
at com.jme3.bullet.util.CollisionShapeFactory.createMeshCompoundShape(CollisionShapeFactory.java:94)
at com.jme3.bullet.util.CollisionShapeFactory.createMeshShape(CollisionShapeFactory.java:134)
at mygame.Main.simpleInitApp(Main.java:113)
at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:214)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:136)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:193)
at java.lang.Thread.run(Thread.java:662)[/patch]
according to this the error should be at line 113 of the simpleInitApp method, and this is the line of code:[java]com.jme3.bullet.collision.shapes.CollisionShape sceneShape =[/java]and this contains no array.
before the update, it worked correctely. what should i do to make it work again?
Oh, @Momoko_Fan also had problems with this error message Since which build build does that happen? Did you update the day before?
i updated today, and it didn’t happen before.
How should i solve it?
I mean, did you update before? Were you already using the nightlies? You will have to checkout a version that works for you and use that (see jMP Manual about “using a custom jme3 version”) or go back to alpha-3 if you were using that before.
i update every day, and with the version of yesterday, it worked. Maybe it’ll work again when i update tomorrow.
I committed a fix for this problem and run a build right now, however I don’t know if the change of @Momoko_Fan I reverted was needed for something else: http://code.google.com/p/jmonkeyengine/source/detail?r=6665
i updated again, and now it works.
thanks normen