AppleDash / SaneEconomy

Finally, a sane economy plugin for Bukkit.
https://www.spigotmc.org/resources/saneeconomy-simple-but-featureful-economy.26223/
GNU General Public License v3.0
19 stars 24 forks source link

IllegalArgumentException: Illegal group reference: group index is missing #60

Closed GlitchyCzE closed 5 years ago

GlitchyCzE commented 6 years ago

While playing around with commands, such as /eco give, and /f money deposit, I came across these errors in console and receiving an An internal error occurred while attempting to preform this command

Console Log: `[16:00:42] [Server thread/INFO]: CzE issued server command: /f money bal

org.bukkit.command.CommandException: Unhandled exception executing 'f money bal' in com.massivecraft.massivecore.command.MassiveCoreBukkitCommand(f) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:160) ~[patched_1.11.2.jar:git-Paper-1104] at org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchCommand(CraftServer.java:675) ~[patched_1.11.2.jar:git-Paper-1104] at net.minecraft.server.v1_11_R1.PlayerConnection.handleCommand(PlayerConnection.java:1393) ~[patched_1.11.2.jar:git-Paper-1104] at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1198) ~[patched_1.11.2.jar:git-Paper-1104] at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) ~[patched_1.11.2.jar:git-Paper-1104] at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[patched_1.11.2.jar:git-Paper-1104] at net.minecraft.server.v1_11_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[patched_1.11.2.jar:git-Paper-1104] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_131] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_131] at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [patched_1.11.2.jar:git-Paper-1104] at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:839) [patched_1.11.2.jar:git-Paper-1104] at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:403) [patched_1.11.2.jar:git-Paper-1104] at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:763) [patched_1.11.2.jar:git-Paper-1104] at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:661) [patched_1.11.2.jar:git-Paper-1104] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131] Caused by: java.lang.IllegalArgumentException: Illegal group reference: group index is missing at java.util.regex.Matcher.appendReplacement(Matcher.java:819) ~[?:1.8.0_131] at org.appledash.saneeconomy.shaded.sanelib.messages.MessageUtils.indexedFormat(MessageUtils.java:74) ~[?:?] at org.appledash.saneeconomy.economy.Currency.formatAmount(Currency.java:74) ~[?:?] at org.appledash.saneeconomy.vault.EconomySaneEconomy.format(EconomySaneEconomy.java:43) ~[?:?] at com.massivecraft.massivecore.money.MoneyMixinVault.format(MoneyMixinVault.java:67) ~[?:?] at com.massivecraft.massivecore.money.MoneyMixinAbstract.format(MoneyMixinAbstract.java:14) ~[?:?] at com.massivecraft.massivecore.money.Money.format(Money.java:56) ~[?:?] at com.massivecraft.factions.integration.Econ.sendBalanceInfo(Econ.java:66) ~[?:?] at com.massivecraft.factions.cmd.CmdFactionsMoneyBalance.perform(CmdFactionsMoneyBalance.java:36) ~[?:?] at com.massivecraft.massivecore.command.MassiveCommand.execute(MassiveCommand.java:1137) ~[?:?] at com.massivecraft.massivecore.command.MassiveCommand.execute(MassiveCommand.java:1093) ~[?:?] at com.massivecraft.massivecore.command.MassiveCommand.execute(MassiveCommand.java:1093) ~[?:?] at com.massivecraft.massivecore.command.MassiveCoreBukkitCommand.execute(MassiveCoreBukkitCommand.java:60) ~[?:?] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:151) ~[patched_1.11.2.jar:git-Paper-1104] ... 14 more`

And

[16:00:51] [Server thread/INFO]: CzE issued server command: /eco give CzE 1000 [16:00:52] [Craft Scheduler Thread - 2/WARN]: [SaneEconomy] Plugin SaneEconomy v0.12.7 generated an exception while executing task 1834 java.lang.IllegalArgumentException: Illegal group reference: group index is missing at java.util.regex.Matcher.appendReplacement(Matcher.java:819) ~[?:1.8.0_131] at org.appledash.saneeconomy.shaded.sanelib.messages.MessageUtils.indexedFormat(MessageUtils.java:74) ~[?:?] at org.appledash.saneeconomy.economy.Currency.formatAmount(Currency.java:74) ~[?:?] at org.appledash.saneeconomy.command.EconomyAdminCommand.onCommand(EconomyAdminCommand.java:90) ~[?:?] at org.appledash.saneeconomy.shaded.sanelib.command.SaneCommand.lambda$onCommand$0(SaneCommand.java:31) ~[?:?] at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:58) ~[patched_1.11.2.jar:git-Paper-1104] at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [patched_1.11.2.jar:git-Paper-1104] at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) [patched_1.11.2.jar:git-Paper-1104] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_131] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]

Here's a Log Dump containing the errors: https://hastebin.com/oxekumehup.sql