2DWorlds Forums
Game Crashes when using the Terrain Tool. - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: Bug Reports (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=23)
+--- Thread: Game Crashes when using the Terrain Tool. (/showthread.php?tid=8871)



Game Crashes when using the Terrain Tool. - OmegaZero - 02-11-2012

I was trying to change the terrain, and then I got this.
Code:
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)



RE: Game Crashes when using the Terrain Tool. - sirmentio - 03-01-2012

dude i got that too! Big Grin


RE: Game Crashes when using the Terrain Tool. - Paradox - 03-01-2012

This happens to me too.