This repository has been archived by the owner. It is now read-only.

got some errors #134

Closed
Toodo opened this Issue Nov 4, 2016 · 8 comments

Comments

Projects
None yet
3 participants
@Toodo

Toodo commented Nov 4, 2016

hi!
i got some errors
what is it?
i use spigot-1.10.2

[01:19:15] [Craft Scheduler Thread - 58/WARN]: Exception in thread "Craft Scheduler Thread - 58" [01:19:15] [Craft Scheduler Thread - 58/WARN]: org.apache.commons.lang.UnhandledException: Plugin PerWorldInventory v1.8.3 generated an exception while executing task 2089 at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at me.gnat008.perworldinventory.data.FileWriter.getFile(FileWriter.java:230) at me.gnat008.perworldinventory.data.FileWriter.saveToDatabase(FileWriter.java:88) at me.gnat008.perworldinventory.data.FileWriter.lambda$saveToDatabase$0(FileWriter.java:80) at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71) at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more

@EbonJaeger

This comment has been minimized.

Owner

EbonJaeger commented Nov 4, 2016

Hello, could you please take a look at Issue #115, sort of the master issue for this error? In the comments there is a link to a special version which adds a debug message to hopefully track down this error. If you could use that, enable debugging in the PWI config, and post a server log in that issue, that would be wonderful!

@Toodo

This comment has been minimized.

Toodo commented Nov 5, 2016

i dont rly understadn what i can download on issue 115. but i enable debug here it is [22:59:49] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Player 'Toodo' going from world 'Event' to world 'Minionland' [22:59:49] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Adding player 'Toodo' to cache; key is 'cbf06d3c-24ac-4f3d-abfb-964c30d1a806.Event.creative' [22:59:49] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Player 'Toodo' found in cache! Updating cache [22:59:49] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Updating player 'Toodo' in the cache [22:59:49] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Gamemodes are separated! Loading data for player 'Toodo' for group 'default' in gamemode 'CREATIVE' [22:59:49] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Trying to get data from cache for player 'Toodo' [22:59:49] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Looking for cached data with key 'cbf06d3c-24ac-4f3d-abfb-964c30d1a806.default.creative' [22:59:49] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Player 'Toodo' found in cache! Setting their data [22:59:49] [Server thread/INFO]: [PerWorldInventory] [DEBUG] PWI manages gamemodes! Setting player 'Toodo' to gamemode SURVIVAL [22:59:49] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Player 'Toodo' changed to gamemode 'SURVIVAL' in group 'default' [22:59:49] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Adding player 'Toodo' to cache; key is 'cbf06d3c-24ac-4f3d-abfb-964c30d1a806.default.creative' [22:59:49] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Player 'Toodo' found in cache! Updating cache [22:59:49] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Updating player 'Toodo' in the cache [22:59:49] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Bypass system is disabled in the config, loading data [22:59:49] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Trying to get data from cache for player 'Toodo' [22:59:49] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Looking for cached data with key 'cbf06d3c-24ac-4f3d-abfb-964c30d1a806.default.survival' [22:59:49] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Player 'Toodo' found in cache! Setting their data [22:59:49] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Removing player 'Toodo' from cache [22:59:49] [Server thread/WARN]: [PerWorldInventory] Task #50 for PerWorldInventory v1.8.3 generated an exception java.lang.NullPointerException at me.gnat008.perworldinventory.data.players.PWIPlayerManager.lambda$scheduleRepeatingTask$0(PWIPlayerManager.java:332) ~[?:?] at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f] at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f] at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:723) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f] at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f] at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:668) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f] at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:567) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f] at java.lang.Thread.run(Unknown Source) [?:1.8.0_111]

@EbonJaeger

This comment has been minimized.

Owner

EbonJaeger commented Nov 6, 2016

See the last comment in #115, if you please. :)

@Toodo

This comment has been minimized.

Toodo commented Nov 6, 2016

i think that fix the porblem havent seen that issue yet thx :D greate plugin :)

