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

[BUG] [CRASH] Crash on startup - 1.20.1 #5062

Open
muggleorwizard opened this issue Sep 27, 2024 · 12 comments
Open

[BUG] [CRASH] Crash on startup - 1.20.1 #5062

muggleorwizard opened this issue Sep 27, 2024 · 12 comments
Labels
version: 1.20 Version: Minecraft 1.20.x

Comments

@muggleorwizard
Copy link

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

@github-actions github-actions bot added the version: 1.20 Version: Minecraft 1.20.x label Sep 27, 2024
@muggleorwizard
Copy link
Author

@muggleorwizard
Copy link
Author

Latest.log: https://pastebin.com/stbCyuV8

@muggleorwizard
Copy link
Author

From Drippy Loading Screen Dev: "I am pretty sure this is not related to Drippy, but Quark."

@SiverDX
Copy link

SiverDX commented Sep 28, 2024

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

@SiverDX
Copy link

SiverDX commented Sep 28, 2024

Also the same issue as #5046

@muggleorwizard
Copy link
Author

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.

@SiverDX
Copy link

SiverDX commented Sep 28, 2024

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)

@muggleorwizard
Copy link
Author

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?

@muggleorwizard
Copy link
Author

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.

@muggleorwizard
Copy link
Author

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

@muggleorwizard
Copy link
Author

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!

@SiverDX
Copy link

SiverDX commented Oct 1, 2024

this would avoid any config changes while the game is running (as long as there is no bug in the config validation itself)

see part in parenthesis
you might have to wait for one of the devs to fix it, it's an easy fix though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
version: 1.20 Version: Minecraft 1.20.x
Projects
None yet
Development

No branches or pull requests

2 participants