Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConcurrentModificationException in LightUpdater when traversing WeakHashMap during light update #7872

Closed
LMaxRouterCN opened this issue Mar 9, 2025 · 1 comment
Labels
env: outdated create version Issue reported as occuring when using an outdated Create version type: crash Issue where the game crashes

Comments

@LMaxRouterCN
Copy link

Context

[103月2025 01:10:00.964] [Render thread/ERROR] [net.minecraft.client.Minecraft/FATAL]: Unreported exception thrown!
java.util.ConcurrentModificationException: null
at java.util.WeakHashMap$HashIterator.nextEntry(WeakHashMap.java:815) ~[?:?]
at java.util.WeakHashMap$KeyIterator.next(WeakHashMap.java:848) ~[?:?]
at com.jozufozu.flywheel.light.LightUpdater.onLightUpdate(LightUpdater.java:133) ~[flywheel-forge-1.20.1-0.6.11-13.jar%231208!/:0.6.11-13]
at net.minecraft.client.multiplayer.ClientChunkCache.handler$bpi000$flywheel$onLightUpdate(ClientChunkCache.java:1033) ~[client-1.20.1-20230612.114412-srg.jar%23926!/:?]
at net.minecraft.client.multiplayer.ClientChunkCache.m_6506_$mixinextras$wrapped$38(ClientChunkCache.java) ~[client-1.20.1-20230612.114412-srg.jar%23926!/:?]
at net.minecraft.client.multiplayer.ClientChunkCache.mixinextras$bridge$m_6506_$mixinextras$wrapped$38$39(ClientChunkCache.java) ~[client-1.20.1-20230612.114412-srg.jar%23926!/:?]
at net.minecraft.client.multiplayer.ClientChunkCache.wrapMethod$hpf000$onLightUpdateWrap(ClientChunkCache.java:3520) ~[client-1.20.1-20230612.114412-srg.jar%23926!/:?]
at net.minecraft.client.multiplayer.ClientChunkCache.m_6506_(ClientChunkCache.java) ~[client-1.20.1-20230612.114412-srg.jar%23926!/:?]
at ca.spottedleaf.starlight.common.light.StarLightEngine.updateVisible(StarLightEngine.java:269) ~[优化%20%20星光%20starlight-1.1.2+forge.1cda73c测试.jar%23609!/:1.1.2+forge.1cda73c]
at ca.spottedleaf.starlight.common.light.StarLightEngine.blocksChangedInChunk(StarLightEngine.java:430) ~[优化%20%20星光%20starlight-1.1.2+forge.1cda73c测试.jar%23609!/:1.1.2+forge.1cda73c]
at ca.spottedleaf.starlight.common.light.StarLightInterface.propagateChanges(StarLightInterface.java:549) ~[优化%20%20星光%20starlight-1.1.2+forge.1cda73c测试.jar%23609!/:1.1.2+forge.1cda73c]
at net.minecraft.world.level.lighting.LevelLightEngine.m_9323_(LevelLightEngine.java:1099) ~[client-1.20.1-20230612.114412-srg.jar%23926!/:?]
at net.minecraft.client.renderer.LevelRenderer.m_109599_(LevelRenderer.java:1124) ~[client-1.20.1-20230612.114412-srg.jar%23926!/:?]
at net.minecraft.client.renderer.GameRenderer.m_109089_(GameRenderer.java:1126) ~[client-1.20.1-20230612.114412-srg.jar%23926!/:?]
at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:909) ~[client-1.20.1-20230612.114412-srg.jar%23926!/:?]
at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1146) ~[client-1.20.1-20230612.114412-srg.jar%23926!/:?]
at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:718) ~[client-1.20.1-20230612.114412-srg.jar%23926!/:?]
at net.minecraft.client.main.Main.main(Main.java:218) ~[工业革命:2040.jar:?]
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:111) ~[fmlloader-1.20.1-47.3.12.jar:?]
at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:99) ~[fmlloader-1.20.1-47.3.12.jar:?]
at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$makeService$0(CommonClientLaunchHandler.java:25) ~[fmlloader-1.20.1-47.3.12.jar:?]
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar:?]
at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar:?]
at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar:?]
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar:?]
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar:?]
at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?]
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
at oolloo.jlw.Wrapper.invokeMain(Wrapper.java:112) ~[?:?]
at oolloo.jlw.Wrapper.main(Wrapper.java:105) ~[?:?]

My game crashes when I enter Nether Portal.

错误报告-2025-3-10_1.17.19.zip
Here is the full crash report .

It's a large pack with a lot of mods, but I think it has something to do with starlight?
I can't remove other mods to be sure that the problem is just a bug between flywheel and starlight, it's a special case.

Crash Report

👆

@LMaxRouterCN LMaxRouterCN added the type: crash Issue where the game crashes label Mar 9, 2025
@IThundxr IThundxr added the env: outdated create version Issue reported as occuring when using an outdated Create version label Mar 9, 2025
Copy link

github-actions bot commented Mar 9, 2025

Outdated Create Version: Since you are using an outdated Create version, please update to the latest version as it may resolve your issue. If this issue persists after updating Create, feel free to open a new issue. Thanks!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
env: outdated create version Issue reported as occuring when using an outdated Create version type: crash Issue where the game crashes
Projects
None yet
Development

No branches or pull requests

2 participants