Freeze CraftBukkit

Discussion in 'Bukkit Help' started by Antoine Pintout, Feb 27, 2011.

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

    Antoine Pintout

    Hello,

    I have a big problem with my server CraftBukkit. A few seconds after launch I have this error :


    Code:
    19:45:02 [GRAVE] java.lang.ArrayIndexOutOfBoundsException: -96
    19:45:02 [GRAVE]        at net.minecraft.server.World.h(World.java:1502)
    19:45:02 [GRAVE]        at net.minecraft.server.World.g(World.java:1434)
    19:45:02 [GRAVE]        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:348)
    19:45:02 [GRAVE]        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    19:45:02 [GRAVE]        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    19:45:02 [GRAVE] Unexpected exception
    java.lang.ArrayIndexOutOfBoundsException: -96
            at net.minecraft.server.World.h(World.java:1502)
            at net.minecraft.server.World.g(World.java:1434)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:348)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    

    My players are not disconnected immediately but can not send commands or speak,and the other players do not move around. This is not because of the plugins Iremoved them all, same error. I even tested several builds of Bukki (# 440 # 452 # 455 # 457) ... same error. I replaced sun-java6-jre openjdk by-6-jre (I'm on UbuntuServer 10.4.2) without success ...

    I read that maybe it was because of a minecart buggy, I have them all destroyed, without success ...

    Then I made a new map and then miraculously (!) the error disappeared!
    But I'd like to keep current, it is the result of several weeks of joint work ...

    I am desperate ...

    Do you have a solution?


    Thanks you.
     
  2. Offline

    Incendia

    What do you mean?
     
  3. Offline

    Plague

    Solution? try a backup of the map.
     
  4. Offline

    Azelphur

    Exact same issue here with OpenJDK

    Code:
    18:05:30 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: -128
    18:05:30 [SEVERE]       at net.minecraft.server.World.h(World.java:1502)
    18:05:30 [SEVERE]       at net.minecraft.server.World.g(World.java:1434)
    18:05:30 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:348)
    18:05:30 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    18:05:30 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    18:05:30 [SEVERE] Unexpected exception
    java.lang.ArrayIndexOutOfBoundsException: -128
            at net.minecraft.server.World.h(World.java:1502)
            at net.minecraft.server.World.g(World.java:1434)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:348)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    My client (also openjdk) also seems to crash in a much similar way

    Code:
    java.lang.ArrayIndexOutOfBoundsException: -128
        at it.b(SourceFile:71)
        at it.a(SourceFile:594)
        at dt.a(SourceFile:1737)
        at kb.a(SourceFile:242)
        at da.a(SourceFile:77)
        at lt.a(SourceFile:230)
        at kb.a(SourceFile:44)
        at jr.k(SourceFile:56)
        at net.minecraft.client.Minecraft.j(SourceFile:1301)
        at net.minecraft.client.Minecraft.run(SourceFile:668)
        at java.lang.Thread.run(Thread.java:636)
    Stopping!
    I realize the problem is probably openjdk related, I've switched to sun now but I still get the errors. I assume my world is corrupted. Any suggestions on repairing it?
     
  5. Offline

    Azelphur

    Wiped my map and have been running with sun java ever since my previous post. Just got the error again. Clearly not restricted to OpenJDK.
     
  6. Offline

    TnT

    What is the output of your java -version?
    Have you tried with a new world?
     
  7. Offline

    Nohup

    Have you tried with a later version?
     
  8. Offline

    Azelphur

    java -version
    Code:
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
    Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
    
    Have you tried with a new world?
    Yes as previously mentioned I had this problem before, thought it was openjdk related, installed Sun Java and started a new world.

    Have you tried with a later version?
    Yes, I updated to the latest version of craftbukkit at the same time I switched to Sun Java
    [MERGETIME="1299951262"][/MERGETIME]
    Still getting these crashes :(
     
  9. Offline

    Tahg

    Something is causing you to have invalid blocks in your world
     
  10. Offline

    Azelphur

    Any suggestions on how I might fix it?
    [MERGETIME="1299956084"][/MERGETIME]
    Also @Antoine Pintout can you tell me what plugins you use, maybe there's a plugin causing this, it'd be interesting to see if we have any common plugins. I use CraftIRC, dynmap, FakePermissions, GroupManager, LogBlock, LWC, NoCheat, Persistence, PvP and Stargate.
    [MERGETIME="1300076829"][/MERGETIME]
    My friend solved this issue. The cause is indeed invalid blocks! MCFix http://www.minecraftforum.net/viewtopic.php?f=25&t=154532&sid=ef4ded8671ad7c59e93a1fec1f5ffef3 can fix this. It found 2 blocks on my map with ID 128 and repaired them. My server has been running for a few hours now with no crashes, this should fix it for the OP too so a mod might want to mark this thread as solved, since the OP has disappeared.
     
Thread Status:
Not open for further replies.

Share This Page