Controlify
Controlify copied to clipboard
[Bug] Intermittent crash in inventory screen (ArrayIndexOutOfBoundsException)
Current Behaviour
Sometimes, when interacting fast with inventory screen Minecraft will hard crash. Every time it happens the error in the log is the same, related to Controlify CreativeModeInventoryScreenProcessor and ArrayIndexOutOfBoundsException.
Looking at the CreativeModeInventoryScreenProcessor.java it is logical why it could happen (there are no checks in place) but not why it does happen. Might be worth checking out.
Expected Behaviour
No hard crash
Screenshots
No response
Reproduction Steps
It is not easily reproducible but it does happen from time to time. Only when fast clicking / timing issue?
Logs
Log attached
Mod Version
2.0.0-beta.14+1.21-fabric
Controller
Steam Deck
Bluetooth
- [ ] Yes
Operating System
Linux/SteamOS
ARM
- [ ] Yes
Additional Information
crash-2024-08-23_16.45.20-client.txt
Just to make sure...
- [X] I have made sure I am using the latest version of Controlify for the latest version of Minecraft.
- [X] I have made sure there are no other issues describing the same problem on the issue tracker.