[๐]: NPE when querying block translation ID causes game to hang on startup
UpcraftLP opened this issue ยท 5 comments
BEFORE CONTINUING:
- Always check you are using the latest version of these mods and its dependencies
- Remove known problematic rendering mods such as Optifine, Sodium and others
Version-Loader
1.21.1-NEOFORGE
Moonlight Lib Version
moonlight-1.21-2.18.12-neoforge
Describe the Issue
When trying to query Bootstrap.getMissingTranslations() during client startup, a NullPointerException is thrown while that method tries to get the description ID of some block, causing the game loading to stall, and never reach the title screen (but also not directly crash, either, it just stalls).
Note that I've not been able to reproduce this with just your mods, it seems that this may require multiple mods to be present to occur.
can be reproduced in the following modpack (need to manually add a mod that calls Bootstrap.getMissingTranslations()): CurseForge share ID doxjjIm8
Log Attachment
OPTIONAL: To Produce
- install a mod that calls
Bootstrap.getMissingTranslations()during resource manager reload - observe the game never reaching the title screen
OPTIONAL: Which mods are affected?
unknown which mod actually causes this.
Oh. that mean you need to isolate the mod that call the method. I can't find Bootstrap.getMissingTranslations() method in Moonlight Lib.
Oh. that mean you need to isolate the mod that call the method. I can't find
Bootstrap.getMissingTranslations()method in Moonlight Lib.
yeah it's not in moonlight lib. Sorry
The mod I used to trigger it is my own library (Sparkweave), with a debug flag enabled that makes it validate translations (said feature was accidentally left enabled in prod builds, but I've since released a fix).
But another mod making minecraft check for missing translation entries should not cause a crash regardless.
You need to provide the name of Mod that called "Bootstrap". I cannot find the mod that use the Bootstrap.getMissingTranslations() and this: CurseForge share ID doxjjIm8, i'm not sure how to use it.
EDIT: nvm. I know what shareID is for.
You need to provide the name of Mod that called "Bootstrap".
there is no such mod, that's a vanilla minecraft class