isXander / isXander/Controlify

[Bug] Intermittent crash in inventory screen (ArrayIndexOutOfBoundsException)

Open
#405 2 comments 0 reactions 1 assignee View on GitHub

@isXander is already working on this.

Since Aug 23, 2024.

bug
Dominant language
Java
Stars
341
Forks
97
Avg merge
1h
Merged PRs (30d)
1

Description

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...
  • I have made sure I am using the latest version of Controlify for the latest version of Minecraft.
  • I have made sure there are no other issues describing the same problem on the issue tracker.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.