Supplementaries

Supplementaries

127M Downloads

[๐Ÿž]: C2ME ConcurrentModificationException on 1.20.1 fabric

Lyuu17 opened this issue ยท 1 comments

commented

Before Continuing:

  • Check you are using the latest version of the mods and its dependencies
  • Always include a latest.log if you are crashing
  • Remove known hacky mods such as: Optifine, Fabric API/Connector on forge, and every kind of hybrid server like Mohist and Velocity. None of these are supported. Also try without other lesser usual suspects like Sodium and Lithium.
  • If you are unsure which mod is the culprit.
    Disable all of your mods and enable them 1-2 mods each time to isolate the culprit
  • Confirm that there is no existing issue with a similar description submitted in the list of issues.

Version

1.20.1-FABRIC

Supplementaries Version

supplementaries 1.20-3.1.40

Moonlight Lib Version

moonlight 1.20-2.16.13

Describe Issue

Having some random crashes, found this in my logs

2025-10-05-4.log

[19:32:56] [C2ME worker #5/ERROR]: ThreadLocalRandom accessed from a different thread (owner: Server thread, current: C2ME worker #5)
This is usually NOT a bug in C2ME, but a bug in another mod or in vanilla code. 
Possible solutions: 
  - Find possible causes in the stack trace below and 
    - if caused by another mod, report this to the corresponding mod authors 
    - if no other mods are involved, report this to C2ME 

java.util.ConcurrentModificationException: ThreadLocalRandom accessed from a different thread (owner: Server thread, current: C2ME worker #5)
	at com.ishland.c2me.fixes.worldgen.threading_issues.common.CheckedThreadLocalRandom.handleNotOwner(CheckedThreadLocalRandom.java:55) ~[c2me-fixes-worldgen-threading-isalpha.11.16-20d18677ecaa712e.jar:?]
	at com.ishland.c2me.fixes.worldgen.threading_issues.common.CheckedThreadLocalRandom.isSafe(CheckedThreadLocalRandom.java:38) ~[c2me-fixes-worldgen-threading-isalpha.11.16-20d18677ecaa712e.jar:?]
	at com.ishland.c2me.fixes.worldgen.threading_issues.common.CheckedThreadLocalRandom.method_43156(CheckedThreadLocalRandom.java:86) ~[c2me-fixes-worldgen-threading-isalpha.11.16-20d18677ecaa712e.jar:?]
	at net.minecraft.class_6566.method_43048(class_6566.java:33) ~[client-intermediary.jar:?]
	at net.mehvahdjukaar.supplementaries.common.entities.HatStandEntity.<init>(HatStandEntity.java:86) ~[supplementaries-1.20-3.1.40-fabric.jar:?]
	at net.minecraft.class_1299.method_5883(net/minecraft/class_1299.java:544) ~[client-intermediary.jar:?]
	at net.minecraft.class_1299.method_17846(net/minecraft/class_1299.java:548) ~[client-intermediary.jar:?]
	at java.util.Optional.map(Optional.java:260) ~[?:?]
	at net.minecraft.class_1299.method_5892(net/minecraft/class_1299.java:548) ~[client-intermediary.jar:?]
	at net.minecraft.class_3499.method_17916(net/minecraft/class_3499.java:430) ~[client-intermediary.jar:?]
	at net.minecraft.class_3499.method_15179(net/minecraft/class_3499.java:415) ~[client-intermediary.jar:?]
	at net.minecraft.class_3499.mixinextras$bridge$method_15179$72(class_3499.java) ~[client-intermediary.jar:?]
	at net.minecraft.class_3499.wrapOperation$zed000$porting_lib_base$grabSettings(io/github/fabricators_of_create/porting_lib/mixin/common/StructureTemplateMixin.java [porting_lib_base.mixins.json]:55) ~[client-intermediary.jar:?]
	at net.minecraft.class_3499.wrapOperation$zed000$porting_lib_base$grabSettings$mixinextras$bridge$68(class_3499.java) ~[client-intermediary.jar:?]
	at net.minecraft.class_3499.method_15172(net/minecraft/class_3499.java:347) ~[client-intermediary.jar:?]
	at com.craisinlord.integrated_api.world.structures.pieces.IASinglePoolElement.method_16626(IASinglePoolElement.java:153) ~[integrated_api-1.5.1+1.20.1-fabric.jar:?]
	at net.minecraft.class_3790.method_27236(net/minecraft/class_3790.java:89) ~[client-intermediary.jar:?]
	at net.minecraft.class_3790.method_14931(net/minecraft/class_3790.java:85) ~[client-intermediary.jar:?]
	at net.minecraft.class_3449.method_14974(net/minecraft/class_3449.java:100) ~[client-intermediary.jar:?]
	at net.minecraft.class_2794.method_38265(net/minecraft/class_2794.java:320) ~[client-intermediary.jar:?]
	at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:422) ~[guava-31.1-jre.jar:?]
	at net.minecraft.class_2794.method_12102(net/minecraft/class_2794.java:319) ~[client-intermediary.jar:?]
	at net.minecraft.class_2806.method_51375(net/minecraft/class_2806.java:108) ~[client-intermediary.jar:?]
	at net.minecraft.class_2806$class_3768.doWork(class_2806.java:309) ~[client-intermediary.jar:?]
	at net.minecraft.class_2806.md4e7780$c2me-threading-worldgen$lambda$runGenerationTask$0$5(com/ishland/c2me/threading/worldgen/mixin/MixinChunkStatus.java [c2me-threading-worldgen.mixins.json]:108) ~[client-intermediary.jar:?]
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]
commented

done