org.bukkit.command.CommandException: Unhandled exception executing command 'rankup' in plugin GameRanks v1.0.9

GitHub | foosratt | 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

    SaneEconomy 0.8.2 throwing exception with GameRanks

    GitHub | 5 months ago | foosratt
    org.bukkit.command.CommandException: Unhandled exception executing command 'rankup' in plugin GameRanks v1.0.9

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Cannot transact a zero or negative amount!

      at org.appledash.saneeconomy.economy.transaction.Transaction.<init>()
    2. org.appledash.saneeconomy
      EconomySaneEconomy.withdrawPlayer
      1. org.appledash.saneeconomy.economy.transaction.Transaction.<init>(Transaction.java:17)[?:?]
      2. org.appledash.saneeconomy.vault.EconomySaneEconomy.withdrawPlayer(EconomySaneEconomy.java:159)[?:?]
      2 frames
    3. io.voidpowered.gameranks
      GRCommands.onCommand
      1. io.voidpowered.gameranks.GRCommands.handleRankUpCommand(GRCommands.java:288)[?:?]
      2. io.voidpowered.gameranks.GRCommands.onCommand(GRCommands.java:40)[?:?]
      2 frames
    4. Bukkit
      SimpleCommandMap.dispatch
      1. org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)[spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
      2. org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)[spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
      2 frames
    5. org.bukkit.craftbukkit
      CraftServer.dispatchCommand
      1. org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:647)[spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
      1 frame
    6. net.minecraft.server
      PlayerConnectionUtils$1.run
      1. net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1351)[spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
      2. net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1186)[spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
      3. net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)[spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
      4. net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:1)[spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
      5. net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13)[spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
      5 frames
    7. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[?:1.8.0_51]
      2. java.util.concurrent.FutureTask.run(Unknown Source)[?:1.8.0_51]
      2 frames
    8. net.minecraft.server
      MinecraftServer.run
      1. net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45)[spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
      2. net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:732)[spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
      3. net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:400)[spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
      4. net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:668)[spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
      5. net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:567)[spigot-1.10.2.jar:git-Spigot-f9671b8-4d87c34]
      5 frames
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)[?:1.8.0_51]
      1 frame