Gringotts

Gringotts

53.6k Downloads

Complete failure?

F1LM1 opened this issue ยท 3 comments

commented

Checking balance: 2012-12-29 20:09:19 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'balance' in plugin Gringotts v1.4.0-RC1
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186)
at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchCommand(CraftServer.java:510)
at net.minecraft.server.v1_4_6.PlayerConnection.handleCommand(PlayerConnection.java:980)
at net.minecraft.server.v1_4_6.PlayerConnection.chat(PlayerConnection.java:898)
at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:853)
at net.minecraft.server.v1_4_6.Packet3Chat.handle(Packet3Chat.java:44)
at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290)
at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112)
at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39)
at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598)
at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494)
at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
Caused by: java.lang.NullPointerException
at org.bukkit.Location.getBlock(Location.java:82)
at org.gestern.gringotts.DAO.getChests(DAO.java:354)
at org.gestern.gringotts.Account.balance(Account.java:40)
at org.gestern.gringotts.Commands.balanceMessage(Commands.java:246)
at org.gestern.gringotts.Commands.access$1(Commands.java:245)
at org.gestern.gringotts.Commands$Money.onCommand(Commands.java:61)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 15 more
And creating vault: 2012-12-29 20:10:23 [SEVERE] Could not pass event SignChangeEvent to Gringotts v1.4.0-RC1
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:1399)
at net.minecraft.server.v1_4_6.Packet130UpdateSign.handle(SourceFile:46)
at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290)
at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112)
at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39)
at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598)
at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494)
at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
Caused by: java.lang.NullPointerException
at org.bukkit.Location.getBlock(Location.java:82)
at org.gestern.gringotts.DAO.getChests(DAO.java:301)
at org.gestern.gringotts.Accounting.addChest(Accounting.java:60)
at org.gestern.gringotts.AccountListener.createVault(AccountListener.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 14 more
2012-12-29 20:12:22 [INFO] F1lmboy issued server command: /give F1lmboy 133 1 0
2012-12-29 20:12:26 [INFO] F1lmboy issued server command: /balance
2012-12-29 20:12:26 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'balance' in plugin Gringotts v1.4.0-RC1
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186)
at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchCommand(CraftServer.java:510)
at net.minecraft.server.v1_4_6.PlayerConnection.handleCommand(PlayerConnection.java:980)
at net.minecraft.server.v1_4_6.PlayerConnection.chat(PlayerConnection.java:898)
at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:853)
at net.minecraft.server.v1_4_6.Packet3Chat.handle(Packet3Chat.java:44)
at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290)
at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112)
at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39)
at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598)
at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494)
at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
Caused by: java.lang.NullPointerException
at org.bukkit.Location.getBlock(Location.java:82)
at org.gestern.gringotts.DAO.getChests(DAO.java:354)
at org.gestern.gringotts.Account.balance(Account.java:40)
at org.gestern.gringotts.Commands.balanceMessage(Commands.java:246)
at org.gestern.gringotts.Commands.access$1(Commands.java:245)
at org.gestern.gringotts.Commands$Money.onCommand(Commands.java:61)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 15 more

commented

Okay, sounds like your data somehow got corrupted. can you send the removed GringottsDB to me ([email protected]) please?

commented

Thanks for the report! Keep in mind the version you are using is marked as beta version, and may still be prone to errors. Just to make sure: I'm assuming you upgraded from Gringotts v1.3.2? Did you make sure to remove the old Gringotts jar from the plugins directory?

Also, can you describe what circumstances caused the error to be thrown?

Other than that, for now, you can go back to v1.3.2. I'll let you know when I have found and fixed the bug.

commented

Okay, it seems somehow Gringotts can't get the world of the blocks involved in the actions. Can you try if any of this helps (in this order):

  • restarting craftbukkit
  • check if the problem is reproducible on a copy of the server
  • changing back to Gringotts v1.3.2
  • removing the GringottsDB folder from the plugins/Gringotts folder (back it up, don't delete)

if nothing of that makes any difference, I'd like to ask you to message me your server details, so I can come check out out the problem myself. Thanks!