Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexOutOfBoundsException occurs on join #781

Open
MrMaleficus opened this issue Nov 21, 2024 · 1 comment
Open

IndexOutOfBoundsException occurs on join #781

MrMaleficus opened this issue Nov 21, 2024 · 1 comment

Comments

@MrMaleficus
Copy link

Latest on paper 1.21.3, LibsDisguises, and packet-events

[14:05:48] [Netty Epoll Server IO #2/WARN]: java.lang.IndexOutOfBoundsException: readerIndex(17) + length(1) exceeds writerIndex(17): PooledUnsafeDirectByteBuf(ridx: 17, widx: 17, cap: 256)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1442)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:730)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at packetevents-spigot-2.6.0.jar//io.github.retrooper.packetevents.netty.buffer.ByteBufOperatorModernImpl.readByte(ByteBufOperatorModernImpl.java:74)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at packetevents-spigot-2.6.0.jar//com.github.retrooper.packetevents.netty.buffer.ByteBufHelper.readByte(ByteBufHelper.java:67)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at packetevents-spigot-2.6.0.jar//com.github.retrooper.packetevents.wrapper.PacketWrapper.readByte(PacketWrapper.java:354)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at packetevents-spigot-2.6.0.jar//com.github.retrooper.packetevents.wrapper.PacketWrapper.readVarInt(PacketWrapper.java:394)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at packetevents-spigot-2.6.0.jar//com.github.retrooper.packetevents.wrapper.PacketWrapper.readEntityMetadata(PacketWrapper.java:965)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at packetevents-spigot-2.6.0.jar//com.github.retrooper.packetevents.wrapper.play.server.WrapperPlayServerEntityMetadata.read(WrapperPlayServerEntityMetadata.java:52)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at packetevents-spigot-2.6.0.jar//com.github.retrooper.packetevents.wrapper.PacketWrapper.readEvent(PacketWrapper.java:277)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at packetevents-spigot-2.6.0.jar//com.github.retrooper.packetevents.wrapper.PacketWrapper.<init>(PacketWrapper.java:182)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at packetevents-spigot-2.6.0.jar//com.github.retrooper.packetevents.wrapper.PacketWrapper.<init>(PacketWrapper.java:172)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at packetevents-spigot-2.6.0.jar//com.github.retrooper.packetevents.wrapper.play.server.WrapperPlayServerEntityMetadata.<init>(WrapperPlayServerEntityMetadata.java:36)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at LibsDisguises.jar//me.libraryaddict.disguise.utilities.DisguiseUtilities.constructWrapper(DisguiseUtilities.java:3051)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at LibsDisguises.jar//me.libraryaddict.disguise.utilities.packets.packetlisteners.PacketListenerViewSelfDisguise.onPacketPlaySend(PacketListenerViewSelfDisguise.java:60)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at packetevents-spigot-2.6.0.jar//com.github.retrooper.packetevents.event.SimplePacketListenerAbstract.onPacketSend(SimplePacketListenerAbstract.java:64)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at packetevents-spigot-2.6.0.jar//com.github.retrooper.packetevents.event.PacketSendEvent.call(PacketSendEvent.java:51)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at packetevents-spigot-2.6.0.jar//com.github.retrooper.packetevents.event.EventManager.callEvent(EventManager.java:84)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at packetevents-spigot-2.6.0.jar//com.github.retrooper.packetevents.util.PacketEventsImplHelper.handleClientBoundPacket(PacketEventsImplHelper.java:61)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at packetevents-spigot-2.6.0.jar//io.github.retrooper.packetevents.injector.handlers.PacketEventsEncoder.handleClientBoundPacket(PacketEventsEncoder.java:88)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at packetevents-spigot-2.6.0.jar//io.github.retrooper.packetevents.injector.handlers.PacketEventsEncoder.encode(PacketEventsEncoder.java:73)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at packetevents-spigot-2.6.0.jar//io.github.retrooper.packetevents.injector.handlers.PacketEventsEncoder.encode(PacketEventsEncoder.java:52)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:90)
[14:05:48] [Netty Epoll Server IO #2/WARN]: 	at packetevents-spigot-2.6.0.jar//io.github.retrooper.packetevents.injector.handlers.PacketEventsEncoder.write(PacketEventsEncoder.java:107)
@libraryaddict
Copy link
Owner

Try updating PacketEvents to the latest snapshot build. You can do this ingame by /ld pe snapshots
Can I get your full server startup log? And do you know what disguise its trying to send?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants