[2.5.1 and 2.5.2] Crash at server load (Exception in server tick loop)
Geethebluesky opened this issue ยท 9 comments
Here's the crash log.
This happened when I updated Guidebook to v2.5.2 on my private server just now, up from 2.5.0.
The same crash happens with v2.5.1, which I'd skipped over by mistake.
Going back to 2.5.0 avoids this.
Hey if you want to test this new build 2.5.3, it might solve your crash: https://minecraft.curseforge.com/projects/guidebook/files/2573054
I'm assuming the crash is fixed, but feel free to comment if that's not the case and I will reopen.
It wasn't a Side issue (LTTA kept crashing with 2.5.3), but I hadn't declared a dependency in my main class to make sure LTTA loads after Guidebook. LTTA was referencing a class that hadn't been loaded yet. Nothing wrong on your side, gigaherz.
Hmpf.... the stack trace ends with Caused by: java.lang.NullPointerException
, which doesn't tell me where the NPE happened. Can you look at the full log to see if you can obtain the complete stack trace?
Debug.log segment around the crash
Sorry, I'll remember for next time that when it ends in an NPE like that it's probably not useful by itself.
Welp, that isn't really any more useful... >_<
Thing is, I have tested the mod locally, on both dev server+client, and non-dev server+client, and it didn't crash. Do you know which mod from your list is using guidebook?
My best guess for what is crashing would be that one of the mods is registering the BookRegistryEvent server-side, but it should only be registered in the client. But I have no idea if that's the case with that meaningless stack trace (not blaming you, just the stack trace is annoyingly unhelpful XD)
Oh in that case I'll bring this up with the author of that book, there's only one so far. :) Thank you!