Problem A critical server error occured handling a packet

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

bojangels19

New Member
Jul 29, 2019
35
0
0
My server keeps getting random restarts and I get a Severe server error. I'm not sure what to do to fix it and was looking for any input. The server permgen is set to 512. FTB Unleashed 1.1.7
Console : 2013-12-01 22:39:15 [SEVERE] A critical server error occured handling a packet, kicking 107849
Console : java.lang.IndexOutOfBoundsException: Index: 41, Size: 37
Error : Minecraft server error. Server will be restarted.
Console : at java.util.ArrayList.rangeCheck(Unknown Source)
Console : at java.util.ArrayList.get(Unknown Source)
Console : at net.minecraft.inventory.Container.func_75144_a(SourceFile:207)
Console : at invtweaks.forge.PacketHandler.onClickPacket(PacketHandler.java:46)
Console : at invtweaks.forge.PacketHandler.onPacketData(PacketHandler.java:23)
Console : at cpw.mods.fml.common.network.NetworkRegistry.handlePacket(NetworkRegistry.java:255)
Console : at cpw.mods.fml.common.network.NetworkRegistry.handleCustomPacket(NetworkRegistry.java:245)
Console : at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket250Packet(FMLNetworkHandler.java:84)
Console : at net.minecraft.network.NetServerHandler.func_72501_a(NetServerHandler.java:1098)
Console : at net.minecraft.network.packet.Packet250CustomPayload.func_73279_a(SourceFile:59)
Console : at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:461)
Console : at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:134)
Console : at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:53)
Console : at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(SourceFile:30)
Console : at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:677)
Console : at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:275)
Console : at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:573)
Console : at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:470)
Console : at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)
Console : 2013-12-01 22:39:15 [WARNING] Failed to handle packet for Bowl_23/98.206.19.225: java.lang.IndexOutOfBoundsException: Index: 41, Size: 37
Console : java.lang.IndexOutOfBoundsException: Index: 41, Size: 37
Console : at java.util.ArrayList.rangeCheck(Unknown Source)
Console : at java.util.ArrayList.get(Unknown Source)
Console : at net.minecraft.inventory.Container.func_75144_a(SourceFile:207)
Console : at invtweaks.forge.PacketHandler.onClickPacket(PacketHandler.java:46)
Console : at invtweaks.forge.PacketHandler.onPacketData(PacketHandler.java:23)
Console : at cpw.mods.fml.common.network.NetworkRegistry.handlePacket(NetworkRegistry.java:255)
Console : at cpw.mods.fml.common.network.NetworkRegistry.handleCustomPacket(NetworkRegistry.java:245)
Console : at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket250Packet(FMLNetworkHandler.java:84)
Console : at net.minecraft.network.NetServerHandler.func_72501_a(NetServerHandler.java:1098)
Console : at net.minecraft.network.packet.Packet250CustomPayload.func_73279_a(SourceFile:59)
Console : at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:461)
Console : at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:134)
Console : at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:53)
Console : at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(SourceFile:30)
Console : at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:677)
Console : at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:275)
Console : at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:573)
Console : at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:470)
Console : at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)
 
Last edited:

cjm721

New Member
Jul 29, 2019
734
0
1
Inventory size mismatch between client side and server side on some container when someone is trying to sort with inventory tweaks.

You can remove inventory tweaks on the server and it will stop that error, but sorting will not work as well.