SpoutDev/Spout — Issue #704: ConcurrentModificationException server crash
Author: Boosik
Created: 2011-10-12 14:41:43+00:00
State: open

2011-10-12 16:16:04 [WARNING] Failed to handle packet: java.util.ConcurrentModificationException
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819)
at java.util.ArrayList$Itr.next(ArrayList.java:791)
at org.bukkit.craftbukkit.CraftWorld.getEntities(CraftWorld.java:515)
at org.getspout.spout.player.SimplePlayerManager.getEntity(SimplePlayerManager.java:153)
at org.getspout.spoutapi.SpoutManager.getEntityFromId(SpoutManager.java:276)
at org.getspout.spout.packet.listener.EntitySpawnListener.checkPacket(EntitySpawnListener.java:48)
at org.getspout.spout.packet.listener.PacketListeners.canSend(PacketListeners.java:70)
at org.getspout.spout.SpoutNetServerHandler.syncedSendPacket(SpoutNetServerHandler.java:526)
at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:518)
at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:511)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:499)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
2011-10-12 16:16:04 [SEVERE] java.util.ConcurrentModificationException
2011-10-12 16:16:04 [SEVERE]	at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819)
2011-10-12 16:16:04 [SEVERE]	at java.util.ArrayList$Itr.next(ArrayList.java:791)
2011-10-12 16:16:04 [SEVERE]	at org.bukkit.craftbukkit.CraftWorld.getEntities(CraftWorld.java:515)
2011-10-12 16:16:04 [SEVERE]	at org.getspout.spout.player.SimplePlayerManager.getEntity(SimplePlayerManager.java:153)
2011-10-12 16:16:04 [SEVERE]	at org.getspout.spoutapi.SpoutManager.getEntityFromId(SpoutManager.java:276)
2011-10-12 16:16:04 [SEVERE]	at org.getspout.spout.packet.listener.EntitySpawnListener.checkPacket(EntitySpawnListener.java:48)
2011-10-12 16:16:04 [SEVERE]	at org.getspout.spout.packet.listener.PacketListeners.canSend(PacketListeners.java:70)
2011-10-12 16:16:04 [SEVERE]	at org.getspout.spout.SpoutNetServerHandler.syncedSendPacket(SpoutNetServerHandler.java:526)
2011-10-12 16:16:04 [SEVERE]	at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:518)
2011-10-12 16:16:04 [SEVERE]	at org.getspout.spout.SpoutNetServerHandler.disconnect(SpoutNetServerHandler.java:506)
2011-10-12 16:16:04 [SEVERE]	at net.minecraft.server.NetworkListenThread.a(SourceFile:111)
2011-10-12 16:16:04 [SEVERE]	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
2011-10-12 16:16:04 [SEVERE]	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
2011-10-12 16:16:04 [SEVERE]	at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
2011-10-12 16:16:04 [SEVERE] Unexpected exception
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819)
at java.util.ArrayList$Itr.next(ArrayList.java:791)
at org.bukkit.craftbukkit.CraftWorld.getEntities(CraftWorld.java:515)
at org.getspout.spout.player.SimplePlayerManager.getEntity(SimplePlayerManager.java:153)
at org.getspout.spoutapi.SpoutManager.getEntityFromId(SpoutManager.java:276)
at org.getspout.spout.packet.listener.EntitySpawnListener.checkPacket(EntitySpawnListener.java:48)
at org.getspout.spout.packet.listener.PacketListeners.canSend(PacketListeners.java:70)
at org.getspout.spout.SpoutNetServerHandler.syncedSendPacket(SpoutNetServerHandler.java:526)
at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:518)
at org.getspout.spout.SpoutNetServerHandler.disconnect(SpoutNetServerHandler.java:506)
at net.minecraft.server.NetworkListenThread.a(SourceFile:111)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
2011-10-12 16:16:16 [INFO] Connection reset
2011-10-12 16:16:44 [INFO] Connection reset
2011-10-12 16:17:04 [INFO] Read timed out
2011-10-12 16:17:04 [INFO] Read timed out
2011-10-12 16:17:07 [INFO] Read timed out
2011-10-12 16:17:08 [INFO] Read timed out
2011-10-12 16:17:24 [INFO] Read timed out
2011-10-12 16:17:26 [INFO] Read timed out
2011-10-12 16:17:36 [INFO] Read timed out
2011-10-12 16:18:00 [INFO] Read timed out
2011-10-12 16:18:18 [INFO] Read timed out
2011-10-12 16:18:33 [INFO] Read timed out