Skip to content

Failed to load options java.lang.NullPointerException #12

@ClaudiusMinimus

Description

@ClaudiusMinimus

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:

  1. using whatever launcher go into create new instance/profile from zip file
  2. select Create_Skyblock_Forge_1.19.2-0.9.0.zip (This is an unpublished version for testing)
  3. wait for it to install
  4. copy over an existing options.txt to the instance folder (see
    troubleshoot-0_9_package.zip also contains log files, and the pack's default configs
    )
  5. launch the pack
  6. observe problem: dev menu, no quests, normal world
  7. close everything, manually delete the options.txt file
  8. re-launch the pack
  9. observe everything is fixed because default settings applied

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.
image

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingEnhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions