-
Notifications
You must be signed in to change notification settings - Fork 1
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
Failed to load options java.lang.NullPointerException #12
Comments
i'm the one that originally reported this to @ClaudiusMinimus OS is windows 10 if that matters. The fact that there is a lot in this options file kind of makes sense because i bring it with me over from pack to pack (mostly because of things like fov, ui scale, volume settings, quest keybinds). Reproducing the issue has been 100% consistent (in the 4 times i tried) for me. |
Thank you very much for reporting that bug! It really is a strange one. To mitigate this you might wanna swap step 4 and 5 (also stop the game after step 5 has finished). Under certain circumstances the mod doesn't really know what to do when the Does it work if you do it this way? Next month I'll dive deeper into the mod to iron out all those weird problems that have been there for some time. Including this one ofc. |
yes, as I described in the reproduction steps, even after the problem has happened, if I just delete so this isn't really a blocker for anyone, just costs a game reload. as you said i imagine the source of the problem is in the assumption that it is not the first boot if
|
Yeah, you pointed out the exact problem. That check via the I'll substitute that with a custom solution that isn't dependent on any Minecraft files :) It should be fixed by the next major release in Feb/Mar 2023. Note: For further reference, there's also the core library playing it's role. https://github.com/Jomcraft-Network/JCPlugin/blob/28594bbdaeb0b8e6a37c795dd972e6d12922f806/src/main/java/net/jomcraft/jcplugin/FileUtilNoMC.java#L265 |
One of my testers came across an interesting bug. He was testing an install build and the options set in DefaultSettings did not load - nothing but vanilla configs loaded. The result was none of my default configs loaded, so there was no custom menu, no quests, no custom settings, and most important, he loaded into a vanilla overworld and not my custom skyblock world. He is able to reproduce this issue, but I have not. I tried 4 or 5 times, but my installs were fine.
Minecraft: 1.19.2
Forge: 43.2.3
DefaultSettings: 1.19.x-2.8.7
This is how he reproduced the failed install:
The player believes it is step 4 is the cause. In troubleshoot-0_9_package.zip is his latest.log file and that is where I found the error
Failed to load options java.lang.NullPointerException
I also did a file comparison between his options.txt (on left) and the one that comes with the pack in

config/defaultsettings/Default
(on right) and it looks like all of his keybindings are in his file.The text was updated successfully, but these errors were encountered: