SpoutDev/Spout — Issue #1429: SpoutCraft cannot connect to server.
Author: lazareth241
Created: 2012-01-14 20:11:48+00:00
State: open

Okay, I was testing this to see if I could connect with spout craft to our server, problem is whenever I try to connect to it, the server crashes about 50% of the time.

Spoutcraft: 1000 (i believe, the about menu on spoutcraft says it is version 1.0)
Spout: 644
Bukkit: 1.0.1 R1

Server Error Output: (in relation to right after I log in and not including the errors afterwards when the server does an automatic shutdown.

2012-01-14 11:53:00 [INFO] lazareth241 [/65.0.103.32:61852] logged in with entity id 703 at ([world] -254.5, 62.0, 211.5)
2012-01-14 11:53:03 [INFO] Reading data
2012-01-14 11:53:03 [WARNING] Task of 'Spout' generated an exception
java.lang.RuntimeException: Null pointer exception thrown when trying to process packet of type org.getspout.spout.packet.CustomPacket
at org.getspout.spout.SpoutNetServerHandler.syncedSendPacket(SpoutNetServerHandler.java:598)
at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:575)
at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:568)
at org.getspout.spout.player.SpoutCraftPlayer.onTick(SpoutCraftPlayer.java:1205)
at org.getspout.spout.ServerTickTask.run(ServerTickTask.java:40)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:493)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
Caused by: java.lang.NullPointerException
at net.minecraft.server.Packet.b(Packet.java:54)
at org.getspout.spout.SpoutNetServerHandler.syncedSendPacket(SpoutNetServerHandler.java:584)
... 8 more
2012-01-14 11:53:03 [WARNING] Failed to handle packet: java.lang.RuntimeException: Null pointer exception thrown when trying to process packet of type org.getspout.spout.packet.CustomPacket
java.lang.RuntimeException: Null pointer exception thrown when trying to process packet of type org.getspout.spout.packet.CustomPacket
at org.getspout.spout.SpoutNetServerHandler.syncedSendPacket(SpoutNetServerHandler.java:598)
at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:575)
at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:568)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:549)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
Caused by: java.lang.NullPointerException
at net.minecraft.server.Packet.b(Packet.java:54)
at org.getspout.spout.SpoutNetServerHandler.syncedSendPacket(SpoutNetServerHandler.java:584)
... 7 more
2012-01-14 11:53:03 [SEVERE] java.lang.RuntimeException: Null pointer exception thrown when trying to process packet of type org.getspout.spout.packet.CustomPacket
2012-01-14 11:53:03 [SEVERE]	at org.getspout.spout.SpoutNetServerHandler.syncedSendPacket(SpoutNetServerHandler.java:598)
2012-01-14 11:53:03 [SEVERE]	at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:575)
2012-01-14 11:53:03 [SEVERE]	at org.getspout.spout.SpoutNetServerHandler.queueOutputPacket(SpoutNetServerHandler.java:534)
2012-01-14 11:53:03 [SEVERE]	at org.getspout.spout.SpoutNetServerHandler.sendPacket(SpoutNetServerHandler.java:519)
2012-01-14 11:53:03 [SEVERE]	at net.minecraft.server.NetServerHandler.disconnect(NetServerHandler.java:118)
2012-01-14 11:53:03 [SEVERE]	at org.getspout.spout.SpoutNetServerHandler.disconnect(SpoutNetServerHandler.java:560)
2012-01-14 11:53:03 [SEVERE]	at net.minecraft.server.NetworkListenThread.a(SourceFile:111)
2012-01-14 11:53:03 [SEVERE]	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
2012-01-14 11:53:03 [SEVERE]	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
2012-01-14 11:53:03 [SEVERE]	at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
2012-01-14 11:53:03 [SEVERE] Caused by: java.lang.NullPointerException
2012-01-14 11:53:03 [SEVERE]	at net.minecraft.server.Packet.b(Packet.java:54)
2012-01-14 11:53:03 [SEVERE]	at org.getspout.spout.SpoutNetServerHandler.syncedSendPacket(SpoutNetServerHandler.java:584)
2012-01-14 11:53:03 [SEVERE]	... 9 more
2012-01-14 11:53:03 [SEVERE] Unexpected exception
java.lang.RuntimeException: Null pointer exception thrown when trying to process packet of type org.getspout.spout.packet.CustomPacket
at org.getspout.spout.SpoutNetServerHandler.syncedSendPacket(SpoutNetServerHandler.java:598)
at org.getspout.spout.SpoutNetServerHandler.syncFlushPacketQueue(SpoutNetServerHandler.java:575)
at org.getspout.spout.SpoutNetServerHandler.queueOutputPacket(SpoutNetServerHandler.java:534)
at org.getspout.spout.SpoutNetServerHandler.sendPacket(SpoutNetServerHandler.java:519)
at net.minecraft.server.NetServerHandler.disconnect(NetServerHandler.java:118)
at org.getspout.spout.SpoutNetServerHandler.disconnect(SpoutNetServerHandler.java:560)
at net.minecraft.server.NetworkListenThread.a(SourceFile:111)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
Caused by: java.lang.NullPointerException
at net.minecraft.server.Packet.b(Packet.java:54)
at org.getspout.spout.SpoutNetServerHandler.syncedSendPacket(SpoutNetServerHandler.java:584)
... 9 more