SpectatorPlus

SpectatorPlus

34.1k Downloads

Tab-complete error

pgmann opened this issue ยท 0 comments

commented

This occurred while we were testing the plugin.

Exception when AmauryPi attempted to tab complete /spec conf
org.bukkit.command.CommandException: Unhandled exception during tab completion for command '/spec conf' in plugin SpectatorPlus v3.0
    at org.bukkit.command.PluginCommand.tabComplete(PluginCommand.java:144) ~[spigot.jar:git-Spigot-db6de12-07c3001]
    at org.bukkit.command.SimpleCommandMap.tabComplete(SimpleCommandMap.java:213) ~[spigot.jar:git-Spigot-db6de12-07c3001]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.tabCompleteCommand(CraftServer.java:1595) [spigot.jar:git-Spigot-db6de12-07c3001]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.tabComplete(CraftServer.java:1579) [spigot.jar:git-Spigot-db6de12-07c3001]
    at net.minecraft.server.v1_8_R3.MinecraftServer.tabCompleteCommand(MinecraftServer.java:1095) [spigot.jar:git-Spigot-db6de12-07c3001]
    at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1915) [spigot.jar:git-Spigot-db6de12-07c3001]
    at net.minecraft.server.v1_8_R3.PacketPlayInTabComplete.a(SourceFile:46) [spigot.jar:git-Spigot-db6de12-07c3001]
    at net.minecraft.server.v1_8_R3.PacketPlayInTabComplete.a(SourceFile:10) [spigot.jar:git-Spigot-db6de12-07c3001]
    at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-db6de12-07c3001]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_91]
    at java.util.concurrent.FutureTask.run(FutureTask.java:262) [?:1.7.0_91]
    at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot.jar:git-Spigot-db6de12-07c3001]
    at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot.jar:git-Spigot-db6de12-07c3001]
    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-db6de12-07c3001]
    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot.jar:git-Spigot-db6de12-07c3001]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot.jar:git-Spigot-db6de12-07c3001]
    at java.lang.Thread.run(Thread.java:745) [?:1.7.0_91]
Caused by: java.lang.NullPointerException
    at com.pgcraft.spectatorplus.commands.users.EnableSpectatorModeCommand.canExecute(EnableSpectatorModeCommand.java:74) ~[?:?]
    at com.pgcraft.spectatorplus.components.commands.CommandGroup.tabComplete(CommandGroup.java:206) ~[?:?]
    at com.pgcraft.spectatorplus.components.commands.CommandGroup.tabComplete(CommandGroup.java:195) ~[?:?]
    at com.pgcraft.spectatorplus.components.commands.CommandGroup.onTabComplete(CommandGroup.java:183) ~[?:?]
    at org.bukkit.command.PluginCommand.tabComplete(PluginCommand.java:132) ~[spigot.jar:git-Spigot-db6de12-07c3001]
    ... 16 more