java.lang.IllegalArgumentException: Payload may not be larger than 1048576 bytes

GitHub | inklit | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Debug Wand causing a kick with a big network

    GitHub | 5 months ago | inklit
    java.lang.IllegalArgumentException: Payload may not be larger than 1048576 bytes

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Payload may not be larger than 1048576 bytes

      at net.minecraft.network.play.server.S3FPacketCustomPayload.<init>()
    2. net.minecraft.network
      S3FPacketCustomPayload.<init>
      1. net.minecraft.network.play.server.S3FPacketCustomPayload.<init>(S3FPacketCustomPayload.java:27)[gg.class:?]
      1 frame
    3. MC Forge
      NetworkDispatcher.write
      1. net.minecraftforge.fml.common.network.internal.FMLProxyPacket.toS3FPackets(FMLProxyPacket.java:136)[FMLProxyPacket.class:?]
      2. net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.write(NetworkDispatcher.java:510)[NetworkDispatcher.class:?]
      2 frames
    4. Netty
      AbstractChannel.writeAndFlush
      1. io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:658)[AbstractChannelHandlerContext.class:?]
      2. io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:716)[AbstractChannelHandlerContext.class:?]
      3. io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:706)[AbstractChannelHandlerContext.class:?]
      4. io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:741)[AbstractChannelHandlerContext.class:?]
      5. io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:895)[DefaultChannelPipeline.class:?]
      6. io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240)[AbstractChannel.class:?]
      6 frames
    5. Minecraft
      NetworkManager$4.run
      1. net.minecraft.network.NetworkManager$4.run(NetworkManager.java:249)[ek$4.class:?]
      1 frame
    6. Netty
      SingleThreadEventExecutor$2.run
      1. io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380)[SingleThreadEventExecutor.class:?]
      2. io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:268)[EpollEventLoop.class:?]
      3. io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)[SingleThreadEventExecutor$2.class:?]
      3 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_91]
      1 frame