betterphp / BloodMoon

A plugin for Bukkit based Minecraft servers to add a new mechanic similar to the bloodmoon event in Terraria
http://dev.bukkit.org/server-mods/bloodmoon/
9 stars 15 forks source link

Severe Server Error: "could not pass event" -- "Caused by: java.lang.NullPointerException" #49

Closed kernschatten closed 11 years ago

kernschatten commented 11 years ago

This only happens with BloodMoon enabled. Is there a work around or will compatibility with the popular Citizens not be supported?

Thank you.

2013-01-29 18:08:53 [SEVERE] Could not pass event EntityDamageByEntityEvent to Sentry v1.3.1 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 org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:81) at org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:369) at org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:391) at net.minecraft.server.v1_4_R1.EntityLiving.damageEntity(EntityLiving.java:686) at net.minecraft.server.v1_4_R1.EntityHuman.damageEntity(EntityHuman.java:615) at net.minecraft.server.v1_4_R1.EntityPlayer.damageEntity(EntityPlayer.java:308) at net.minecraft.server.v1_4_R1.EntityMonster.m(EntityMonster.java:88) at net.minecraft.server.v1_4_R1.PathfinderGoalMeleeAttack.e(PathfinderGoalMeleeAttack.java:83) at net.minecraft.server.v1_4_R1.PathfinderGoalSelector.a(PathfinderGoalSelector.java:104) at net.minecraft.server.v1_4_R1.EntityLiving.bl(EntityLiving.java:1476) at net.minecraft.server.v1_4_R1.EntityLiving.c(EntityLiving.java:1273) at net.minecraft.server.v1_4_R1.EntityMonster.c(EntityMonster.java:20) at net.minecraft.server.v1_4_R1.EntityZombie.c(EntityZombie.java:108) at net.minecraft.server.v1_4R1.EntityLiving.j(EntityLiving.java:534) at net.minecraft.server.v1_4R1.EntityMonster.j(EntityMonster.java:24) at net.minecraft.server.v1_4R1.EntityZombie.j(EntityZombie.java:121) at uk.co.jacekk.bukkit.bloodmoon.entity.BloodMoonEntityZombie.j_(BloodMoonEntityZombie.java:145) at net.minecraft.server.v1_4_R1.World.entityJoinedWorld(World.java:1334) at net.minecraft.server.v1_4_R1.WorldServer.entityJoinedWorld(WorldServer.java:548) at net.minecraft.server.v1_4_R1.World.playerJoinedWorld(World.java:1315) at net.minecraft.server.v1_4_R1.World.tickEntities(World.java:1193) at net.minecraft.server.v1_4_R1.WorldServer.tickEntities(WorldServer.java:445) at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:580) at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.NullPointerException at net.aufdemrand.sentry.SentryInstance.onDamage(SentryInstance.java:989) at net.aufdemrand.sentry.SentryListener.onDamage(SentryListener.java:296) at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 30 more

2013-01-29 18:08:56 [SEVERE] Could not pass event EntityDamageByEntityEvent to Sentry v1.3.1 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 org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:81) at org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:369) at org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:391) at net.minecraft.server.v1_4_R1.EntityLiving.damageEntity(EntityLiving.java:686) at net.minecraft.server.v1_4_R1.EntityHuman.damageEntity(EntityHuman.java:615) at net.minecraft.server.v1_4_R1.EntityPlayer.damageEntity(EntityPlayer.java:308) at net.minecraft.server.v1_4_R1.EntityMonster.m(EntityMonster.java:88) at net.minecraft.server.v1_4_R1.PathfinderGoalMeleeAttack.e(PathfinderGoalMeleeAttack.java:83) at net.minecraft.server.v1_4_R1.PathfinderGoalSelector.a(PathfinderGoalSelector.java:104) at net.minecraft.server.v1_4_R1.EntityLiving.bl(EntityLiving.java:1476) at net.minecraft.server.v1_4_R1.EntityLiving.c(EntityLiving.java:1273) at net.minecraft.server.v1_4_R1.EntityMonster.c(EntityMonster.java:20) at net.minecraft.server.v1_4_R1.EntityZombie.c(EntityZombie.java:108) at net.minecraft.server.v1_4R1.EntityLiving.j(EntityLiving.java:534) at net.minecraft.server.v1_4R1.EntityMonster.j(EntityMonster.java:24) at net.minecraft.server.v1_4R1.EntityZombie.j(EntityZombie.java:121) at uk.co.jacekk.bukkit.bloodmoon.entity.BloodMoonEntityZombie.j_(BloodMoonEntityZombie.java:145) at net.minecraft.server.v1_4_R1.World.entityJoinedWorld(World.java:1334) at net.minecraft.server.v1_4_R1.WorldServer.entityJoinedWorld(WorldServer.java:548) at net.minecraft.server.v1_4_R1.World.playerJoinedWorld(World.java:1315) at net.minecraft.server.v1_4_R1.World.tickEntities(World.java:1193) at net.minecraft.server.v1_4_R1.WorldServer.tickEntities(WorldServer.java:445) at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:580) at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.NullPointerException at net.aufdemrand.sentry.SentryInstance.onDamage(SentryInstance.java:989) at net.aufdemrand.sentry.SentryListener.onDamage(SentryListener.java:296) at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 30 more

betterphp commented 11 years ago

Wrong plugin.