Solved java.io.IOException

Discussion in 'Bukkit Help' started by williewillus, Mar 24, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    williewillus

    Hello, there was recently a power outage at the server site. After restarting the server, I tried to connect to it and was instantly kicked with an "exception: java.io.IOException: Received string length longer than maximum allowed. (147>119)"
    Windows 7 Pro X64, Java 7, MC 1.2.4
    I've tried deleting everything and rebuilding the whole install from scratch. The server let me in, but once I do anything that seems to have to do with my player.dat (/give, /gamemode, etc.) I get kicked with the same error.
    Server: CB 1.2.4-R0.2-build2103
    Plugins: IpLock, PermissionsBukkit 1.6, SpawnerAdjuster, WeatherSync
    Occasionally gives error:
    Code:
    21:42:38 [INFO] williewillus [/192.168.1.108:50228] logged in with entity id 18846 at ([world] -10.302141094487164, 71.0, 412.00424560071053)
     
    21:42:51 [SEVERE] java.net.SocketException: Socket closed
     
    21:42:51 [SEVERE]      at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
     
    21:42:51 [SEVERE]      at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
     
    21:42:51 [SEVERE]      at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
     
    21:42:51 [SEVERE]      at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
     
    21:42:51 [SEVERE]      at java.io.DataOutputStream.flush(DataOutputStream.java:123)
     
    21:42:51 [SEVERE]      at net.minecraft.server.NetworkWriterThread.run(SourceFile:103)
     
    21:42:51 [INFO] williewillus lost connection: disconnect.endOfStream
    
    I've tried Googling around, but all cases of this seemed to have disappeared since Beta 1.5....
    The other end of stream thread is unrelated, I am quite positive both server and client are running 1.2.4

    EDIT: Solved by upgrading to latest 2117. Turns out I used /version which caused the problems.
     
Thread Status:
Not open for further replies.

Share This Page