java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: readerIndex(0) + length(1) exceeds writerIndex(0): UnpooledHeapByteBuf(ridx: 0, widx: 0, cap: 69888/69888)

Mojang JIRA | Michael Parker | 1 year ago
  1. 0

    While cloning large amounts of blocks (About 4 chunks) from loaded chunks to an area around active players this causes random player disconnects. With only one player on the server this is a non-issue. Only affects clients when multiple are connected around the clones output area. Server Error {noformat} [Netty Epoll Server IO #26/ERROR]: io.netty.util.IllegalReferenceCountException: refCnt: 0 {noformat} Client Error {noformat} java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: readerIndex(0) + length(1) exceeds writerIndex(0): UnpooledHeapByteBuf(ridx: 0, widx: 0, cap: 69888/69888) at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_25] at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_25] at g.a(SourceFile:46) [15w38b.jar:?] at bab.as(SourceFile:920) [15w38b.jar:?] at bab.a(SourceFile:377) [15w38b.jar:?] at net.minecraft.client.main.Main.main(SourceFile:125) [15w38b.jar:?] Caused by: java.lang.IndexOutOfBoundsException: readerIndex(0) + length(1) exceeds writerIndex(0): UnpooledHeapByteBuf(ridx: 0, widx: 0, cap: 69888/69888) at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1175) ~[netty-all-4.0.23.Final.jar:4.0.23.Final] at io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:570) ~[netty-all-4.0.23.Final.jar:4.0.23.Final] at em.readByte(SourceFile:663) ~[15w38b.jar:?] at aqw.a(SourceFile:87) ~[15w38b.jar:?] at ard.a(SourceFile:908) ~[15w38b.jar:?] at bif.a(SourceFile:522) ~[15w38b.jar:?] at gp.a(SourceFile:68) ~[15w38b.jar:?] at gp.a(SourceFile:11) ~[15w38b.jar:?] at fh$1.run(SourceFile:13) ~[15w38b.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_25] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_25] at g.a(SourceFile:45) ~[15w38b.jar:?] ... 3 more {noformat} Per Lorgon111 {noformat} Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndix(13) + length(6684) exceeds writerIndex(13); UnpooledHeapyByteBuf(ridx: 13, widx: 13, cap: 13) {noformat}

    Mojang JIRA | 1 year ago | Michael Parker
    java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: readerIndex(0) + length(1) exceeds writerIndex(0): UnpooledHeapByteBuf(ridx: 0, widx: 0, cap: 69888/69888)
  2. 0

    1.7.X Version client cant use Uskyblock Server

    GitHub | 1 year ago | swan201
    io.netty.handler.codec.DecoderException: java.lang.RuntimeException: An internal error occured.
  3. 0

    GitHub comment 1622#152098538

    GitHub | 1 year ago | kxjhwbb
    io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(1) + length(1) exceeds writerIndex(1): PooledUnsafeDirectByteBuf(ridx: 1, widx: 1, cap: 1)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Kicked on game start: Internal Exception + NullPointerException

    GitHub | 5 months ago | zedwick
    io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(14) + length(1) exceeds writerIndex(14): UnpooledHeapByteBuf(ridx: 14, widx: 14, cap: 14)
  6. 0

    Kicked From Server Issue - Chaos Node - Orange Wisp

    GitHub | 2 months ago | AkioKasai
    io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(3) + length(1) exceeds writerIndex(3): UnpooledHeapByteBuf(ridx: 3, widx: 3, cap: 3)

  1. tyson925 6 times, last 4 months ago
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IndexOutOfBoundsException

    readerIndex(0) + length(1) exceeds writerIndex(0): UnpooledHeapByteBuf(ridx: 0, widx: 0, cap: 69888/69888)

    at io.netty.buffer.AbstractByteBuf.checkReadableBytes()
  2. Netty
    AbstractByteBuf.readByte
    1. io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1175)[netty-all-4.0.23.Final.jar:4.0.23.Final]
    2. io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:570)[netty-all-4.0.23.Final.jar:4.0.23.Final]
    2 frames
  3. Unknown
    fh$1.run
    1. em.readByte(SourceFile:663)[15w38b.jar:?]
    2. aqw.a(SourceFile:87)[15w38b.jar:?]
    3. ard.a(SourceFile:908)[15w38b.jar:?]
    4. bif.a(SourceFile:522)[15w38b.jar:?]
    5. gp.a(SourceFile:68)[15w38b.jar:?]
    6. gp.a(SourceFile:11)[15w38b.jar:?]
    7. fh$1.run(SourceFile:13)[15w38b.jar:?]
    7 frames
  4. Java RT
    FutureTask.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[?:1.8.0_25]
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_25]
    2 frames
  5. Unknown
    bab.a
    1. g.a(SourceFile:45)[15w38b.jar:?]
    2. bab.as(SourceFile:920)[15w38b.jar:?]
    3. bab.a(SourceFile:377)[15w38b.jar:?]
    3 frames
  6. MC Client
    Main.main
    1. net.minecraft.client.main.Main.main(SourceFile:125)[15w38b.jar:?]
    1 frame