org.bukkit.command.CommandException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Spigot Plugin 1.8.8 NullPointerEception
    via Stack Overflow by LonghornHD TV
    ,
    • org.bukkit.command.CommandException: Unhandled exception executing command 'switch' in plugin DerMariosServer-Lobby v1.5.5 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)[spigot.jar:git-Spigot-550ebac-7019900] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)[spigot.jar:git-Spigot-550ebac-7019900] at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:646)[spigot.jar:git-Spigot-550ebac-7019900] at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115)[spigot.jar:git-Spigot-550ebac-7019900] at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950)[spigot.jar:git-Spigot-550ebac-7019900] at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26)[spigot.jar:git-Spigot-550ebac-7019900] at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53)[spigot.jar:git-Spigot-550ebac-7019900] at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13)[spigot.jar:git-Spigot-550ebac-7019900] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[?:1.7.0_101] at java.util.concurrent.FutureTask.run(FutureTask.java:262)[?:1.7.0_101] at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696)[spigot.jar:git-Spigot-550ebac-7019900] at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316)[spigot.jar:git-Spigot-550ebac-7019900] at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634)[spigot.jar:git-Spigot-550ebac-7019900] at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537)[spigot.jar:git-Spigot-550ebac-7019900] at java.lang.Thread.run(Thread.java:745)[?:1.7.0_101] Caused by: java.lang.NullPointerException at Main.main.switch_mode_if(main.java:253)[?:?] at Commands.commands.onCommand(commands.java:96)[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)[spigot.jar:git-Spigot-550ebac-7019900] ... 14 more
    No Bugmate found.