mcMMO-Dev/mcMMO — Issue #175: Error after removing a user from the mcmmo database
Author: seriosbrad
Created: 2012-02-13 20:51:05+00:00
State: open

org.bukkit.command.CommandException: Unhandled exception executing command 'mctop' in plugin mcMMO v1.2.11-b121
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:386)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:777)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:737)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:176)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:552)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Caused by: java.lang.NullPointerException
at com.gmail.nossr50.commands.mc.MctopCommand.onCommand(MctopCommand.java:190)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
... 14 more

This error occurs when you use the /mctop command. It displays the first user follow by an error and not displaying other players.

All other /skills (/archery, /woodcutting etc) commands do the same thing. (first player, and then an error)

This happened after I deleted two players from the mcmmo_users table as they are now perm-banned. They still have records in the other tables but I don't know what their userid is to remove them.