Error: commands #50


  • New
  • Defect
Open
Assigned to avery246813579
  • Forge_User_29967141 created this issue Oct 20, 2016

    Welcome creator of this plugin ^-^

    What steps will reproduce the problem?
    (1.) /hotpotato help (Error) - v1.2.2, v1.2.1
      - chat: An internal error occurred white attempting to perform this command
    (2.) /hotpotato (Error) - v1.2.0
      - chat: An internal error occurred white attempting to perform this command

    Enter the description of the plugin requirements (if any) - which require plug-ins ...

    What is the expected output? What do you see instead?

    Commans enabled

    What version of the product are you using?

    Problem: (1.) v1.2.2, v1.2.1 - (my serv. Spigot 1.8.8)

    Problem: (2.) v1.2.0 - (my serv. Spigot 1.8.8)

    Do you have an error log of what happened?

    (1.)
    [MCoffline]: [20:51:14 ERROR]: null
    [MCoffline]: org.bukkit.command.CommandException: Unhandled exception executing command 'hp' in plugin HotPotato v1.2.2
    [MCoffline]:     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at org.bukkit.craftbukkit.v1_8_R2.CraftServer.dispatchCommand(CraftServer.java:646) ~[mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at net.minecraft.server.v1_8_R2.PlayerConnection.handleCommand(PlayerConnection.java:1139) [mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at net.minecraft.server.v1_8_R2.PlayerConnection.a(PlayerConnection.java:974) [mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at net.minecraft.server.v1_8_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) [mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at net.minecraft.server.v1_8_R2.PacketPlayInChat.a(PacketPlayInChat.java:1) [mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at net.minecraft.server.v1_8_R2.PlayerConnectionUtils$1.run(SourceFile:13) [mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_101]
    [MCoffline]:     at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_101]
    [MCoffline]:     at net.minecraft.server.v1_8_R2.SystemUtils.a(SourceFile:60) [mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:712) [mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:368) [mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:651) [mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:554) [mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at java.lang.Thread.run(Unknown Source) [?:1.8.0_101]
    [MCoffline]: Caused by: java.lang.NullPointerException

    (2.)
    [MCoffline]: [21:05:19 ERROR]: null
    [MCoffline]: org.bukkit.command.CommandException: Unhandled exception executing command 'hotpotato' in plugin HotPotato v1.2.0
    [MCoffline]:     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at org.bukkit.craftbukkit.v1_8_R2.CraftServer.dispatchCommand(CraftServer.java:646) ~[mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at net.minecraft.server.v1_8_R2.PlayerConnection.handleCommand(PlayerConnection.java:1139) [mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at net.minecraft.server.v1_8_R2.PlayerConnection.a(PlayerConnection.java:974) [mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at net.minecraft.server.v1_8_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) [mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at net.minecraft.server.v1_8_R2.PacketPlayInChat.a(PacketPlayInChat.java:1) [mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at net.minecraft.server.v1_8_R2.PlayerConnectionUtils$1.run(SourceFile:13) [mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_101]
    [MCoffline]:     at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_101]
    [MCoffline]:     at net.minecraft.server.v1_8_R2.SystemUtils.a(SourceFile:60) [mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:712) [mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:368) [mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:651) [mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:554) [mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at java.lang.Thread.run(Unknown Source) [?:1.8.0_101]
    [MCoffline]: Caused by: java.lang.NullPointerException
    [MCoffline]:     at org.bukkit.ChatColor.translateAlternateColorCodes(ChatColor.java:210) ~[mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     at me.avery246813579.hotpotato.util.MessageUtil.sendTextMessage(MessageUtil.java:26) ~[?:?]
    [MCoffline]:     at me.avery246813579.hotpotato.commands.GameCommand.onCommand(GameCommand.java:28) ~[?:?]
    [MCoffline]:     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[mcoffline_server.jar:git-Spigot-870264a-0a645a2]
    [MCoffline]:     ... 15 more

    Please provide any additional information below.

  • Forge_User_29967141 added the tags New Defect Oct 20, 2016
  • Forge_User_29967141 posted a comment Oct 20, 2016

    - Refinements
    (v1.2.0, v1.2.1, v1.2.2) - Error cmd (console)
    (v1.1.0) - no Error cmd - in console

    In my opinion you need to add:
    1. Support for different versions
    2. help both versions 1.0.4
        + /hp list
    3. Handy commands to create on the arena


    Edited Oct 20, 2016

To post a comment, please login or register a new account.