
ArrayIndexOutOfBoundsException crash on 1.20.1
abby-cadabra opened this issue ยท 7 comments
Bug Description
Hi there!
I'm on Forge 1.20.1 with ModernFix 5.20.2. I'm running a custom collection of around 350 mods.
I've been dealing with a persistent crash in recent days. Basically whenever I teleport to another area away from my base (using either Waystones or Xaero's map), I get a crash due to "exception ticking world," due to java.lang.ArrayIndexOutOfBoundsException. The crash log also references PersistentEntitySectionManager. Sometimes the game will just crash straight to desktop, while other times it will hang and need to be aborted manually.
I've tried disabling various mods that I thought might be the culprit (Distant Horizons and others) with no success - until I tried disabling Modernfix. Now I can load into distant chunks without crashing.
Very possible that the crash is actually caused by something else and Modernfix is just the catalyst, but figured it might be useful information anyway. I've attached my crash log below.
Reproduction Steps
Have ModernFix enabled
Teleport to a distant chunk using any means
Crash immediately
Log File
I'm not sure what keeps causing these crashes for people; I suspect another mod is accessing things on the wrong thread and conflicts with one of my mixins. Anyways, can you try this test build and send me the log from when it crashes?
I've got a similar crash:
Very frustrating, as I've wasted like an hour trying to figure out wtf is wrong.
Your crash looks unrelated; it seems to be an issue with Thermal loading magmatic dynamo fuels.
i finally figured out it's because of a KubeJS script i wrote ffs. Removed a mod and forgot i'd used items from it in TE's dynamos.
Hello, thanks for looking into this!
I tried your test build - crash log is attached :) Hope this is helpful!
This log makes even less sense than the previous one. It looks as if you have another mod attempting to worldgen on a different thread. Maybe try removing Distant Horizons/similar mods, and see if the test build produces a better crash?
Cheers - here is the crash log with DH removed and with your test build enabled. I don't think it says anything different, so far as I can see.
crash-2025-02-07_09.13.12-server.txt
At a bit of a loss re: what else to try. I have quite a few biome/structure mods, but I imagine if I start removing them it will probably just crash anyway and I won't learn anything useful. Definitely a tricky one.