CitizensDev/Citizens — Issue #479: NPE When Deleteing NPC Flags
Author: GrandRiver
Created: 2011-12-16 07:54:41+00:00
State: open

this error is being generated when we try and delete flags from our NPC Guards...

2011-12-16 07:46:29 [SEVERE] java.lang.NullPointerException
2011-12-16 07:46:29 [SEVERE]	at net.citizensnpcs.guards.GuardCommands.deleteFlag(GuardCommands.java:238)
2011-12-16 07:46:29 [SEVERE]	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2011-12-16 07:46:29 [SEVERE]	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2011-12-16 07:46:29 [SEVERE]	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2011-12-16 07:46:29 [SEVERE]	at java.lang.reflect.Method.invoke(Method.java:601)
2011-12-16 07:46:29 [SEVERE]	at net.citizensnpcs.resources.sk89q.CommandsManager.executeMethod(CommandsManager.java:530)
2011-12-16 07:46:29 [SEVERE]	at net.citizensnpcs.resources.sk89q.CommandsManager.execute(CommandsManager.java:407)
2011-12-16 07:46:29 [SEVERE]	at net.citizensnpcs.Citizens.onCommand(Citizens.java:200)
2011-12-16 07:46:29 [SEVERE]	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
2011-12-16 07:46:29 [SEVERE]	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165)
2011-12-16 07:46:29 [SEVERE]	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
2011-12-16 07:46:29 [SEVERE]	at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
2011-12-16 07:46:29 [SEVERE]	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
2011-12-16 07:46:29 [SEVERE]	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
2011-12-16 07:46:29 [SEVERE]	at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:180)
2011-12-16 07:46:29 [SEVERE]	at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
2011-12-16 07:46:29 [SEVERE]	at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
2011-12-16 07:46:29 [SEVERE]	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
2011-12-16 07:46:29 [SEVERE]	at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
2011-12-16 07:46:29 [SEVERE]	at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
2011-12-16 07:46:29 [SEVERE]	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
2011-12-16 07:46:29 [SEVERE]	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
2011-12-16 07:46:29 [SEVERE]	at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)