YiC200333 / XConomy

An economy plugin that supports data synchronization between multiple servers
GNU General Public License v3.0
96 stars 34 forks source link

[v2.25.11] Bug report. #131

Closed slonyrufus closed 5 months ago

slonyrufus commented 6 months ago

Version of XConomy
v2.25.11

Server version
Spigot 1.12

Storage-type
MySQL

Describe the issues

[22:30:27] [Server thread/INFO]: Player issued server command: /eco
[22:30:27] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing 'eco' in me.yic.xconomy.utils.EconomyCommand(eco)
Caused by: java.lang.NullPointerException
    at me.yic.xconomy.command.core.CommandBalance.onCommand(CommandBalance.java:85) ~[?:?]
    at me.yic.xconomy.command.core.CommandCore.onCommand(CommandCore.java:131) ~[?:?]
    at me.yic.xconomy.utils.EconomyCommand.execute(EconomyCommand.java:39) ~[?:?]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[?:?]
[22:49:55] [Server thread/INFO]: Player issued server command: /xconomy
[22:49:55] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'xconomy' in plugin XConomy v2.25.11
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
    at me.yic.xconomy.command.core.CommandCore.onCommand(CommandCore.java:80) ~[?:?]
    at me.yic.xconomy.Commands.onCommand(Commands.java:33) ~[?:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[?:?]
[22:53:28] [Server thread/INFO]: Player issued server command: /paytoggle
[22:53:28] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'paytoggle' in plugin XConomy v2.25.11
Caused by: java.lang.NullPointerException
    at me.yic.xconomy.command.core.CommandPayToggle.onCommand(CommandPayToggle.java:40) ~[?:?]
    at me.yic.xconomy.command.core.CommandCore.onCommand(CommandCore.java:116) ~[?:?]
    at me.yic.xconomy.Commands.onCommand(Commands.java:33) ~[?:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[?:?]