Shield Expansion

Shield Expansion

10M Downloads

(Uncommon) ConcurrentModificationException

SiverDX opened this issue ยท 0 comments

commented
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Render thread
Stacktrace:
	at java.util.HashMap.computeIfAbsent(Unknown Source) ~[?:?] {re:mixin}
-- MOD shieldexp --
Details:
	Mod File: /C:/Users/KaiZa/AppData/Roaming/PrismLauncher/instances/Trial & Error/.minecraft/mods/ShieldExpansion-1.19.2-1.1.6.jar
	Failure message: Shield Expansion (shieldexp) encountered an error during the sided_setup event phase
		java.util.ConcurrentModificationException: null
	Mod Version: 1.1.6
	Mod Issue URL: NOT PROVIDED
	Exception message: java.util.ConcurrentModificationException
Stacktrace:
	at java.util.HashMap.computeIfAbsent(Unknown Source) ~[?:?] {re:mixin}
	at net.minecraft.client.renderer.item.ItemProperties.register(ItemProperties.java:53) ~[client-1.19.2-20220805.130853-srg.jar%23777!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:fabrication.mixins.json:f_balance.disable_elytra.MixinModelPredicateProviderRegistry,pl:mixin:A,pl:runtimedistcleaner:A}
	at org.infernalstudios.shieldexp.events.ClientEvents.initShields(ClientEvents.java:47) ~[ShieldExpansion-1.19.2-1.1.6.jar%23709!/:1.1.6] {re:classloading}
	at org.infernalstudios.shieldexp.events.ClientEvents.setup(ClientEvents.java:41) ~[ShieldExpansion-1.19.2-1.1.6.jar%23709!/:1.1.6] {re:classloading}
	at net.minecraftforge.fml.DistExecutor.safeRunWhenOn(DistExecutor.java:123) ~[fmlcore-1.19.2-43.2.11.jar%23778!/:?] {}
	at org.infernalstudios.shieldexp.ShieldExpansion.clientSetup(ShieldExpansion.java:57) ~[ShieldExpansion-1.19.2-1.1.6.jar%23709!/:1.1.6] {re:classloading}
	at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:260) ~[eventbus-6.0.3.jar%23134!/:?] {}
	at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:252) ~[eventbus-6.0.3.jar%23134!/:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.3.jar%23134!/:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.3.jar%23134!/:?] {}
	at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:107) ~[javafmllanguage-1.19.2-43.2.11.jar%23779!/:?] {}
	at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$10(ModContainer.java:122) ~[fmlcore-1.19.2-43.2.11.jar%23778!/:?] {re:mixin}
	at java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source) ~[?:?] {}
	at java.util.concurrent.CompletableFuture$AsyncRun.exec(Unknown Source) ~[?:?] {}
	at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) ~[?:?] {}
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source) ~[?:?] {}
	at java.util.concurrent.ForkJoinPool.scan(Unknown Source) ~[?:?] {re:mixin,re:computing_frames}
	at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) ~[?:?] {re:mixin,re:computing_frames}
	at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) ~[?:?] {re:mixin}

Caused by:
https://github.com/infernalstudios/Shield-Expansion/blob/e472724e998fd6dceea1d0547f1ff74e892c4e5d/src/main/java/org/infernalstudios/shieldexp/events/ClientEvents.java#LL47C17-L47C17

See:
https://docs.minecraftforge.net/en/latest/resources/client/models/itemproperties/