CraftBook 3

CraftBook 3

139k Downloads

Could not pass event BlockRedstoneEvent to CraftBook v2051-390888b org.bukkit.event.EventException

LadyCailinBot opened this issue ยท 6 comments

commented

CRAFTBOOK-2546 - Reported by paulj1x

CraftBook 3.6.2
Craftbukkit CraftBukkit version git-Spigot-844 (MC: 1.5.2) (Implementing API version 1.5.2-R0.2-SNAPSHOT)
I'm getting hundreds of these:
[SEVERE] Could not pass event BlockRedstoneEvent to CraftBook v2051-390888b
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:26)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)
at com.sk89q.craftbook.util.ICUtil.setState(ICUtil.java:91)
at com.sk89q.craftbook.circuits.ic.AbstractChipState.set(AbstractChipState.java:44)
at com.sk89q.craftbook.circuits.ic.families.FamilySISO$ChipStateSISO.setOutput(FamilySISO.java:91)
at com.sk89q.craftbook.circuits.gates.logic.Clock.triggerClock(Clock.java:92)
at com.sk89q.craftbook.circuits.gates.logic.Clock.think(Clock.java:64)
at com.sk89q.craftbook.circuits.ic.SelfTriggeredICMechanic.think(SelfTriggeredICMechanic.java:46)
at com.sk89q.craftbook.MechanicManager.think(MechanicManager.java:696)
at com.sk89q.craftbook.MechanicClock.run(MechanicClock.java:40)
at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftTask.run(CraftTask.java:58)
at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344)
at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:509)
at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:472)
at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:404)
at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
Caused by: java.lang.IllegalArgumentException: Item cannot be null
at org.apache.commons.lang.Validate.noNullElements(Validate.java:410)
at org.bukkit.craftbukkit.v1_5_R3.inventory.CraftInventory.addItem(CraftInventory.java:268)
at com.sk89q.craftbook.util.InventoryUtil.addItemsToInventory(InventoryUtil.java:39)
at com.sk89q.craftbook.circuits.Pipes.searchNearbyPipes(Pipes.java:266)
at com.sk89q.craftbook.circuits.Pipes.searchNearbyPipes(Pipes.java:233)
at com.sk89q.craftbook.circuits.Pipes.searchNearbyPipes(Pipes.java:233)
at com.sk89q.craftbook.circuits.Pipes.searchNearbyPipes(Pipes.java:233)
at com.sk89q.craftbook.circuits.Pipes.searchNearbyPipes(Pipes.java:233)
at com.sk89q.craftbook.circuits.Pipes.searchNearbyPipes(Pipes.java:233)
at com.sk89q.craftbook.circuits.Pipes.searchNearbyPipes(Pipes.java:233)
at com.sk89q.craftbook.circuits.Pipes.searchNearbyPipes(Pipes.java:233)
at com.sk89q.craftbook.circuits.Pipes.startPipe(Pipes.java:337)
at com.sk89q.craftbook.circuits.Pipes.onBlockRedstoneChange(Pipes.java:372)
at com.sk89q.craftbook.MechanicManager.dispatchBlockRedstoneChange(MechanicManager.java:336)
at com.sk89q.craftbook.bukkit.MechanicListenerAdapter.handleDirectWireInput(MechanicListenerAdapter.java:312)
at com.sk89q.craftbook.bukkit.MechanicListenerAdapter.onBlockRedstoneChange(MechanicListenerAdapter.java:285)
at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 19 more

commented

Comment by me4502

Please test this on 3.6.3r3, and provide an error report of that occurrence.

commented

Comment by paulj1x

Here's after updating to 3.6.3r3
[SEVERE] Could not pass event BlockRedstoneEvent to CraftBook v2123-024220d
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:26)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)
at com.sk89q.craftbook.util.ICUtil.setState(ICUtil.java:89)
at com.sk89q.craftbook.circuits.ic.AbstractChipState.set(AbstractChipState.java:47)
at com.sk89q.craftbook.circuits.ic.families.FamilySISO$ChipStateSISO.setOutput(FamilySISO.java:91)
at com.sk89q.craftbook.circuits.gates.logic.Clock.triggerClock(Clock.java:76)
at com.sk89q.craftbook.circuits.gates.logic.Clock.think(Clock.java:64)
at com.sk89q.craftbook.circuits.ic.SelfTriggeredICMechanic.think(SelfTriggeredICMechanic.java:46)
at com.sk89q.craftbook.MechanicManager.think(MechanicManager.java:695)
at com.sk89q.craftbook.MechanicClock.run(MechanicClock.java:40)
at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftTask.run(CraftTask.java:58)
at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344)
at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:509)
at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:472)
at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:404)
at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
Caused by: java.lang.IllegalArgumentException: Item cannot be null
at org.apache.commons.lang.Validate.noNullElements(Validate.java:410)
at org.bukkit.craftbukkit.v1_5_R3.inventory.CraftInventory.addItem(CraftInventory.java:268)
at com.sk89q.craftbook.util.InventoryUtil.addItemsToInventory(InventoryUtil.java:39)
at com.sk89q.craftbook.circuits.Pipes.searchNearbyPipes(Pipes.java:266)
at com.sk89q.craftbook.circuits.Pipes.searchNearbyPipes(Pipes.java:233)
at com.sk89q.craftbook.circuits.Pipes.searchNearbyPipes(Pipes.java:233)
at com.sk89q.craftbook.circuits.Pipes.searchNearbyPipes(Pipes.java:233)
at com.sk89q.craftbook.circuits.Pipes.searchNearbyPipes(Pipes.java:233)
at com.sk89q.craftbook.circuits.Pipes.searchNearbyPipes(Pipes.java:233)
at com.sk89q.craftbook.circuits.Pipes.searchNearbyPipes(Pipes.java:233)
at com.sk89q.craftbook.circuits.Pipes.searchNearbyPipes(Pipes.java:233)
at com.sk89q.craftbook.circuits.Pipes.startPipe(Pipes.java:337)
at com.sk89q.craftbook.circuits.Pipes.onBlockRedstoneChange(Pipes.java:372)
at com.sk89q.craftbook.MechanicManager.dispatchBlockRedstoneChange(MechanicManager.java:335)
at com.sk89q.craftbook.bukkit.MechanicListenerAdapter.handleDirectWireInput(MechanicListenerAdapter.java:325)
at com.sk89q.craftbook.bukkit.MechanicListenerAdapter.handleRedstoneForBlock(MechanicListenerAdapter.java:298)
at com.sk89q.craftbook.bukkit.MechanicListenerAdapter.onBlockRedstoneChange(MechanicListenerAdapter.java:182)
at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 19 more

commented

Comment by me4502

Thanks, I'll look into it soon.

commented

Comment by me4502

I believe I just fixed this.

commented

Comment by paulj1x

Thanks! I've been running it the last four hours without an error, but the server has been lightly loaded, tomorrow will be the real test.

I am seeing something new:
2013-05-11 20:09:05 [INFO] [CraftBook] Enabling CraftBook v2137-c1f607c
.
.
.
2013-05-11 20:09:06 [INFO] [CraftBook] CraftBook v3.6.3r3 is the latest version available, and the updatability of it is: NO_UPDATE
2013-05-11 20:09:06 [SEVERE] [CraftBook] An error occured loading variables!

commented

Comment by me4502

The variable thing you can ignore, I've since fixed that.