CraftBook 3

CraftBook 3

139k Downloads

MC1235 Cultivator java exception

LadyCailinBot opened this issue ยท 1 comments

commented

CRAFTBOOK-2276 - Reported by MUDcraft

This error is spamming my server log

2012-12-03 18:37:47 [WARNING] [CraftBookCircuits] Task #22890 for CraftBookCircuits v1320-57b512e generated an exception
java.lang.ArrayIndexOutOfBoundsException: -1
at net.minecraft.server.TileEntityChest.getItem(TileEntityChest.java:55)
at net.minecraft.server.InventoryLargeChest.getItem(InventoryLargeChest.java:76)
at org.bukkit.craftbukkit.inventory.CraftInventory.getItem(CraftInventory.java:44)
at com.sk89q.craftbook.gates.world.blocks.Cultivator.damageHoe(Cultivator.java:93)
at com.sk89q.craftbook.gates.world.blocks.Cultivator.cultivate(Cultivator.java:74)
at com.sk89q.craftbook.gates.world.blocks.Cultivator.trigger(Cultivator.java:60)
at com.sk89q.craftbook.ic.ICMechanic$1.run(ICMechanic.java:90)
at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:52)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:321)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:509)
at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:473)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:405)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)

This is running on Bukkit 1.3.2 server.

Fairly serious and will crash the server after some period of time.
The cultivator however appears to function correctly although it should not have anything to do at the moment. Guessing this could be related to checking for eligible blocks.

Turning off the cultivator is remedial for the moment.

commented

Comment by me4502

How would that crash the server after some time? It's just the IC giving off an error... Unless the server log filled more than the available space... But I am fixing it now anway.