03-01-2012, 03:23 AM
so i was just making a new game when i wanted some ground...the world type was big so i decided to try and add some hills when..it froze! i was first like"must be lag" but then it said it crashed and it told me to put this code in....
java.lang.ArrayIndexOutOfBoundsException: 2147483647
org.jbox2d.collision.BroadPhase.a(BroadPhase.java:242)
org.jbox2d.collision.a.l.b(Shape.java:349)
org.jbox2d.dynamics.Body.a(Body.java:386)
net.buildism.object.Terrain.drawHeightmap(Terrain.java:363)
net.buildism.object.Terrain.addToWorld(Terrain.java:156)
net.buildism.aa.a(World.java:476)
net.buildism.object.GameObject.onParentChanged(GameObject.java:386)
net.buildism.object.GameObject$2.handle(GameObject.java:123)
net.buildism.object.GameObject.onPropChanged(GameObject.java:633)
net.buildism.object.GameObject.setProp(GameObject.java:461)
net.buildism.object.GameObject.setProp(GameObject.java:495)
net.buildism.object.GameObject.setParent(GameObject.java:507)
net.buildism.aa.b(World.java:637)
net.buildism.a.b.a(DefaultInputProcessor.java:319)
net.buildism.l.p(Main.java:768)
net.buildism.MainApplet.run(MainApplet.java:210)
java.lang.Thread.run(Unknown Source)
any ideas that you know whats wrong?
java.lang.ArrayIndexOutOfBoundsException: 2147483647
org.jbox2d.collision.BroadPhase.a(BroadPhase.java:242)
org.jbox2d.collision.a.l.b(Shape.java:349)
org.jbox2d.dynamics.Body.a(Body.java:386)
net.buildism.object.Terrain.drawHeightmap(Terrain.java:363)
net.buildism.object.Terrain.addToWorld(Terrain.java:156)
net.buildism.aa.a(World.java:476)
net.buildism.object.GameObject.onParentChanged(GameObject.java:386)
net.buildism.object.GameObject$2.handle(GameObject.java:123)
net.buildism.object.GameObject.onPropChanged(GameObject.java:633)
net.buildism.object.GameObject.setProp(GameObject.java:461)
net.buildism.object.GameObject.setProp(GameObject.java:495)
net.buildism.object.GameObject.setParent(GameObject.java:507)
net.buildism.aa.b(World.java:637)
net.buildism.a.b.a(DefaultInputProcessor.java:319)
net.buildism.l.p(Main.java:768)
net.buildism.MainApplet.run(MainApplet.java:210)
java.lang.Thread.run(Unknown Source)
any ideas that you know whats wrong?
:crazy: