Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-152272

Server stops responding after log out error


    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.14.2 Pre-Release 2
    • None
    • Ubuntu Server 18.04.2
      openjdk 11.0.3
    • Unconfirmed
    • (Unassigned)

      Sometimes, on my 1.14.2 Pre-Release 2 multiplayer server, this exception occurs when someone logs out, and then a few minutes later, the server completely stops responding. I have no reproduction steps, but it has happened three times in the past few days. When the server stops responding, it refuses to accept any console commands or Ctrl+C, and all connected players time out.


      [16:46:50] [Server thread/INFO]: SirBenet lost connection: Disconnected
      [16:46:50] [Server thread/INFO]: SirBenet left the game
      [16:46:50] [Server-Worker-13/ERROR]: Caught exception in thread Thread[Server-Worker-13,5,main]
      java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 1025
              at it.unimi.dsi.fastutil.longs.LongOpenHashSet.rehash(LongOpenHashSet.java:603) ~[server.jar:?]
              at it.unimi.dsi.fastutil.longs.LongOpenHashSet.removeEntry(LongOpenHashSet.java:344) ~[server.jar:?]
              at it.unimi.dsi.fastutil.longs.LongOpenHashSet.remove(LongOpenHashSet.java:375) ~[server.jar:?]
              at ckr.c(SourceFile:327) ~[server.jar:?]
              at ckp.b(SourceFile:248) ~[server.jar:?]
              at cks.b(SourceFile:147) ~[server.jar:?]
              at vj.c(SourceFile:69) ~[server.jar:?]
              at vj.b(SourceFile:164) ~[server.jar:?]
              at vj.a(SourceFile:107) ~[server.jar:?]
              at uu.b(SourceFile:57) ~[server.jar:?]
              at agn.e(SourceFile:83) ~[server.jar:?]
              at agn.a(SourceFile:123) ~[server.jar:?]
              at agn.run(SourceFile:91) ~[server.jar:?]
              at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1426) ~[?:?]
              at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) ~[?:?]
              at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) ~[?:?]
              at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) ~[?:?]
              at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) ~[?:?]
              at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) ~[?:?]



            Unassigned Unassigned
            doowaw Alluet
            2 Vote for this issue
            4 Start watching this issue