CitizensDev/Citizens — Issue #838: deleted a npc and this happend
Author: Pigeoncraft
Created: 2012-02-17 03:20:20+00:00
State: open

20:15:52 [WARNING] Task of 'Citizens' generated an exception
java.lang.NullPointerException
at net.citizensnpcs.utils.PacketUtils.sendPacketToPlayer(PacketUtils.jav
a:15)
at net.citizensnpcs.utils.PacketUtils.sendPacketNearby(PacketUtils.java:
34)
at net.citizensnpcs.resources.npclib.NPCAnimator.swingArm(NPCAnimator.ja
va:93)
at net.citizensnpcs.resources.npclib.NPCAnimator.performAnimation(NPCAni
mator.java:40)
at net.citizensnpcs.resources.npclib.CraftNPC.performAction(CraftNPC.jav
a:49)
at net.citizensnpcs.resources.npclib.PathNPC.attackEntity(PathNPC.java:7
3)
at net.citizensnpcs.resources.npclib.PathNPC.updateTarget(PathNPC.java:3
09)
at net.citizensnpcs.resources.npclib.PathNPC.moveTick(PathNPC.java:197)
at net.citizensnpcs.resources.npclib.HumanNPC.doTick(HumanNPC.java:84)
at net.citizensnpcs.TickTask.run(TickTask.java:30)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C
raftScheduler.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)
20:16:02 [SEVERE] java.lang.NullPointerException
20:16:02 [SEVERE] at net.citizensnpcs.utils.PacketUtils.sendPacketToPlayer
(PacketUtils.java:15)
20:16:02 [SEVERE] at net.citizensnpcs.utils.PacketUtils.sendPacketToOnline
(PacketUtils.java:44)
20:16:02 [SEVERE] at net.citizensnpcs.resources.npclib.NPCSpawner.despawnN
PC(NPCSpawner.java:111)
20:16:02 [SEVERE] at net.citizensnpcs.resources.npclib.NPCManager.despawn(
NPCManager.java:70)
20:16:02 [SEVERE] at net.citizensnpcs.resources.npclib.NPCManager.remove(N
PCManager.java:87)
20:16:02 [SEVERE] at net.citizensnpcs.commands.BasicCommands.remove(BasicC
ommands.java:620)
20:16:02 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
ethod)
20:16:02 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown S
ource)
20:16:02 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno
wn Source)
20:16:02 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
20:16:02 [SEVERE] at net.citizensnpcs.resources.sk89q.CommandsManager.exec
uteMethod(CommandsManager.java:530)
20:16:02 [SEVERE] at net.citizensnpcs.resources.sk89q.CommandsManager.exec
ute(CommandsManager.java:407)
20:16:02 [SEVERE] at net.citizensnpcs.Citizens.onCommand(Citizens.java:220
)
20:16:02 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginComman
d.java:40)
20:16:02 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo
mmandMap.java:168)
20:16:02 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(Cr
aftServer.java:402)
20:16:02 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(N
etServerHandler.java:784)
20:16:02 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerH
andler.java:744)
20:16:02 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
ler.java:732)
20:16:02 [SEVERE] at net.minecraft.server.Packet3Chat.handle(Packet3Chat.j
ava:33)
20:16:02 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.
java:226)
20:16:02 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
ler.java:100)
20:16:02 [SEVERE] at net.minecraft.server.NetworkListenThread.a(NetworkLis
tenThread.java:78)
20:16:02 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServe
r.java:537)
20:16:02 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
ver.java:435)
20:16:02 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
ceFile:465)