[BUG] [CRASH] Crash on startup - 1.20.1
muggleorwizard opened this issue ยท 12 comments
Minecraft Version: 1.20.1
Forge Version: 47.3.10
Quark Version: 4.0-460
The crash does not happen all the time, and does not happen to all users.
The game will crash while loading, given error in crash log that "Quark (quark) has failed to load correctly"
Also lists Drippy Loading Screen as an issue, will be making a post there as well and linking to it.
Crash Log: https://pastebin.com/wSi8VT1L
Latest.log: https://pastebin.com/stbCyuV8
https://github.com/VazkiiMods/Zeta/blob/3a6d207ee0dfef324b522bf6fc9d6ee777e53887/src/main/java/org/violetmoon/zetaimplforge/event/ForgeZetaEventBus.java#L92C23-L92C40 needs sth. like removeIfPresent
[20:22:08] [modloading-worker-0/WARN]: Configuration file C:\Users\ninja\curseforge\minecraft\Instances\Ozone Skyblock Reborn\config\quark-common.toml is not correct. Correcting
[20:22:08] [modloading-worker-0/ERROR]: Failed to create mod instance. ModID: quark, class org.violetmoon.quark.base.Quark
java.lang.ArrayIndexOutOfBoundsException: Index 284 out of bounds for length 0
From Drippy Loading Screen Dev: "I am pretty sure this is not related to Drippy, but Quark."
Also the same issue as #5046
Crash log, latest log, and debug log sent to me by another user:
crash-2024-09-28_21.13.29-fml.txt
latest.log
debug.log
They claim the crash started happening after visiting the snow Queen in twilight forest, but I do not know if that is the cause as other players who aren't in twilight have experienced this.
In both your cases the issue happened after the config tried to correct itself
for now you can try to make sure that the config contains no invalid values and then set it up as the default config (so that the same config is applied to all new worlds)
this would avoid any config changes while the game is running (as long as there is no bug in the config validation itself)
In both your cases the issue happened after the config tried to correct itself
for now you can try to make sure that the config contains no invalid values and then set it up as the default config (so that the same config is applied to all new worlds)
this would avoid any config changes while the game is running (as long as there is no bug in the config validation itself)
Thanks for the info. I used the in-game menu for my quark configs, so I am not sure where I could have gone wrong. I looked through the config file and don't see anything that seems off. I have my config here if you have the time to take a peek: https://pastebin.com/VqS2G3XA. Do you know why this crash would be affecting only a small amount of users?
I had the person who was crashing delete their quark config on a backup instance and try to reload. They still crash when they get to the snow queen in the twilight forest, and its the same crash report saying that quark failed to load.
Another user with the same issue. Here is their crash log and latest.log:
crash-2024-09-30_22.37.36-fml.txt
latest(4).txt
So, to summarize: This crash does not affect all users. To those it does affect, it crashes even when the quark config file is deleted and allowed to regenerate as defaults.
After looking through the debug file, I see that the crash occurs after the warning "[net.minecraftforge.common.ForgeConfigSpec/CORE]: Configuration file /home/container/config/quark-common.toml is not correct. Correcting"
Then, I can see the issues it has with the config: "The comment on key building.leaf_carpet.Ignore Anti Overlap does not match the spec. This may create a backup. The comment on key building.thatch.Ignore Anti Overlap does not match the spec. This may create a backup. The comment on key building.variant_bookshelves.Ignore Anti Overlap does not match the spec. This may create a backup. The comment on key building.variant_ladders.Ignore Anti Overlap does not match the spec. This may create a backup."
And then the error "[net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Failed to create mod instance. ModID: quark, class org.violetmoon.quark.base.Quark".
The crash error code is "java.lang.ArrayIndexOutOfBoundsException: Index 284 out of bounds for length 0".
What confuses me is as to why this only affects some users - for example, I have been unable to recreate the crash.
As resetting the config to defaults did not change anything, please advise on what I should try next. Thanks!