Lift

585k Downloads

Error spammed server.log

Kartus opened this issue ยท 2 comments

commented

When my players was standing/entry on a goldblock and tried to lift up, he received in spam intervall the message in chat "lift already in use" or something like that and can't leave the lift and server.log spammed these error:

2012-11-03 16:29:24 [WARNING] [Lift] Task #27 for Lift v27 generated an exception
java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftVillager cannot be cast to org.bukkit.entity.Player
at net.croxis.plugins.lift.ElevatorManager.run(ElevatorManager.java:238)
at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:53)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:510)
at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)

commented

+1...This is rare, but it happens.

2012-11-17 11:17:04 [WARNING] [Lift] Task #60 for Lift v27 generated an exception
java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftWolf cannot be cast to org.bukkit.entity.Player
    at net.croxis.plugins.lift.ElevatorManager.run(ElevatorManager.java:238)
    at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:53)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:510)
    at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
    at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
2012-11-17 11:17:04 [WARNING] [Lift] Task #60 for Lift v27 generated an exception
java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftWolf cannot be cast to org.bukkit.entity.Player
    at net.croxis.plugins.lift.ElevatorManager.run(ElevatorManager.java:238)
    at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:53)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:510)
    at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
    at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
2012-11-17 11:17:04 [WARNING] [Lift] Task #60 for Lift v27 generated an exception
java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftWolf cannot be cast to org.bukkit.entity.Player
    at net.croxis.plugins.lift.ElevatorManager.run(ElevatorManager.java:238)
    at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:53)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:510)
    at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
    at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)

... e.t.c.

2012-11-17 11:48:17 [WARNING] [Lift] Task #60 for Lift v27 generated an exception
java.lang.ClassCastException
2012-11-17 11:48:17 [WARNING] [Lift] Task #60 for Lift v27 generated an exception
java.lang.ClassCastException
2012-11-17 11:48:17 [WARNING] [Lift] Task #60 for Lift v27 generated an exception
java.lang.ClassCastException
2012-11-17 11:48:17 [WARNING] [Lift] Task #60 for Lift v27 generated an exception
java.lang.ClassCastException

...e.t.c.


~ 30 minutes =  15 Mb log
commented

This is resolved in version 28