crash when data too big
ahkui opened this issue ยท 0 comments
[23:34:52] [Netty Client IO #7/ERROR]: Encountered exception while handling in channel with name "toms_storage:data_packet_s2c"
java.lang.RuntimeException: Tried to read NBT tag that was too big; tried to allocate: 2097156bytes where max allowed: 2097152
at Not Enough Crashes deobfuscated stack trace.(1.16.5+build.4) ~[?:?]
at net.minecraft.nbt.PositionTracker.add(PositionTracker:21) ~[?:?]
at net.minecraft.nbt.IntTag$1.read(IntTag:32) ~[?:?]
at net.minecraft.nbt.IntTag$1.read(IntTag:29) ~[?:?]
at net.minecraft.nbt.CompoundTag.read(CompoundTag:471) ~[?:?]
at net.minecraft.nbt.CompoundTag.method_23238(CompoundTag:32) ~[?:?]
at net.minecraft.nbt.CompoundTag$1.read(CompoundTag:83) ~[?:?]
at net.minecraft.nbt.CompoundTag$1.read(CompoundTag:69) ~[?:?]
at net.minecraft.nbt.CompoundTag.read(CompoundTag:471) ~[?:?]
at net.minecraft.nbt.CompoundTag.method_23238(CompoundTag:32) ~[?:?]
at net.minecraft.nbt.CompoundTag$1.read(CompoundTag:83) ~[?:?]
at net.minecraft.nbt.CompoundTag$1.read(CompoundTag:69) ~[?:?]
at net.minecraft.nbt.CompoundTag.read(CompoundTag:471) ~[?:?]
at net.minecraft.nbt.CompoundTag.method_23238(CompoundTag:32) ~[?:?]
at net.minecraft.nbt.CompoundTag$1.read(CompoundTag:83) ~[?:?]
at net.minecraft.nbt.CompoundTag$1.read(CompoundTag:69) ~[?:?]
at net.minecraft.nbt.CompoundTag.read(CompoundTag:471) ~[?:?]
at net.minecraft.nbt.CompoundTag.method_23238(CompoundTag:32) ~[?:?]
at net.minecraft.nbt.CompoundTag$1.read(CompoundTag:83) ~[?:?]
at net.minecraft.nbt.CompoundTag$1.read(CompoundTag:69) ~[?:?]
at net.minecraft.nbt.ListTag$1.read(ListTag:49) ~[?:?]
at net.minecraft.nbt.ListTag$1.read(ListTag:32) ~[?:?]
at net.minecraft.nbt.CompoundTag.read(CompoundTag:471) ~[?:?]
at net.minecraft.nbt.CompoundTag.method_23238(CompoundTag:32) ~[?:?]
at net.minecraft.nbt.CompoundTag$1.read(CompoundTag:83) ~[?:?]
at net.minecraft.nbt.CompoundTag$1.read(CompoundTag:69) ~[?:?]
at net.minecraft.nbt.NbtIo.read(NbtIo:108) ~[?:?]
at net.minecraft.nbt.NbtIo.read(NbtIo:75) ~[?:?]
at net.minecraft.network.PacketByteBuf.method_30616(PacketByteBuf:354) ~[?:?]
at net.minecraft.network.PacketByteBuf.readCompoundTag(PacketByteBuf:336) ~[?:?]
at com.tom.storagemod.StorageModClient.lambda$onInitializeClient$1(StorageModClient.java:50) ~[toms-storage-fabric.jar:?]
at net.fabricmc.fabric.impl.networking.ClientSidePacketRegistryImpl.lambda$register$0(ClientSidePacketRegistryImpl.java:65) ~[b400ddba-2d87-42e1-b3b6-45964545edfe.jar:?]
at net.fabricmc.fabric.impl.networking.client.ClientPlayNetworkAddon.receive(ClientPlayNetworkAddon.java:97) ~[381b2b04-03da-4a79-a245-4ed9a953aa30.jar:?]
at net.fabricmc.fabric.impl.networking.client.ClientPlayNetworkAddon.receive(ClientPlayNetworkAddon.java:39) ~[381b2b04-03da-4a79-a245-4ed9a953aa30.jar:?]
at net.fabricmc.fabric.impl.networking.AbstractChanneledNetworkAddon.handle(AbstractChanneledNetworkAddon.java:100) ~[381b2b04-03da-4a79-a245-4ed9a953aa30.jar:?]
at net.fabricmc.fabric.impl.networking.client.ClientPlayNetworkAddon.handle(ClientPlayNetworkAddon.java:89) ~[381b2b04-03da-4a79-a245-4ed9a953aa30.jar:?]
at net.minecraft.client.network.ClientPlayNetworkHandler.handler$eaa000$handleCustomPayload(ClientPlayNetworkHandler:2474) ~[?:?]
at net.minecraft.client.network.ClientPlayNetworkHandler.onCustomPayload(ClientPlayNetworkHandler) ~[?:?]
at net.minecraft.network.packet.s2c.play.CustomPayloadS2CPacket.apply(CustomPayloadS2CPacket:65) ~[?:?]
at net.minecraft.network.packet.s2c.play.CustomPayloadS2CPacket.apply(CustomPayloadS2CPacket:10) ~[?:?]
at net.minecraft.network.ClientConnection.handlePacket(ClientConnection:156) ~[?:?]
at net.minecraft.network.ClientConnection.channelRead0(ClientConnection:147) ~[?:?]
at net.minecraft.network.ClientConnection.channelRead0(ClientConnection:52) ~[?:?]
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:297) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:413) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:647) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:547) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:501) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:461) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884) [netty-all-4.1.25.Final.jar:4.1.25.Final]
at java.lang.Thread.run(Thread.java:832) [?:?]