Error reading entity id from packet in 1.7.10
Johni0702 opened this issue ยท 0 comments
java.lang.IndexOutOfBoundsException: readerIndex(1) + length(4) exceeds writerIndex(4): PooledUnsafeDirectByteBuf(ridx: 1, widx: 4, cap: 4)
at com.replaymod.lib.com.github.steveice10.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1477)
at com.replaymod.lib.com.github.steveice10.netty.buffer.AbstractByteBuf.readInt(AbstractByteBuf.java:810)
at com.replaymod.lib.com.github.steveice10.packetlib.tcp.io.ByteBufNetInput.readInt(ByteBufNetInput.java:51)
at com.replaymod.replaystudio.protocol.packets.EntityId.getEntityId(EntityId.java:112)
at com.replaymod.replaystudio.util.PacketUtils.getEntityId(PacketUtils.java:64)
at com.replaymod.replaystudio.filter.SquashFilter.onPacket(SquashFilter.java:216)
at com.replaymod.editor.gui.MarkerProcessor.apply(MarkerProcessor.java:207)
at com.replaymod.recording.packet.PacketListener.lambda$channelInactive$9(PacketListener.java:270)
at com.replaymod.recording.packet.PacketListener$$Lambda$321/1672688772.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
https://cdn.discordapp.com/attachments/708311794103353414/764866523688861726/message.txt
https://discordapp.com/channels/708304818829262910/708311794103353414/764866523717828629
Raw replay: https://cdn.discordapp.com/attachments/708311794103353414/764872694578544660/2020_10_11_15_10_07.mcpr
For more raw replays, see the messages following the one linked above.