LWC

63 - Huge error and crash when using auto updater

I get this in the console.

23:32:56 [INFO] [LWC] [LWC] The updater ran into a minor issue: Unexpected end of file from server
23:32:56 [INFO] [LWC] [LWC] This can probably be ignored.
23:32:56 [SEVERE] Exception in thread "Thread-15"
23:32:56 [SEVERE] java.lang.NullPointerException
23:32:56 [SEVERE]     at com.griefcraft.util.Updater.shouldAutoUpdate(Updater.java:442)
23:32:56 [SEVERE]     at com.griefcraft.util.Updater.tryAutoUpdate(Updater.java:302)
23:32:56 [SEVERE]     at com.griefcraft.util.Updater$1.run(Updater.java:183)
23:32:56 [SEVERE]     at com.griefcraft.util.Updater$1Background_Check_Thread.run(Updater.java:506)
23:32:56 [SEVERE]     at java.lang.Thread.run(Thread.java:680)

then when using /lwc admin update I get this
>lwc admin update
23:33:21 [INFO] Request: GET http://update.griefcraft.com/lwc/branch/stable/LATEST
23:33:21 [INFO] No handler. Piping.
23:33:32 [WARNING] [Server] The main thread failed to respond after 10 seconds
23:33:32 [WARNING] [Server] Probable Plugin cause: 'LWC'
23:33:32 [WARNING] [Server] What follows is the stack trace of the main thread
23:33:32 [WARNING] [Server]    at java.net.SocketInputStream.socketRead0(Native Method)
23:33:32 [WARNING] [Server]    at java.net.SocketInputStream.read(SocketInputStream.java:129)
23:33:32 [WARNING] [Server]    at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
23:33:32 [WARNING] [Server]    at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
23:33:32 [WARNING] [Server]    at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
23:33:32 [WARNING] [Server]    at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:690)
23:33:32 [WARNING] [Server]    at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)
23:33:32 [WARNING] [Server]    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1195)
23:33:32 [WARNING] [Server]    at java.net.URL.openStream(URL.java:1010)
23:33:32 [WARNING] [Server]    at com.griefcraft.util.Updater$1Background_Check_Thread.run(Updater.java:488)
23:33:32 [WARNING] [Server]    at com.griefcraft.util.Updater.loadVersions(Updater.java:517)
23:33:32 [WARNING] [Server]    at com.griefcraft.util.Updater.loadVersions(Updater.java:452)
23:33:32 [WARNING] [Server]    at com.griefcraft.modules.admin.AdminUpdate.onCommand(AdminUpdate.java:61)
23:33:32 [WARNING] [Server]    at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:341)
23:33:32 [WARNING] [Server]    at com.griefcraft.lwc.LWCPlugin.onCommand(LWCPlugin.java:185)
23:33:32 [WARNING] [Server]    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
23:33:32 [WARNING] [Server]    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
23:33:32 [WARNING] [Server]    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:498)
23:33:32 [WARNING] [Server]    at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:490)
23:33:45 [WARNING] [Server] The main thread is still stuck, current loop line is:
23:33:45 [WARNING] [Server]    at java.net.SocketInputStream.socketRead0(Native Method)
23:33:45 [WARNING] [Server] This appears to be plugin 'LWC'!

Followed by the server crashing.

User When Change
TheOneRelic Oct 01, 2012 at 03:38 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

Facts

Last updated
Mar 04, 2014
Reported
Oct 01, 2012
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
1

Reported by

Possible assignees