CraftBook 3

CraftBook 3

139k Downloads

BetterLeads NPE

LadyCailinBot opened this issue ยท 2 comments

commented

CRAFTBOOK-3100 - Reported by Drkmatr1984

Not sure what exactly causes it, as it appears in console and I haven't been able to reproduce the issue on my own. However, This is the NPE.

[19:19:40] [Server thread/ERROR]: Could not pass event EntityTargetLivingEntityEvent to CraftBook v3.9-SNAPSHOT
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) ~[custom.jar:git-Spigot-13716d9-0899683]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[custom.jar:git-Spigot-13716d9-0899683]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [custom.jar:git-Spigot-13716d9-0899683]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [custom.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.EntityInsentient.setGoalTarget(EntityInsentient.java:109) [custom.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.PathfinderGoalNearestAttackableTarget.c(PathfinderGoalNearestAttackableTarget.java:51) [custom.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.PathfinderGoalSelector.a(PathfinderGoalSelector.java:72) [custom.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.EntityInsentient.doTick(EntityInsentient.java:464) [custom.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.EntityLiving.m(EntityLiving.java:1584) [custom.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.EntityInsentient.m(EntityInsentient.java:332) [custom.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.EntityMonster.m(EntityMonster.java:22) [custom.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.EntityWitch.m(SourceFile:142) [custom.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.EntityLiving.s_(EntityLiving.java:1445) [custom.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.EntityInsentient.s_(EntityInsentient.java:193) [custom.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.EntityMonster.s_(EntityMonster.java:26) [custom.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.World.entityJoinedWorld(World.java:1590) [custom.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.World.g(World.java:1565) [custom.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.World.tickEntities(World.java:1412) [custom.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.WorldServer.tickEntities(WorldServer.java:577) [custom.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:757) [custom.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [custom.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [custom.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [custom.jar:git-Spigot-13716d9-0899683]
at java.lang.Thread.run(Unknown Source) [?:1.7.0_51]
Caused by: java.lang.NullPointerException
at com.sk89q.craftbook.mechanics.BetterLeads.onEntityTarget(BetterLeads.java:113) ~[?:?]
at sun.reflect.GeneratedMethodAccessor419.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ~[custom.jar:git-Spigot-13716d9-0899683]
... 23 more

commented

Comment by me4502

This should be fixed as of latest build.

commented

Comment by Drkmatr1984

Thank you very much!