TheYeti/mcMMO — Issue #105: Some errors i get
Author: strontkever
Created: 2012-02-05 18:58:04+00:00
State: open

2012-02-05 12:20:28 [SEVERE] Could not pass event org.bukkit.event.entity.EntityDamageByEntityEvent to mcMMO
java.lang.ClassCastException: org.bukkit.craftbukkit.CraftOfflinePlayer cannot be cast to org.bukkit.entity.Player
at com.gmail.nossr50.skills.Taming.getOwnerName(Taming.java:62)
at com.gmail.nossr50.Combat.combatChecks(Combat.java:148)
at com.gmail.nossr50.listeners.mcEntityListener.onEntityDamage(mcEntityListener.java:144)
at org.bukkit.plugin.java.JavaPluginLoader$66.execute(JavaPluginLoader.java:729)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
at net.minecraft.server.EntityHuman.attack(EntityHuman.java:786)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:942)
at net.minecraft.server.Packet7UseEntity.handle(SourceFile:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:587)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

this error keeps going on with the same errors from the taming.java:62
this keeps looping and kills the cpu.
--------------------------------------------------

and these errors in combination with mobarena (im posting this on the mobarena section too)

2012-02-05 17:36:37 [SEVERE] Could not pass event org.bukkit.event.entity.EntityDamageByEntityEvent to MobArena
java.lang.StackOverflowError
at org.bukkit.craftbukkit.entity.CraftSpider.getHandle(CraftSpider.java:16)
at org.bukkit.craftbukkit.entity.CraftSpider.getHandle(CraftSpider.java:8)
at org.bukkit.craftbukkit.entity.CraftLivingEntity.getMaxHealth(CraftLivingEntity.java:52)
at org.bukkit.craftbukkit.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:40)
at com.garbagemule.MobArena.MAListener.onMonsterDamage(Unknown Source)
at com.garbagemule.MobArena.MAListener.onEntityDamage(Unknown Source)
at com.garbagemule.MobArena.MAEntityListener.onEntityDamage(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$66.execute(JavaPluginLoader.java:729)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
at com.gmail.nossr50.Combat.dealDamage(Combat.java:391)
at com.gmail.nossr50.skills.Swords.applySerratedStrikes(Swords.java:167)
at com.gmail.nossr50.Combat.combatChecks(Combat.java:93)
at com.gmail.nossr50.listeners.mcEntityListener.onEntityDamage(mcEntityListener.java:147)
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
[/code]

2012-02-05 14:06:56 [SEVERE] Could not pass event org.bukkit.event.entity.EntityDeathEvent to MobArena
java.lang.NullPointerException
at com.garbagemule.MobArena.ArenaStandard.playerKill(Unknown Source)
at com.garbagemule.MobArena.MAListener.onMonsterDeath(Unknown Source)
at com.garbagemule.MobArena.MAListener.onEntityDeath(Unknown Source)
at com.garbagemule.MobArena.MAEntityListener.onEntityDeath(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$67.execute(JavaPluginLoader.java:736)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:355)
at net.minecraft.server.EntityLiving.dropDeathLoot(EntityLiving.java:673)
at net.minecraft.server.EntityLiving.die(EntityLiving.java:648)
at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:544)
at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:44)
at org.bukkit.craftbukkit.entity.CraftLivingEntity.damage(CraftLivingEntity.java:169)
at com.gmail.nossr50.skills.Swords.bleedSimulate(Swords.java:248)
at com.gmail.nossr50.runnables.mcTimer.run(mcTimer.java:72)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)