java.lang.IndexOutOfBoundsException spam
oskarbukovsky opened this issue ยท 0 comments
We're getting weird error, nothing is wrong from what i see, but i'm trying to clean a console a little bit and i see some inventorysorter things in this, so if anyone can deduct what is wrong and if it is fixable, i guess help
Minecraft Version: 1.20.1
System: Ubuntu 22.04.4 LTS
Java Version: 21.0.2
forge-1.20.1-47.3.1
java.lang.IndexOutOfBoundsException: Index 40 out of bounds for length 38
at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100) ~[?:?]
at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106) ~[?:?]
at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302) ~[?:?]
at java.util.Objects.checkIndex(Objects.java:385) ~[?:?]
at java.util.ArrayList.get(ArrayList.java:427) ~[?:?]
at net.minecraft.core.NonNullList.get(NonNullList.java:47) ~[server-1.20.1-20230612.114412-srg.jar%23684!/:?]
at net.minecraft.world.inventory.AbstractContainerMenu.m_38853_(AbstractContainerMenu.java:341) ~[server-1.20.1-20230612.114412-srg.jar%23684!/:?]
at cpw.mods.inventorysorter.ContainerContext.<init>(ContainerContext.java:58) ~[inventorysorter-1.20.1-23.0.1.jar%23551!/:23.0.1]
at cpw.mods.inventorysorter.ServerHandler.lambda$onMessage$0(ServerHandler.java:40) ~[inventorysorter-1.20.1-23.0.1.jar%23551!/:23.0.1]
at net.minecraftforge.network.NetworkEvent$Context.enqueueWork(NetworkEvent.java:212) ~[forge-1.20.1-47.3.1-universal.jar%23689!/:?]
at cpw.mods.inventorysorter.ServerHandler.onMessage(ServerHandler.java:37) ~[inventorysorter-1.20.1-23.0.1.jar%23551!/:23.0.1]
at net.minecraftforge.network.simple.SimpleChannel$MessageBuilder.lambda$consumerMainThread$1(SimpleChannel.java:272) ~[forge-1.20.1-47.3.1-universal.jar%23689!/:?]
at net.minecraftforge.network.NetworkEvent$Context.enqueueWork(NetworkEvent.java:212) ~[forge-1.20.1-47.3.1-universal.jar%23689!/:?]
at net.minecraftforge.network.simple.SimpleChannel$MessageBuilder.lambda$consumerMainThread$2(SimpleChannel.java:272) ~[forge-1.20.1-47.3.1-universal.jar%23689!/:?]
at net.minecraftforge.network.simple.IndexedMessageCodec.lambda$tryDecode$3(IndexedMessageCodec.java:115) ~[forge-1.20.1-47.3.1-universal.jar%23689!/:?]
at java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
at net.minecraftforge.network.simple.IndexedMessageCodec.tryDecode(IndexedMessageCodec.java:115) ~[forge-1.20.1-47.3.1-universal.jar%23689!/:?]
at net.minecraftforge.network.simple.IndexedMessageCodec.consume(IndexedMessageCodec.java:153) ~[forge-1.20.1-47.3.1-universal.jar%23689!/:?]
at net.minecraftforge.network.simple.SimpleChannel.networkEventListener(SimpleChannel.java:63) ~[forge-1.20.1-47.3.1-universal.jar%23689!/:?]
at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:263) ~[eventbus-6.0.5.jar%23149!/:?]
at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:255) ~[eventbus-6.0.5.jar%23149!/:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:319) ~[eventbus-6.0.5.jar%23149!/:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:299) ~[eventbus-6.0.5.jar%23149!/:?]
at net.minecraftforge.network.NetworkInstance.dispatch(NetworkInstance.java:68) ~[forge-1.20.1-47.3.1-universal.jar%23689!/:?]
at net.minecraftforge.network.NetworkHooks.lambda$onCustomPayload$1(NetworkHooks.java:84) ~[forge-1.20.1-47.3.1-universal.jar%23689!/:?]
at java.util.Optional.map(Optional.java:260) ~[?:?]
at net.minecraftforge.network.NetworkHooks.onCustomPayload(NetworkHooks.java:84) ~[forge-1.20.1-47.3.1-universal.jar%23689!/:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.m_7423_(ServerGamePacketListenerImpl.java:2828) ~[server-1.20.1-20230612.114412-srg.jar%23684!/:?]
at net.minecraft.network.protocol.game.ServerboundCustomPayloadPacket.m_5797_(ServerboundCustomPayloadPacket.java:35) ~[server-1.20.1-20230612.114412-srg.jar%23684!/:?]
at net.minecraft.network.protocol.game.ServerboundCustomPayloadPacket.m_5797_(ServerboundCustomPayloadPacket.java:8) ~[server-1.20.1-20230612.114412-srg.jar%23684!/:?]
at net.minecraft.network.protocol.PacketUtils.m_263899_(PacketUtils.java:25) ~[server-1.20.1-20230612.114412-srg.jar%23684!/:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.20.1-20230612.114412-srg.jar%23684!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:151) ~[server-1.20.1-20230612.114412-srg.jar%23684!/:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[server-1.20.1-20230612.114412-srg.jar%23684!/:?]
at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:1029) ~[server-1.20.1-20230612.114412-srg.jar%23684!/:?]
at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:173) ~[server-1.20.1-20230612.114412-srg.jar%23684!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:124) ~[server-1.20.1-20230612.114412-srg.jar%23684!/:?]
at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:1012) ~[server-1.20.1-20230612.114412-srg.jar%23684!/:?]
at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:1006) ~[server-1.20.1-20230612.114412-srg.jar%23684!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:134) ~[server-1.20.1-20230612.114412-srg.jar%23684!/:?]
at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:992) ~[server-1.20.1-20230612.114412-srg.jar%23684!/:?]
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:908) ~[server-1.20.1-20230612.114412-srg.jar%23684!/:?]
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:281) ~[server-1.20.1-20230612.114412-srg.jar%23684!/:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]