Maescool/Catacomb-Snatch — Issue #345: [Bug] Crash on MP custom level download
Author: DurtyFree
Created: 2012-02-24 18:50:09+00:00
State: open

I tried to play a custom map in multiplayer, we used hamachi. Everything worked well with the standart maps, but when we tried to play some custom maps they crash our games.

We used hamachi, he connects, i spawned in the correct map, but then the game hang up and he gets an crash. Then my game crashes too.

java console error (From me)

java.lang.NullPointerException
at com.mojang.mojam.network.Packet.getId(Packet.java:42)
at com.mojang.mojam.network.Packet.writePacket(Packet.java:51)
at com.mojang.mojam.network.NetworkPacketLink.writeTick(NetworkPacketLink.java:131)
at com.mojang.mojam.network.NetworkPacketLink.access$3(NetworkPacketLink.java:123)
at com.mojang.mojam.network.NetworkPacketLink$2.run(NetworkPacketLink.java:60)
java.net.SocketException: Socket closed
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
at java.io.BufferedOutputStream.flush(Unknown Source)
at java.io.DataOutputStream.flush(Unknown Source)
at com.mojang.mojam.network.NetworkPacketLink$2.run(NetworkPacketLink.java:65)