I keep getting this annoying crash
#1
java.lang.ArrayIndexOutOfBoundsException: 0
org.jbox2d.dynamics.Island.a(Island.java:86)
org.jbox2d.dynamics.PhysicsWorld.a(PhysicsWorld.java:573)
net.buildism.t.r(World.java:723)
net.buildism.af.h(Game.java:217)
net.buildism.f.p(Main.java:708)
net.buildism.MainApplet.run(MainApplet.java:220)
java.lang.Thread.run(Unknown Source)


Usually right after I set the ball rolling in my contraption.
Reply
#2
I know, when I use Buildism, I use the terrain tool and when I press, it just crashes! Infact, it neally happens with every tool! This is the crash code I got:

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:475)
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:636)
net.buildism.a.b.a(DefaultInputProcessor.java:319)
net.buildism.l.p(Main.java:751)
net.buildism.MainApplet.run(MainApplet.java:210)
java.lang.Thread.run(Unknown Source)
Reply
#3
(01-09-2012, 06:39 PM)King Wrote: I know, when I use Buildism, I use the terrain tool and when I press, it just crashes! Infact, it neally happens with every tool! This is the crash code I got:

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:475)
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:636)
net.buildism.a.b.a(DefaultInputProcessor.java:319)
net.buildism.l.p(Main.java:751)
net.buildism.MainApplet.run(MainApplet.java:210)
java.lang.Thread.run(Unknown Source)

That happens when you try to add terrain to a world that's too big. It might be fixable, but for now just don't do that.

Qwertygiy, that's a bug in Box2D I think. I haven't seen in show up in a year.
Reply
#4
Ok, thanks Jacob_.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)