@Toodo

This comment has been minimized.

Toodo commented Nov 10, 2016

get some more errors have 1.8.4

[17:30:57] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Player 'Toodo' changed to gamemode 'CREATIVE' in group 'Event' [17:30:57] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Adding player 'Toodo' to cache; key is 'cbf06d3c-24ac-4f3d-abfb-964c30d1a806.Event.survival' [17:30:57] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Player 'Toodo' found in cache! Updating cache [17:30:57] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Updating player 'Toodo' in the cache [17:30:57] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Bypass system is disabled in the config, loading data [17:30:57] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Trying to get data from cache for player 'Toodo' [17:30:57] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Looking for cached data with key 'cbf06d3c-24ac-4f3d-abfb-964c30d1a806.Event.creative' [17:30:57] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Player 'Toodo' found in cache! Setting their data [17:32:51] [Server thread/WARN]: [PerWorldInventory] Task #173 for PerWorldInventory v1.8.4 generated an exception java.lang.NullPointerException at me.gnat008.perworldinventory.data.players.PWIPlayerManager.lambda$scheduleRepeatingTask$0(PWIPlayerManager.java:334) ~[?:?] at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f] at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f] at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:723) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f] at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f] at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:668) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f] at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:567) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f] at java.lang.Thread.run(Unknown Source) [?:1.8.0_111]

and when i quit sometimes

`[17:58:22] [Server thread/INFO]: Toodo lost connection: Disconnected
[17:58:22] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Player 'Toodo' quit! Checking cache
[17:58:22] [Server thread/INFO]: [PerWorldInventory] [DEBUG] Saving logout data for player 'Toodo'...
[17:58:22] [Server thread/ERROR]: Could not pass event PlayerQuitEvent to PerWorldInventory v1.8.4
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f]
at net.minecraft.server.v1_10_R1.PlayerList.disconnect(PlayerList.java:385) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f]
at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1068) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f]
at net.minecraft.server.v1_10_R1.NetworkManager.handleDisconnection(NetworkManager.java:318) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f]
at net.minecraft.server.v1_10_R1.ServerConnection.c(ServerConnection.java:174) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f]
at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:827) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f]
at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f]
at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:668) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f]
at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:567) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_111]
Caused by: java.lang.NullPointerException
at me.gnat008.perworldinventory.data.players.PWIPlayerManager.savePlayer(PWIPlayerManager.java:189) ~[?:?]
at me.gnat008.perworldinventory.process.PlayerQuitProcess.processPlayerLeave(PlayerQuitProcess.java:50) ~[?:?]
at me.gnat008.perworldinventory.listeners.player.PlayerQuitListener.onPlayerQuit(PlayerQuitListener.java:42) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_111]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f]
... 12 more
[17:58:22] [Server thread/INFO]: Toodo left the game

[18:36:20] [Server thread/WARN]: [PerWorldInventory] Task #51 for PerWorldInventory v1.8.4 generated an exception java.lang.NullPointerException at me.gnat008.perworldinventory.data.players.PWIPlayerManager.lambda$scheduleRepeatingTask$0(PWIPlayerManager.java:334) ~[?:?] at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f] at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f] at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:723) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f] at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f] at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:668) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f] at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:567) [spigot-1.10.2.jar:git-Spigot-047f737-ae93d4f] at java.lang.Thread.run(Unknown Source) [?:1.8.0_111]
`

@Toodo

This comment has been minimized.

Toodo commented Nov 11, 2016

@Gnat008 ^
do you have any idea how to fix the errors :)

@CapnCrinklepants

This comment has been minimized.

Contributor

CapnCrinklepants commented Nov 11, 2016

Main Thread for this issue is here: #115 You can find a new download at the bottom, and I believe he would like you to use that and report back with the server logs if the problem keeps happening. :)

@Toodo

This comment has been minimized.

Toodo commented Nov 11, 2016

@sloanr333
ok thx :)

@EbonJaeger EbonJaeger closed this Sep 27, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.