duckdoom5/RpgEssentials — Issue #39: Could not pass even player death error
Author: Devboi
Created: 2012-02-20 20:34:03+00:00
State: open

Error on death

20:32:32 [SEVERE] Could not pass event org.bukkit.event.entity.PlayerDeathEvent
to RpgEssentials
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.
java:1026)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
a:61)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
ava:460)
at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerDeathEvent(C
raftEventFactory.java:367)
at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:171)
at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:546)

at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:612)
at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:213)

at org.bukkit.craftbukkit.entity.CraftLivingEntity.damage(CraftLivingEnt
ity.java:175)
at me.hammale.drugs.drugs.youOd(drugs.java:273)
at me.hammale.drugs.drugs.assignEffect(drugs.java:339)
at me.hammale.drugs.DrugPlayerListener.onPlayerInteract(DrugPlayerListen
er.java:47)
at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.j
ava:340)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
a:61)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
ava:460)
at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
t(CraftEventFactory.java:187)
at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
t(CraftEventFactory.java:157)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:577)
at net.minecraft.server.Packet15Place.handle(SourceFile:39)
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
:552)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7
8)
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)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.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)
... 25 more
Caused by: java.lang.NullPointerException
at me.duckdoom5.RpgEssentials.Listeners.RpgEssentialsEntityListener.onEn
tityDeath(RpgEssentialsEntityListener.java:138)
... 30 more