Page 1 of 1

getting error in Dynamic tree of jbox2d

Posted: Mon Sep 19, 2016 9:24 am
by asingh12203
Hello !
I am Face a problem with jbox2d. i m creating bullet dynamic, After some time got this expection which is pasted below.

Exception in thread "Thread-19" java.lang.ArrayIndexOutOfBoundsException: -1
at org.jbox2d.collision.broadphase.DynamicTree.getFatAABB(DynamicTree.java:158)
at org.jbox2d.collision.broadphase.DefaultBroadPhaseBuffer.testOverlap(DefaultBroadPhaseBuffer.java:120)
at org.jbox2d.dynamics.ContactManager.collide(ContactManager.java:277)
at org.jbox2d.dynamics.World.step(World.java:626)
at com.apargames.scribbledarena.CustomGame.UpdateStateRunning(CustomGame.java:196)
Please any one has any idea about this problem please let me know as soon as possible.

Thanks
Ajay Singh