When I'm building on the Obsolescent Course...
#1
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.
Reply
#2
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.
Reply
#3
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!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)