SpoutDev/Spout — Issue #1041: Reload command error. 
Author: AbsoluteMonkey
Created: 2011-11-28 17:57:05+00:00
State: open

Server:

Issue:
Using the reload command in the console causes an error output and the client-server connection to become unresponsive. Unable to log back in from client side until server is shut down and restarted.

Output:
12:52:27 [INFO] [Spout] Successfully authenticated AbsoluteMonkey's Spoutcraft client. Running client version: 806
>reload
12:52:29 [INFO] [iConomy] Closing general data...
12:52:29 [INFO] [iConomy] Disabled. (0 ms)
12:52:29 [INFO] [Essentials] Payment method was disabled. No longer accepting payments.
12:52:29 [INFO] [Register] Payment method was disabled. No longer accepting payments.
12:52:29 [INFO] [ChestShop] Economy plugin disabled!
12:52:29 [INFO] PermissionsBukkit v1.1 is now disabled
12:52:29 [INFO] Essentials: Using Permissions 2 based permissions.
12:52:29 [INFO] TreeAssist 2.0 Disabled
12:52:29 [INFO] AppleTree disabled.
12:52:29 [INFO] [Mail] Disabled
12:52:29 [INFO] Essentials: Using superperms based permissions.
12:52:29 [INFO] WorldEdit: Using the Bukkit Permissions API.
12:52:29 [INFO] Spout 555 has been disabled
12:52:29 [INFO] [dynmap] Unloaded 10 components.
12:52:29 [INFO] [dynmap] Stopping map renderer...
12:52:30 [INFO] [dynmap] Shutting down webserver...
12:52:30 [INFO] [dynmap] Webserver shut down.
12:52:30 [INFO] mcMMO was disabled.
12:52:30 [INFO] ==============================================================
12:52:30 [INFO] [Towny] saveWorldList
12:52:30 [INFO] [Towny] Version: 0.77.1.0 - Mod Disabled
12:52:30 [INFO] =============================================================
12:52:30 [INFO] [ChestShop] version 3.24 shutting down!
12:52:30 [INFO] [SuperpermBridge] Superperm/Permissions bridge initialized
12:52:31 [INFO] [Register] Preferred method [null] not found, using first found.
12:52:31 [INFO] [Register] version 1.5 is enabled.
12:52:31 [SEVERE] java.lang.reflect.InvocationTargetException
12:52:31 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
12:52:31 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
12:52:31 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
12:52:31 [SEVERE] at java.lang.reflect.Method.invoke(Method.java:597)
12:52:31 [SEVERE] at org.getspout.spout.packet.CustomPacket.addClassMapping(CustomPacket.java:146)
12:52:31 [SEVERE] at org.getspout.spout.Spout.onEnable(Spout.java:250)
12:52:31 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
12:52:31 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
12:52:31 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
12:52:31 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:176)
12:52:31 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:159)
12:52:31 [SEVERE] at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:421)
12:52:31 [SEVERE] at org.bukkit.Bukkit.reload(Bukkit.java:186)
12:52:31 [SEVERE] at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
12:52:31 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
12:52:31 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:364)
12:52:31 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:360)
12:52:31 [SEVERE] at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:553)
12:52:31 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:530)
12:52:31 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
12:52:31 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
12:52:31 [SEVERE] Caused by: java.lang.IllegalArgumentException: Duplicate packet id:195
12:52:31 [SEVERE] at net.minecraft.server.Packet.a(Packet.java:25)
12:52:31 [SEVERE] ... 21 more
12:52:31 [INFO] [Spout] Spout 555 has been initialized
12:52:31 [INFO] [iConomy - Celty] Enabled (18 ms)
12:52:31 [INFO] PermissionsBukkit v1.1 is now enabled
12:52:31 [INFO] TreeAssist 2.0 Enabled
12:52:31 [INFO] AppleTree v0.6 activated.
12:52:31 [INFO] WorldEdit 4.7 enabled.
12:52:31 [INFO] WorldEdit: Using the Bukkit Permissions API.
12:52:32 [INFO] Bukkit version format changed. Version not checked.
12:52:32 [INFO] Loaded Essentials build 2.6.5 by: Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits
12:52:32 [INFO] Essentials: Using PermissionsBukkit based permissions.
12:52:32 [INFO] [Essentials] Payment method found (iConomy version: 6)
12:52:32 [INFO] Loaded EssentialsSpawn build 2.6.5 by: essentials team
12:52:32 [INFO] [Mail] Using: Permissions.
12:52:32 [INFO] [Mail] Connection success!
12:52:32 [INFO] [Mail] Enabled
12:52:32 [INFO] [SuperpermBridge] Superperm/Permissions bridge enabled
12:52:32 [INFO] WorldEdit: Using the Bukkit Permissions API.
12:52:32 [INFO] [dynmap] Using Permissions 2.7.7 for access control
12:52:32 [INFO] [dynmap] Loaded 12 shaders.
12:52:32 [INFO] [dynmap] Loaded 82 perspectives.
12:52:32 [INFO] [dynmap] Loaded 7 lightings.
12:52:32 [INFO] [dynmap] Loaded 3 maps of world 'world'.
12:52:32 [INFO] [dynmap] Loaded 2 maps of world 'world_nether'.
12:52:32 [INFO] [dynmap] World 'world_the_end' disabled
12:52:33 [INFO] [dynmap] Dynmap WebServer started on null:8123
12:52:33 [INFO] [dynmap] version 0.24 is enabled
12:52:33 [INFO] [mcMMO] Permissions version 2.7.7 found, using Permissions.
12:52:33 [INFO] Loading Config File...
12:52:34 [INFO] [mcMMO] Permissions version 2.7.7 found, using Permissions.
12:52:34 [INFO] mcMMO version 1.1.17 is enabled!
12:52:34 [INFO] ==================== Towny ========================
12:52:34 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
12:52:36 [INFO] [Towny] Using: Permissions v2.7.7, Register v1.5
12:52:36 [INFO] [Towny] Time until a New Day: 17 hours, 7 minutes, 24 second
12:52:36 [INFO] =============================================================
12:52:36 [INFO] [Towny] Version: 0.77.1.0 - Mod Enabled
12:52:36 [INFO] =============================================================
12:52:36 [INFO] [Register] Payment method found (iConomy version: 6)
12:52:36 [INFO] [MonsterHunt] MonsterHunt Loaded!
12:52:36 [INFO] [ChestShop] Permissions version 2.7.7 loaded.
12:52:36 [INFO] [ChestShop] Towny version 0.77.1.0 loaded.
12:52:36 [INFO] [ChestShop] version 3.24 initialized!
12:52:36 [INFO] [ChestShop] iConomy 6 loaded.
12:52:36 [INFO] Server permissions file permissions.yml is empty, ignoring it
12:52:36 [INFO] Reload complete.
12:52:36 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
12:52:37 [INFO] Reading data
12:52:37 [WARNING] Task of 'Spout' generated an exception
java.lang.NullPointerException
at net.minecraft.server.Packet.b(Packet.java:54)
at org.getspout.spout.SpoutNetServerHandler.syncedSendPacket(SpoutNetServerHandler.java:572)
at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:564)
at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:557)
at org.getspout.spout.player.SpoutCraftPlayer.onTick(SpoutCraftPlayer.java:1156)
at org.getspout.spout.ServerTickTask.run(ServerTickTask.java:41)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:482)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
12:52:37 [WARNING] Task of 'Spout' generated an exception
java.lang.NullPointerException
at net.minecraft.server.Packet.b(Packet.java:54)
at org.getspout.spout.SpoutNetServerHandler.syncedSendPacket(SpoutNetServerHandler.java:572)
at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:564)
at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:557)
at org.getspout.spout.player.SpoutCraftPlayer.onTick(SpoutCraftPlayer.java:1156)
at org.getspout.spout.ServerTickTask.run(ServerTickTask.java:41)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:482)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
12:52:37 [WARNING] Task of 'Spout' generated an exception
java.lang.NullPointerException
at net.minecraft.server.Packet.b(Packet.java:54)
at org.getspout.spout.SpoutNetServerHandler.syncedSendPacket(SpoutNetServerHandler.java:572)
at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:564)
at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:557)
at org.getspout.spout.player.SpoutCraftPlayer.onTick(SpoutCraftPlayer.java:1156)
at org.getspout.spout.ServerTickTask.run(ServerTickTask.java:41)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:482)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
12:52:37 [WARNING] Task of 'Spout' generated an exception
java.lang.NullPointerException
at net.minecraft.server.Packet.b(Packet.java:54)
at org.getspout.spout.SpoutNetServerHandler.syncedSendPacket(SpoutNetServerHandler.java:572)
at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:564)
at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:557)
at org.getspout.spout.player.SpoutCraftPlayer.onTick(SpoutCraftPlayer.java:1156)
at org.getspout.spout.ServerTickTask.run(ServerTickTask.java:41)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:482)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
12:52:37 [WARNING] Failed to handle packet: java.lang.NullPointerException
java.lang.NullPointerException
at net.minecraft.server.Packet.b(Packet.java:54)
at org.getspout.spout.SpoutNetServerHandler.syncedSendPacket(SpoutNetServerHandler.java:572)
at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:564)
at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:557)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:545)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
12:52:37 [SEVERE] java.lang.NullPointerException
12:52:37 [SEVERE] at net.minecraft.server.Packet.b(Packet.java:54)
12:52:37 [SEVERE] at org.getspout.spout.SpoutNetServerHandler.syncedSendPacket(SpoutNetServerHandler.java:572)
12:52:37 [SEVERE] at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:564)
12:52:37 [SEVERE] at org.getspout.spout.SpoutNetServerHandler.disconnect(SpoutNetServerHandler.java:553)
12:52:37 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:111)
12:52:37 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
12:52:37 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
12:52:37 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
12:52:37 [SEVERE] Unexpected exception
java.lang.NullPointerException
at net.minecraft.server.Packet.b(Packet.java:54)
at org.getspout.spout.SpoutNetServerHandler.syncedSendPacket(SpoutNetServerHandler.java:572)
at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:564)
at org.getspout.spout.SpoutNetServerHandler.disconnect(SpoutNetServerHandler.java:553)
at net.minecraft.server.NetworkListenThread.a(SourceFile:111)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
12:52:39 [INFO] Connection reset