NPE's in Lupi
halvors opened this issue ยท 1 comments
We have some strange NPE errors in Lupi. This need to get rid of.
Here is the tracelog:
2011-07-16 01:09:00 [SEVERE] Could not pass event PLAYER_INTERACT_ENTITY to Lupi
java.lang.NullPointerException
at org.halvors.lupi.wolf.WolfManager.getWolfTable(WolfManager.java:64)
at org.halvors.lupi.wolf.WolfManager.hasWolf(WolfManager.java:323)
at org.halvors.lupi.wolf.WolfManager.addWolf(WolfManager.java:220)
at org.halvors.lupi.wolf.WolfManager.addWolf(WolfManager.java:278)
at org.halvors.lupi.wolf.WolfManager.getWolf(WolfManager.java:403)
at org.halvors.lupi.wolf.WolfManager.getWolf(WolfManager.java:416)
at org.halvors.lupi.listeners.LupiPlayerListener.onPlayerInteractEntity(LupiPlayerListener.java:68)
at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:843)
at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)