org.bukkit.command.CommandException: Unhandled exception executing 'cps despawningbone' in net.shortninja.staffplus.command.cmd.mode.CpsCmd(cps)

GitHub | despawningbone | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Some commands are not working

    GitHub | 6 months ago | despawningbone
    org.bukkit.command.CommandException: Unhandled exception executing 'cps despawningbone' in net.shortninja.staffplus.command.cmd.mode.CpsCmd(cps)

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      tried to access class net.shortninja.staffplus.player.attribute.mode.handler.CpsHandler$1 from class net.shortninja.staffplus.player.attribute.mode.handler.CpsHandler

      at net.shortninja.staffplus.player.attribute.mode.handler.CpsHandler.startTest()
    2. net.shortninja.staffplus
      CpsCmd.execute
      1. net.shortninja.staffplus.player.attribute.mode.handler.CpsHandler.startTest(CpsHandler.java:40)[?:?]
      2. net.shortninja.staffplus.player.attribute.mode.handler.GadgetHandler.onCps(GadgetHandler.java:205)[?:?]
      3. net.shortninja.staffplus.command.cmd.mode.CpsCmd.execute(CpsCmd.java:51)[?:?]
      3 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