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

Exception when chat message too long

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.8.3
    • None
    • Java 8 Update 40, Windows 8.1 Pro Update 1
    • Unconfirmed

      When receiving a chat message that is too long (for example from 'say @e'), the connection closes with the following exception:
      Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(1) + length(1) exceeds writerIndex(1): UnpooledHeapByteBuf(ridx: 1, widx: 1, cap: 1)
      The server-log contains the following exception:
      io.netty.handler.codec.EncoderException: String too big (was 53129 bytes encoded, max 32767)

            Unassigned Unassigned
            mathe172 ...
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: