Skip to content

bug: java.util.ConcurrentModificationException report #361

@driveuser1212-debug

Description

@driveuser1212-debug

So I had a crash adn your mod is in the stacktrace i just wanted to point it out: Description: Unexpected error

java.util.ConcurrentModificationException.

Crash Summary

Crash type: java.util.ConcurrentModificationException

Affected mod: X-ray (Fabric) mod

Where it crashes: XRayFabric / ScanController during client tick / rendering

What happened:
The game crashed while using the X-ray mod to scan for stuff No blocks were visibly outlined at the time of the crash.

Likely cause:
The mod appears to be modifying a collection while iterating over it, likely due to background chunk scanning running at the same time as rendering or ticking.

Reproduction context:

X-ray enabled

Target block: bone block

Moving/loading chunks

Expected behavior:
X-ray scanning should not crash the client, even if no matching blocks are found.

Actual behavior:
Client crashes with ConcurrentModificationException.
*this summary is from chatgpt it might not be accurate
*check the crash report here:https://pastebin.com/9jsK3PQd

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions