Playtime Crash
xilluzionx opened this issue ยท 14 comments
08:04:11 [INFO] Quantom_Ghost[/174.124.173.133:49628] logged in with entity id 1123 at ([dexus] 1875.6249192678465, 12.0, 2421.8596078017385)
08:04:15 [SEVERE] Could not pass event PlayerJoinEvent to Playtime v1.4.1
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_6_R2.PlayerList.c(PlayerList.java:206)
at net.minecraft.server.v1_6_R2.PlayerList.a(PlayerList.java:102)
at net.minecraft.server.v1_6_R2.PendingConnection.e(PendingConnection.java:130)
at net.minecraft.server.v1_6_R2.PendingConnection.d(PendingConnection.java:43)
at net.minecraft.server.v1_6_R2.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:41)
at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:29)
at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590)
at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226)
at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
Caused by: java.lang.NullPointerException: The language files are missing the path. Language: en_US Path: variables.minutes
at com.rogue.playtime.lang.Cipher.getString(Cipher.java:129)
at com.rogue.playtime.event.EventHandler.toReadable(EventHandler.java:238)
at com.rogue.playtime.event.EventHandler.fireLoginEvents(EventHandler.java:181)
at com.rogue.playtime.listener.listeners.EventListener.onPlayerJoin(EventListener.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 14 more
08:04:17 [INFO] Connection reset
08:04:19 [SEVERE] [PlayTime] null
08:04:19 [SEVERE] [PlayTime] null
08:04:19 [SEVERE] [PlayTime] null
08:04:19 [SEVERE] [PlayTime] null
Try deleting your lang folder under the Playtime folder, and let it generate a new one. Does your problem still exist then?
Still no luck:
10:53:31 [SEVERE] Could not pass event PlayerJoinEvent to Playtime v1.4.1
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_6_R2.PlayerList.c(PlayerList.java:206)
at net.minecraft.server.v1_6_R2.PlayerList.a(PlayerList.java:102)
at net.minecraft.server.v1_6_R2.PendingConnection.e(PendingConnection.java:130)
at net.minecraft.server.v1_6_R2.PendingConnection.d(PendingConnection.java:43)
at net.minecraft.server.v1_6_R2.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:41)
at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:29)
at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590)
at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226)
at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
Caused by: java.lang.NullPointerException: The language files are missing the path. Language: en_US Path: variables.hours
at com.rogue.playtime.lang.Cipher.getString(Cipher.java:129)
at com.rogue.playtime.event.EventHandler.toReadable(EventHandler.java:238)
at com.rogue.playtime.event.EventHandler.fireLoginEvents(EventHandler.java:181)
at com.rogue.playtime.listener.listeners.EventListener.onPlayerJoin(EventListener.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 14 more
10:54:08 [SEVERE] [PlayTime] null
10:54:59 [INFO] xllluzionx issued server command: /spawn
10:55:08 [SEVERE] [PlayTime] null
10:55:59 [INFO] xllluzionx issued server command: /t spawn forest_falls
10:55:59 [INFO] [PLAYER_COMMAND] xllluzionx: /t spawn forest_falls
10:56:08 [SEVERE] [PlayTime] null
10:56:29 [SEVERE] Reached end of stream for /192.119.145.29
10:56:41 [INFO] Quantom_Ghost[/174.124.173.133:54265] logged in with entity id 53262 at ([dexus] 1883.5425676994769, 10.0, 2421.8078420502984)
10:56:41 [SEVERE] Could not pass event PlayerJoinEvent to Playtime v1.4.1
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_6_R2.PlayerList.c(PlayerList.java:206)
at net.minecraft.server.v1_6_R2.PlayerList.a(PlayerList.java:102)
at net.minecraft.server.v1_6_R2.PendingConnection.e(PendingConnection.java:130)
at net.minecraft.server.v1_6_R2.PendingConnection.d(PendingConnection.java:43)
at net.minecraft.server.v1_6_R2.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:41)
at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:29)
at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590)
at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226)
at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
Caused by: java.lang.NullPointerException: The language files are missing the path. Language: en_US Path: variables.hours
at com.rogue.playtime.lang.Cipher.getString(Cipher.java:129)
at com.rogue.playtime.event.EventHandler.toReadable(EventHandler.java:238)
at com.rogue.playtime.event.EventHandler.fireLoginEvents(EventHandler.java:181)
at com.rogue.playtime.listener.listeners.EventListener.onPlayerJoin(EventListener.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 14 more
10:56:42 [INFO] [dynmap] Loading texture pack sphax
10:56:55 [INFO] [WorldEdit] Using inbuilt NmsBlock for this version.
10:57:08 [SEVERE] [PlayTime] null
10:57:16 [SEVERE] Reached end of stream for /198.245.49.120
10:58:08 [SEVERE] [PlayTime] null
pt reload
11:09:38 [INFO] [PlayTime] Loading Configuration mananger...
11:09:39 [INFO] [PlayTime] Loading language manager...
11:09:53 [INFO] [PlayTime] Enabling Metrics...
11:09:53 [INFO] [PlayTime] Enabling executable manager...
11:09:53 [INFO] [PlayTime] Enabling Data Manager...
11:09:53 [INFO] [PlayTime] "Connecting to SQLite database..."
11:09:53 [INFO] [PlayTime] Successfully connected to database!
11:09:53 [INFO] [PlayTime] Enabling Command Handler...
11:09:53 [INFO] [PlayTime] Enabling Player Handler...
11:09:53 [INFO] [PlayTime] Enabling event system...
11:09:53 [INFO] [PlayTime] Enabling listener manager...
11:09:53 [INFO] [PlayTime] Playtime reloaded!
11:10:53 [SEVERE] [PlayTime] null
I tried that already as well. Stopped the server, removed the directory, and started the server.
Thank you for your help, replacing the lang file with yours fixed one error, however I still get "[SEVERE] [PlayTime] null" every 60 seconds.
Hm, I'm not certain why it is downloading like that if you are probably deleting the folder. The contents of the file should be this:
https://raw.github.com/1Rogue/PlayTime/master/lang/1.4.1/en_US.yml
On debug level 3, can you try and see what other errors pop up with that "null" output?
A full startup -> null -> shutdown in log form would be best. Also if you can include your configuration file, that would be helpful (no need for the database info however).
Alright, so I think the issue might have stemmed from upgrading from the old version to the latest, because my config had two sections for debugging. I enabled the debugging level 4 in another section, and this is what I've found now.
There is no debugging 4, haha. It's set from 0-3 (4 would just default to 3).
Can you verify that a "users.db" is being created in Playtime's plugin folder?