Console Failure when using station block with RedStone
LadyCailinBot opened this issue ยท 1 comments
CRAFTBOOK-2669 - Reported by lambda
Hey
i am using a station block for minecart with a redstone switch
while switching i got a failure message at the server console but everything works fine
[code]
09:15:24 [SEVERE] Could not pass event CartBlockRedstoneEvent to CraftBook v2513-30982ca
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.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at com.sk89q.craftbook.bukkit.MechanicListenerAdapter$1.run(MechanicListenerAdapter.java:376)
at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:53)
at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:522)
at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226)
at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
Caused by: java.lang.NullPointerException
at com.sk89q.craftbook.util.CartUtils.stop(CartUtils.java:29)
at com.sk89q.craftbook.vehicles.cart.CartStation.stationInteraction(CartStation.java:55)
at com.sk89q.craftbook.vehicles.cart.CartStation.onBlockPower(CartStation.java:37)
at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 11 more
[/code]
Craftbukkit 1.6.2-R0.2
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.12.04.2)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
Sorry, bad english i know :D