(crashed...) at java.net.SocketInputStream.read(SocketInputStream.java:189)

Discussion in 'Bukkit Help' started by odielag, Feb 15, 2011.

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

    odielag

    Server was running fine for 30 hours of cpu +time, then it crashed for everyone.
    I was using Java 7, craftbukkit 322 and CentOS5.5 x86_64 with 16GB of ram set to craftbukkit.jar.

    I'm glad I had an auto-backup and auto "save-all" script, or else the server would have been rolled back more than an hour...

    I tried three times to start the server up with Java 7 and within a minute and 6 players it crashed with the error below... again...

    The first thing I tried was to go back to Java 6_23... and the server has been running for a few minutes without problem.

    So for now, I'm staying away from Java 7 even though I don't know if that was the issue.

    Any insight into the above error would be appreciated.

    ~odielag
    --- merged: Feb 15, 2011 7:39 PM ---
    Just crashed again with Java 6_23... The error was slightly different...

    BTW, every time it crashes I am no longer able to execute commands in the minecraft server's console (can't do save-all)... I have to ctrl+c out of it.

    --- merged: Feb 15, 2011 7:57 PM ---
    Here are the emails the backup program http://pastebin.com/iGgLXRAd
    --- merged: Feb 15, 2011 8:04 PM ---
    Just restored a backup from 11am CST (server time) and we're testing it.
    --- merged: Feb 15, 2011 8:46 PM ---
    It's been up for what seems to be 42 minutes without a problem.
    --- merged: Feb 17, 2011 1:22 AM ---
    The server has been up for a while now but I still wonder what caused the world corruption and game crash.
     
  2. Offline

    Padeius Etoh

    go to b325 then do the latest builds of all your plugins.
     
  3. Offline

    odielag

    I tried to update to the latest version of bukkit using that "Where do I download bukkit / craftbukkit" link... and it gave me a corrupt jar file.
    --- merged: Feb 17, 2011 7:07 PM ---
    BTW, this is an error I got using CraftBukkit 322:

    Code:
    2011-02-17 09:34:45 [SEVERE] Unexpected exception
    java.lang.ArrayIndexOutOfBoundsException: -1
    	at net.minecraft.server.ChunkCache.getTypeId(SourceFile:38)
    	at net.minecraft.server.ChunkCache.getMaterial(SourceFile:103)
    	at net.minecraft.server.Pathfinder.a(SourceFile:158)
    	at net.minecraft.server.Pathfinder.a(SourceFile:120)
    	at net.minecraft.server.Pathfinder.b(SourceFile:96)
    	at net.minecraft.server.Pathfinder.a(SourceFile:64)
    	at net.minecraft.server.Pathfinder.a(SourceFile:37)
    	at net.minecraft.server.Pathfinder.a(SourceFile:22)
    	at net.minecraft.server.World.a(World.java:1682)
    	at net.minecraft.server.EntityCreature.d(EntityCreature.java:69)
    	at net.minecraft.server.EntityLiving.o(EntityLiving.java:641)
    	at net.minecraft.server.EntityMonster.o(EntityMonster.java:30)
    	at net.minecraft.server.EntityZombie.o(EntityZombie.java:34)
    	at net.minecraft.server.EntityLiving.b_(EntityLiving.java:226)
    	at net.minecraft.server.EntityMonster.b_(EntityMonster.java:34)
    	at net.minecraft.server.World.a(World.java:1059)
    	at net.minecraft.server.WorldServer.a(WorldServer.java:57)
    	at net.minecraft.server.World.f(World.java:1041)
    	at net.minecraft.server.World.c(World.java:1018)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:313)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:232)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-02-17 09:55:18 [INFO] MCBans: Checking mcbans server....
    2011-02-17 09:55:18 [INFO] MCBans: Mcbans is online!
    2011-02-17 10:00:01 [INFO] [CONSOLE] Backing up world: 'world'
    2011-02-17 10:00:01 [INFO] [CONSOLE] Forcing Save..
    2011-02-17 10:00:01 [INFO] CONSOLE: Forcing save..
    2011-02-17 10:00:07 [INFO] CONSOLE: Save complete.
    2011-02-17 10:00:07 [INFO] [CONSOLE] Packing and compressing world...
    2011-02-17 10:00:21 [INFO] [CONSOLE] Backup Completed.
    2011-02-17 10:55:18 [INFO] MCBans: Checking mcbans server....
    2011-02-17 10:55:18 [INFO] MCBans: Mcbans is online!
    2011-02-17 10:58:15 [SEVERE] Exception while handling request:
    java.lang.NullPointerException
    	at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
    	at java.util.regex.Matcher.reset(Matcher.java:291)
    	at java.util.regex.Matcher.<init>(Matcher.java:211)
    	at java.util.regex.Pattern.matcher(Pattern.java:888)
    	at org.dynmap.web.HttpServerConnection.readRequestHeader(HttpServerConnection.java:32)
    	at org.dynmap.web.HttpServerConnection.run(HttpServerConnection.java:81)
    2011-02-17 10:58:15 [SEVERE] Exception while handling request:
    java.lang.NullPointerException
    	at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
    	at java.util.regex.Matcher.reset(Matcher.java:291)
    	at java.util.regex.Matcher.<init>(Matcher.java:211)
    	at java.util.regex.Pattern.matcher(Pattern.java:888)
    	at org.dynmap.web.HttpServerConnection.readRequestHeader(HttpServerConnection.java:32)
    	at org.dynmap.web.HttpServerConnection.run(HttpServerConnection.java:81)
    2011-02-17 10:58:15 [SEVERE] Exception while handling request:
    java.lang.NullPointerException
    	at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
    	at java.util.regex.Matcher.reset(Matcher.java:291)
    	at java.util.regex.Matcher.<init>(Matcher.java:211)
    	at java.util.regex.Pattern.matcher(Pattern.java:888)
    	at org.dynmap.web.HttpServerConnection.readRequestHeader(HttpServerConnection.java:32)
    	at org.dynmap.web.HttpServerConnection.run(HttpServerConnection.java:81)
    2011-02-17 10:58:15 [SEVERE] Exception while handling request:
    java.lang.NullPointerException
    	at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
    	at java.util.regex.Matcher.reset(Matcher.java:291)
    	at java.util.regex.Matcher.<init>(Matcher.java:211)
    	at java.util.regex.Pattern.matcher(Pattern.java:888)
    	at org.dynmap.web.HttpServerConnection.readRequestHeader(HttpServerConnection.java:32)
    	at org.dynmap.web.HttpServerConnection.run(HttpServerConnection.java:81)
    2011-02-17 10:58:15 [SEVERE] Exception while handling request:
    java.lang.NullPointerException
    	at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
    	at java.util.regex.Matcher.reset(Matcher.java:291)
    	at java.util.regex.Matcher.<init>(Matcher.java:211)
    	at java.util.regex.Pattern.matcher(Pattern.java:888)
    	at org.dynmap.web.HttpServerConnection.readRequestHeader(HttpServerConnection.java:32)
    	at org.dynmap.web.HttpServerConnection.run(HttpServerConnection.java:81)
    2011-02-17 10:58:15 [SEVERE] Exception while handling request:
    java.lang.NullPointerException
    	at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
    	at java.util.regex.Matcher.reset(Matcher.java:291)
    	at java.util.regex.Matcher.<init>(Matcher.java:211)
    	at java.util.regex.Pattern.matcher(Pattern.java:888)
    	at org.dynmap.web.HttpServerConnection.readRequestHeader(HttpServerConnection.java:32)
    	at org.dynmap.web.HttpServerConnection.run(HttpServerConnection.java:81)
    2011-02-17 11:36:51 [INFO] Unknown console command. Type "help" for help.
     
  4. Offline

    Da_Norc

    Here's a new crash from the same server. Any ideas?:

    [​IMG]
     
  5. Offline

    odielag

    BTW, we were using CraftBukkit ver 16 (less than a few days old) when this error happened.
     
Thread Status:
Not open for further replies.

Share This Page