Guidebook

Guidebook

6M Downloads

Crash while initializing game

dancc7t opened this issue ยท 12 comments

commented

Hello, i am doing some last tests before i release my modpack, so i have restarted Minecraft several times today, but now suddenly i get a crash, i dont think its because the book i made, last change i made was yesterday and it was fine, i just updated two mods (C&B and Plants2) today and made some config changes of other mods. I am using the last version (2.8.1), and last forge version (23.4.2750) here is the log:

https://pastebin.com/XC6vcHxy

Thank you.

commented

Would it be possible for you to get a full debug log? the crash log doesn't include the "caused by" reasons of the crash, so I can't tell what is wrong with it...

commented
commented

facing the same issue may I add my debug.log aswell.

https://mega.nz/#!8Lw32JaI!7IxOcHHoNc3bhJ0qlG0iZXMuBOANO8FJH_uiOQVdKxU

commented

It seems that under certain circumstances, Guidebook's books are being loaded before the language data, which causes the "current language" value to be null. I have placed a workaround for this situation and will release the fix in a moment.

commented

2.8.2 is up on curseforge, awaiting review.

commented

It's actually a bug in forge, 2751 will fix it, once it's done going through CI and shows up in the files site. See: MinecraftForge/MinecraftForge#5105

Mods are still at fault for assuming the returned value is not nullable, but the actual crash was revealed by mojang adding new languages that don't have an underscore in the name.

commented
commented

Apparently I wasn't the only one hit by this issue. Seems it's related to MultiMC. The fix is valid though, but not directly my fault. -- bdew-minecraft/gendustry#277

commented

Now i get a crash from extrautils2
Caused by: java.lang.NullPointerException
at com.rwtema.extrautils2.book.BookHandler$1.func_110549_a(BookHandler.java:45)
at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110542_a(SimpleReloadableResourceManager.java:121)
at com.rwtema.extrautils2.book.BookHandler.(BookHandler.java:32)

I can put the full debug.log here but u said its not directly your fault. Im not using anything to load/launch my modpack, just have all the mods inside the /mods folder

commented

Yes that's just another mod hit by the same issue as mine, see their ticket: rwtema/Extra-Utilities-2-Source#159

commented

fixed it for me, thank you :)

commented