SimpleServer/SimpleServer — Issue #207: Thread error on login: java.lang.NegativeArraySizeException
Author: kevinpeno
Created: 2011-12-11 22:26:18+00:00
State: open

Trying to add my current world with this wrapper. I've left pretty much everything as default, but I can give my config files too if needed. Here's the console output.

```SimpleServer -- Copyright (C) 2011 SimpleServer authors (see CONTRIBUTORS)
This program is licensed under The MIT License.
See file LICENSE for details.
>> Starting SimpleServer 8.3.4 stable
174 recipes
27 achievements
2011-12-11 14:23:57 [INFO] Starting minecraft server version 1.0.1
2011-12-11 14:23:57 [INFO] Loading properties
2011-12-11 14:23:57 [INFO] Starting Minecraft server on 127.0.0.1:25566
2011-12-11 14:23:57 [INFO] Preparing level "world"
2011-12-11 14:23:57 [INFO] Default game type: 0
2011-12-11 14:23:57 [INFO] Preparing start region for level 0
2011-12-11 14:23:58 [INFO] Done (858114998ns)! For help, type "help" or "?"
[SimpleServer] Wrapper listening on 0.0.0.0:25567 (connect here)
[SimpleServer] Note: 0.0.0.0 means all IP addresses; you want this.
[SimpleServer] IP Connection from 127.0.0.1!
[SimpleServer] IP Connection from 127.0.0.1!
2011-12-11 14:24:04 [INFO] bbqsamich [/127.0.0.3:57192] logged in with entity id 165 at (-49057.25, 71.0, -50016.3125)
[SimpleServer] Socket Closed: 127.0.0.1
Exception in thread "ServerStream-bbqsamich" java.lang.NegativeArraySizeException
at simpleserver.stream.StreamTunnel.readUTF16(Unknown Source)
at simpleserver.stream.StreamTunnel.handlePacket(Unknown Source)
at simpleserver.stream.StreamTunnel.access$300(Unknown Source)
at simpleserver.stream.StreamTunnel$Tunneler.run(Unknown Source)
[SimpleServer] java.io.EOFException
[SimpleServer] PlayerStream error handling traffic for 127.0.0.1 (a)
[SimpleServer] Socket Closed: 127.0.0.1
java.net.SocketException: Socket closed
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
at java.io.DataOutputStream.flush(DataOutputStream.java:123)
at wv.run(SourceFile:104)
2011-12-11 14:24:36 [INFO] bbqsamich lost connection: disconnect.endOfStream
```