Solved Players disconnected - Java error in console

Discussion in 'Bukkit Help' started by coscom, Feb 21, 2012.

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

    coscom

    Hi All,

    I'm having some errors where some exsiting players and some new players to the server get disconnected with the following error in the server.log
    Code:
    [WARNING] Failed to handle packet: java.lang.ArrayIndexOutOfBoundsException
    java.lang.ArrayIndexOutOfBoundsException
    at net.minecraft.server.Chunk.getData(Chunk.java:759)
    at net.minecraft.server.World.getMultiChunkData(World.java:2652)
    at net.minecraft.server.Packet51MapChunk.<init>(Packet51MapChunk.java:28)
    at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:255)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:323)
    at lishid.orebfuscator.utils.NetServerHandlerProxy.a(NetServerHandlerProxy.java:55)
    at net.minecraft.server.Packet10Flying.handle(SourceFile:126)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    at lishid.orebfuscator.utils.NetServerHandlerProxy.a(NetServerHandlerProxy.java:44)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    
    It happens to different players, newly registered and ones that have been playing for weeks. I get the same prob with both Sun Java and OpenJDK.


    Server Details
    IP/name: Coscom.net
    OS: CentOS 5.7 x86
    Java: Currently java version "1.7.0_03" but I have tried OpenJDK 1.6.0_20 with the same results
    Server CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
    RAM: 8GB

    Craftbukkit Version 1.1 R4

    Any help appreciated,

    Cheers,

    Oliver.
     
  2. Offline

    flamedaces

    Happens to me all the time.

    This happens when a player exits out of the server by directly closing minecraft.
    I'm pretty sure i'm correct, can anybody else confirm?
     
  3. Offline

    coscom

    Thanks for the reply, but this is certainly not the case here, these people are tring to play. TO add i've tried removing the players .dat file with no luck either.....
     
  4. Offline

    acetech09

    Thats a different error. This one seems to be, perhaps, a map corruption? I honestly don't know but It'd be worth a shot to try a new map for a bit.
     
  5. Offline

    flamedaces

    Are you sure? Because I had this error replace the other error when i installed orebfuscator. And he/she is getting an error "at lishid.orebfuscator.utils....."
     
  6. Offline

    coscom

    Whats the best way to check a map for errors - MCEDIT? I do run the orebf.... plugin which I have just removed to see if it makes a difference.....

    I've Run MC edit over it and it found a few errors and I've removed the Orebf... plugin - still having the same issue..... this is getting painful! could it be related to bad memory (RAM) on the server?

    After some further testing it appears to be somewhat account related. My daughter was getting the error on her computer, I got her to create a new account and log in and it works fine, I get her to go back to her main account, she's dissconected by server - Internal Server error message client side and the message in the 1st post in the server logs.....

    Thoughts/Idea's Please!

    I'm getting a little desperate..

    Cheers.

    after some time new accounts have the same problem, removing the player.dat fixes it for a short time but the issue come back fast. I can see a few other reported bugs here https://bukkit.atlassian.net/browse/BUKKIT-644 & https://bukkit.atlassian.net/browse...ira.plugin.system.issuetabpanels:all-tabpanel that seem to be the same with no fix as yet.... anyone know how I could possibly debug this further?

    :(

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  7. Offline

    coscom

    Tried a different world and it seems to be ok. So it appears to be map related. I also tried copy/pasting alot of stuff from it into a new map with MCedit and still have the same problem. on the newly created map!

    Sorry to SPAM the forums but I thought I'd post hat looks to have fixed the issue. There was a rc.1 files shown in the MCEdit program when flying around my map that the MCedit console said had chink errors. I took a copy of the world and deleted that file which in turn removed a part of the map and a few not so importand things. I then opened the map up in single player, walked around the area that the deleted file removed. Closed single player. Opened up the old corrupt world in MCEdit and copied the structures i'd lost from the rc.1 file deletion and pasted them back into the new copy of the wolrd. Put it all back on the server and wala! All appears to be good.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
Thread Status:
Not open for further replies.

Share This Page