PerWorldInventory icon indicating copy to clipboard operation
PerWorldInventory copied to clipboard

Error on slow logon

Open Rocologo opened this issue 7 years ago • 0 comments

When I was testing my own plugin (running both Eclipse, my Minecraft Test Server and my Minecraft client, I got lag when I tried to logon, and this resulted in that I was disconnected from the server.

The I logged on again and got on my Testserver, but I discovered that my Inventory was gone???

Then I checked the console log and found this error:

[07:29:15 INFO]: UUID of player Rocologo is 3c9a8292-0fa7-4e7c-8413-2bcb15968204 [07:30:00 INFO]: [MobHunting][Debug] Reading Playersettings from Database: PlayerStore: {player: > Id:1 Name:Rocologo, Learning Mode: true, Mute Mode: false} [07:30:03 INFO]: Rocologo[/127.0.0.1:52588] logged in with entity id 407 at ([world]-140.34637582278378, 64.0, -69.94065304590657) [07:30:03 INFO]: [MobHunting][Debug] PlacerholderHook: added Rocologo to rank [07:30:03 INFO]: [MobHunting][Debug] Rocologo is in LearningMode() [07:30:05 INFO]: Rocologo lost connection: Timed out [07:30:05 INFO]: Rocologo left the game [07:30:05 WARN]: [PerWorldInventory] Plugin PerWorldInventory v1.10.0 generated an exception while executing task 342 java.lang.IllegalStateException: Not a JSON Object: null at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90) ~[spigot-1.11.2.jar:git-Spigot-54ec0b8-e04a179] at me.gnat008.perworldinventory.data.FlatFile.lambda$getFromDatabase$2(FlatFile.java:114) ~[?:?] at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.11.2.jar:git-Spigot-54ec0b8-e04a179] at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [spigot-1.11.2.jar:git-Spigot-54ec0b8-e04a179] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]

Rocologo avatar May 05 '17 12:05 Rocologo