mbax/VanishNoPacket — Issue #126: NPE when joining invisible to full server
Author: dogbig
Created: 2012-03-05 18:16:58+00:00
State: open

When joining server with full slots and try to become visible using /v then err appear:
2012-03-05 19:18:31 [INFO] [VanishNoPacket] dogbig disappeared.
2012-03-05 19:18:31 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'v' in plugin VanishNoPacket v3.5
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:461)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:818)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:778)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:761)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:112)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
Caused by: java.lang.NullPointerException
at org.bukkit.craftbukkit.entity.CraftPlayer.hidePlayer(CraftPlayer.java:612)
at org.kitteh.vanish.VanishManager.toggleVanishQuiet(VanishManager.java:226)
at org.kitteh.vanish.VanishManager.toggleVanish(VanishManager.java:168)
at org.kitteh.vanish.VanishCommand.onCommand(VanishCommand.java:59)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
... 12 more