client crash
Is there an existing issue for this?
- [x] I have searched the existing issues
🐛 Describe the bug
When I click on the item corresponding to slot 49, I experience this crash me sometimes, and the reason for the crash is: Network protocol error.
Server Code: https://hastebin.com/share/omegihoyuq.kotlin (Cause line of the crash: 287)
Client side error: [21:57:55] [Render thread/INFO]: [System] [CHAT] You have transformed your cupboard into a Warehouse! Now you can deposit resources to earn points for your gang! [21:57:55] [Render thread/ERROR]: Failed to handle packet adm@58f6afaf, disconnecting java.lang.IndexOutOfBoundsException: Index 49 out of bounds for length 46 at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100) ~[?:?] at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106) ~[?:?] at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302) ~[?:?] at java.base/java.util.Objects.checkIndex(Objects.java:385) ~[?:?] at java.base/java.util.ArrayList.get(ArrayList.java:427) ~[?:?] at ju.get(SourceFile:47) ~[ju.class:?] at cym.b(SourceFile:328) ~[cym.class:?] at cym.a(SourceFile:651) ~[cym.class:?] at grl.a(SourceFile:1388) ~[grl.class:?] at adm.a(SourceFile:45) ~[adm.class:?] at adm.a(SourceFile:9) ~[adm.class:?] at zz.lambda$checkThreadAndEnqueue$0(PacketUtils.java:44) ~[zz.class:?] at net.optifine.util.PacketRunnable.run(PacketRunnable.java:28) [?:?] at bvx.d(BlockableEventLoop.java:210) [bvx.class:?] at bwc.d(SourceFile:23) [bwc.class:?] at bvx.B(BlockableEventLoop.java:175) [bvx.class:?] at bvx.bA(BlockableEventLoop.java:152) [bvx.class:?] at fue.c(SourceFile:1318) [fue.class:?] at fue.f(SourceFile:947) [fue.class:?] at net.minecraft.client.main.Main.main(SourceFile:265) [Main.class:?] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?] at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[?:?] at net.minecraft.launchwrapper.Launch.launch(Launch.java:159) [launchwrapper-of-2.3.jar:2.3] at net.minecraft.launchwrapper.Launch.main(Launch.java:30) [launchwrapper-of-2.3.jar:2.3]
✔️ Expected behavior
No response
👣 Steps to Reproduce
No response
💻 Platform
- [x] Bukkit
- [ ] Sponge
- [ ] Other
⭐ Server Version
1.8.8
📚 Library Version
3.2.0
✍️ Additional context
No response
@goncalodelima Doesn't look like a Inventory Framework issue, does it happen when a player is interacting with a Inventory Framework view? Stack trace doesn't show anything.
Anyway, if i'm not wrong this error java.lang.IndexOutOfBoundsException: Index X out of bounds for length Y in MC 1.8.8 raw Spigot/Paper servers is "normal" and doesn't affect player in anything. Looks like your packet handler is catching and disconnecting the player 🤔