[๐]: Rare ArrayIndex crash on startup
ImpulsiveLass opened this issue ยท 8 comments
Code of Conduct
- Always check you are using the latest version of the mods and its dependencies
- Ensure the version of EveryCompat & Moonlight Lib are up to date
- Remove mod that enhances Minecraft: Optifine, Sodium, others. The issue still persists.
- 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 - Loader (DO NOT FORGET TO SELECT THE CORRECT VERSION)
1.20.1 - FORGE
StoneZone Version
2.8.8
EveryCompat Version
2.8.8
Moonlight Lib Version
2.14.10
Issue with mods
Doesn't seem mod related
Issue Detail
Sometimes an index crashes on start up
OPTIONAL: Latest.log | Crash-report Attachment
portion of log
Thread: Render thread
Suspected Mods: NONE
Stacktrace:
at java.util.ArrayList.add(ArrayList.java:455) ~[?:?] {re:mixin}
-- MOD stonezone --
Details:
Mod File: /C:/Users/scpki/AppData/Roaming/ATLauncher/instances/Forbus1201/mods/stonezone-1.20-2.8.8.jar
Failure message: Stone Zone (stonezone) has failed to load correctly
java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 0
Mod Version: 1.20-2.8.8
Mod Issue URL: https://github.com/MehVahdJukaar/StoneZone/issues
Exception message: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 0
Stacktrace:
at java.util.ArrayList.add(ArrayList.java:455) ~[?:?] {re:mixin}
at java.util.ArrayList.add(ArrayList.java:467) ~[?:?] {re:mixin}
at net.mehvahdjukaar.every_compat.EveryCompat.addOtherCompatMod(EveryCompat.java:94) ~[everycomp-1.20-2.8.8-forge.jar%23435!/:?] {re:mixin,re:classloading}
at net.mehvahdjukaar.every_compat.EveryCompat.addOtherCompatMod(EveryCompat.java:74) ~[everycomp-1.20-2.8.8-forge.jar%23435!/:?] {re:mixin,re:classloading}
at net.mehvahdjukaar.stone_zone.StoneZoneCommon.addModules(StoneZoneCommon.java:28) ~[stonezone-1.20-2.8.8.jar%23531!/:?] {re:classloading}
at net.mehvahdjukaar.stone_zone.forge.StoneZoneForge.addModules(StoneZoneForge.java:34) ~[stonezone-1.20-2.8.8.jar%23531!/:?] {re:classloading}
at net.mehvahdjukaar.stone_zone.StoneZoneCommon.initialize(StoneZoneCommon.java:21) ~[stonezone-1.20-2.8.8.jar%23531!/:?] {re:classloading}
at net.mehvahdjukaar.stone_zone.forge.StoneZoneForge.<init>(StoneZoneForge.java:27) ~[stonezone-1.20-2.8.8.jar%23531!/:?] {re:classloading}
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] {}
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?] {}
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] {}
at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500) ~[?:?] {}
at java.lang.reflect.Constructor.newInstance(Constructor.java:481) ~[?:?] {}
at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:77) ~[javafmllanguage-1.20.1-47.4.0.jar%23572!/:?] {}
at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$5(ModContainer.java:126) ~[fmlcore-1.20.1-47.4.0.jar%23571!/:?] {re:mixin}
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {}
at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] {}
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?] {}
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?] {}
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?] {re:mixin,re:computing_frames}
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] {re:mixin,re:computing_frames}
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?] {re:mixin}
OPTIONAL: To Produce
- Open the game
- Open it again
- Again
4 Til you get the crash ig
yes, its probably caused by having no mods to load assets from, loading 0 new blocks making the index out of bounds I think, I removed it from my pack
Alright. The real cause is that you don't have any supported mods or Stone Mod installed in your modpack.
I'll consider this closed. thanks for replying.
Please don't use UTD, use the current version you are using.
EDIT: It is related to one of mods that add StoneType. You need to find which one. so i can reproduce on my side
UTD means up to date
Its pretty hard to point at any given mod, the only mod that adds blocks that is mentioned anywhere in the crash is alexscaves, however that is likely because it has GameRenderer mixins
really diving my best guess is goners armor trims, that does not use anything from stone zone however.
Also I just realized this mod DOES add blocks, are they hidden in jei on purpose? I tried to give myself an item with a command expecting to find nothing under stonezone:
I know it mean Up to date. but "UTD" is just vague, not very specific, so 6 months from now, people will look and would think the mod's latest version will still have the issue. Since you did not add the version to it. I'll take care of that. Next time, please add the version and do not use UTD, it's not helpful because it's vague, not specific
I need the latest.log, u can use https://mclo.gs/ to share the full content of the latest.log and also crash-report
You only have one latest.log I believe? that crash was a while ago I make mods so I opened and closed the game at least 10 times since then, I'll get it again at some point
crash-2025-06-26_17.40.11-fml.txt
Real question again tho, are you purposefully hiding all the blocks added by the mod from JEI? On god I assumed this mod only added maybe one or two blocks.
Tested on a new instance with just this mod, quark, and alexs caves and it does seem to add stuff to jei hmm
oh my fucking god I completely misunderstood what this mod does lol, it ONLY adds vertical slabs which I don't use.
I thought it added a cobbled, polished, smooth, brick, cut, and tile suite (block, slab, stair, wall, gate), chiseled, carved, pillar, etc. to any stone type that didn't have it.
I never noticed it doing nothing since it literally does nothing in my pack
I have nothing there but quark, I use additional placements instead for vertical slab placement.
right i forgot to tell you about "nothing" in JEI for StoneZone. That mean you do not have any supported mod for StoneZone. That's why I want to check your latest.log because it would have say "EveryCompat registered 0 blocks and you should remove it" stuff like that.
that also applied to StoneZone, too. When you try to use JEI with no blocks for StoneZone, that could lead to crash. I'm not sure how to fix that, tho.
EC is fine and won't cause the crash if there are no blocks in EC's JEI.
Someday, i'll have to look into this issue.
BTW, i forgot to update the page via Modrinth, use StoneZone's Curseforge page so you can look at the supported mod list (it's updated)
EDIT: what StoneZone does is it add support for furniture/decorative mods (like Macaw's Mods) which don't have addons to support variant StoneTypes added by other Stone Mods.
Every Compat (Wood Good) is for Wood Mods
Gems Realm is for Gems, Metal, Crystal, Dust (Redstone stuff). Hopefully that help you understand their purpose.

