org.bukkit.command.CommandException: Unhandled exception executing 'staff' in net.shortninja.staffplus.command.cmd.mode.ModeCmd(staff)

GitHub | despawningbone | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Some commands are not working

    GitHub | 5 months ago | despawningbone
    org.bukkit.command.CommandException: Unhandled exception executing 'staff' in net.shortninja.staffplus.command.cmd.mode.ModeCmd(staff)

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at net.shortninja.staffplus.command.cmd.mode.ModeCmd.toggleMode()
    2. net.shortninja.staffplus
      ModeCmd.execute
      1. net.shortninja.staffplus.command.cmd.mode.ModeCmd.toggleMode(ModeCmd.java:68)[?:?]
      2. net.shortninja.staffplus.command.cmd.mode.ModeCmd.execute(ModeCmd.java:60)[?:?]
      2 frames
    3. Bukkit
      SimpleCommandMap.dispatch
      1. org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
      1 frame
    4. org.bukkit.craftbukkit
      CraftServer.dispatchCommand
      1. org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641)[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
      1 frame
    5. net.minecraft.server
      PlayerConnectionUtils$1.run
      1. net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162)[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
      2. net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997)[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
      3. net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45)[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
      4. net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1)[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
      5. net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
      5 frames
    6. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[?:1.8.0_102]
      2. java.util.concurrent.FutureTask.run(Unknown Source)[?:1.8.0_102]
      2 frames
    7. net.minecraft.server
      MinecraftServer.run
      1. net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44)[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
      2. net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715)[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
      3. net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
      4. net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
      5. net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
      5 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)[?:1.8.0_102]
      1 frame