Skip to content

Internal Exception bytes extra whilst reading packet when clicking buttons in Armor Poser GUI #703

Open

Description

@evelVT

Version

lithium-fabric-0.21.1+mc1.21.11

Other mod

ArmorPoser-fabric-1.21.11-13.0.0

Reproduction Steps

  1. Place an armor statue.
  2. Shift right-click the armor statue to open the Armor Poser GUI.
  3. Click one of the property buttons (e.g., enable invisibility).
  4. (internal) Server crashes.

Crash (Report File)

Internal Exception: io.netty.handler.codec.DecoderException: java.io.IOException: Packet play/serverbound/minecraft:custom_payload (class_2817) was larger than I expected, found 635 bytes extra whilst reading packet serverbound/minecraft:custom_payload

Additional Information

I have confirmed that this issue does not happen without Lithium installed. The issue was found with multiple other mods enabled, but given that turning Lithium off fixes the issue, I have assumed the error lies there.

Activity

  1. 2No2Name commented on Dec 19, 2025

    @2No2Name
    Member

    With

    ArmorPoser-fabric-1.21.11-13.0.0.jar
    cloth-config-21.11.151-fabric.jar
    fabric-api-0.140.0+1.21.11.jar
    

    and lithium 0.21.1 the issue does not occur in single player.

  2. 2No2Name commented on Dec 19, 2025

    @2No2Name
    Member

    In multiplayer this is also not an issue

  3. added
    A-mods
    S-cannot-repro
    on Dec 19, 2025
  4. 2No2Name commented on Dec 19, 2025

    @2No2Name
    Member

    Please provide more detailed reproduction steps. Including which mods are installed on the client, server, whether singleplayer is used, which additional mods are present

  5. evelVT commented on Feb 23, 2026

    @evelVT
    Author

    I'm sorry, I didn't want to cause any extra work on your end. I've finally had some time for debugging myself. The combination crashed due to my lithium config which had experimental mixins set to true.

    In short, ArmorPoser-fabric-1.21.11-13.0.0 with lithium-fabric-0.21.1+mc1.21.11 crashes (on the client-side) only if experimental mixins is set to true in the lithium config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-modsS-cannot-repro

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions