2DWorlds Forums
When I'm building on the Obsolescent Course... - 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: When I'm building on the Obsolescent Course... (/showthread.php?tid=9659)



When I'm building on the Obsolescent Course... - Dignity - 07-16-2012

java.lang.ArrayIndexOutOfBoundsException: 0
org.jbox2d.dynamics.Island.a(Island.java:86)
org.jbox2d.dynamics.PhysicsWorld.a(PhysicsWorld.java:572)
net.buildism.ag.r(World.java:750)
net.buildism.i.f(Game.java:264)
net.buildism.n.p(Main.java:648)
net.buildism.MainApplet.run(MainApplet.java:235)
java.lang.Thread.run(Unknown Source)

On the downloadable editor. (The online editor lags no matter what I do)
I think its because I have bricks that are changing different sizes at different times.
I just got another, except this one was a negative array something exception.
By switching worlds while my character was out.
java.lang.NegativeArraySizeException
org.jbox2d.dynamics.Island.a(Island.java:118)
org.jbox2d.dynamics.PhysicsWorld.a(PhysicsWorld.java:572)
net.buildism.ag.r(World.java:750)
net.buildism.i.f(Game.java:264)
net.buildism.n.p(Main.java:648)
net.buildism.MainApplet.run(MainApplet.java:235)
java.lang.Thread.run(Unknown Source)

When trying to move between worlds with a script.
The NegativeArraySizeException seems to appear when I try to switch worlds.


RE: When I'm building on the Obsolescent Course... - Jacob__mybb_import1 - 07-16-2012

This is a bug in JBox2D that likes to make a surprise appearance every few months. Having scripts that change things quickly seems to make it happen more often.

Using game:ScheduleTask() around blocks of code that add, remove, or change parts seems to make it happen less often, and is a good idea anyway.


RE: When I'm building on the Obsolescent Course... - Dignity - 07-19-2012

java.lang.NullPointerException
org.jbox2d.dynamics.a.j.a(ContactSolver.java:84)
org.jbox2d.dynamics.Island.a(Island.java:177)
org.jbox2d.dynamics.PhysicsWorld.a(PhysicsWorld.java:572)
net.buildism.ag.r(World.java:750)
net.buildism.i.f(Game.java:264)
net.buildism.n.p(Main.java:648)
net.buildism.MainApplet.run(MainApplet.java:235)
java.lang.Thread.run(Unknown Source)
EDIT: It appears to be my script, nvm.
YOU NEED ERROR HANDLING FOR _G, JACOB!