Skip to content

null object reference upon loading song through chart editor or through freeplay #916

@ryspryte

Description

@ryspryte

Describe your bug here.

tried looking through other issues for something similar to this but couldnt find anything that helped

keep getting this crash whenever i try to load my chart that i made and saved in the mods folder, everything worked fine until i tried reloading it
really unsure why this is happening and would love to know what could be done to fix it as ive tried fixing it myself for about 3 hours now

if there is a duplicate issue for this that fits the criteria and has been solved feel free to just direct me to that instead, i couldnt find anything but i also dont use github often so i may have just missed it, thanks

Did you check if the problem occurs in the latest build?

Yes

Did you check if there's a problem that you are trying to figure out on (this issue)[https://github.com//issues/359]?

Yes

Did you check if there's any similar issues?

Yes

Command Prompt/Terminal/Crash logs (if existing)

Uncaught Error: Null Object Reference
StageData.loadDirectory() [line 36]
Song.loadFromJson() [line 141]
FreeplayState.update() [line 663]
flixel/FlxState.tryUpdate() [line 239]
flixel/FlxGame.update() [line 749]
flixel/FlxGame.step() [line 679]
flixel/FlxGame.onEnterFrame() [line 558]
openfl/events/EventDispatcher.__dispatchEvent() [line 426]
openfl/display/DisplayObject.__dispatch() [line 1398]

Crash happened in JS Engine v1.44.0

Please report this error to the GitHub page: https://github.com/JordanSantiagoYT/FNF-JS-Engine
The engine has saved a crash log inside the crash folder, If you're making a GitHub issue you might want to send that!

Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.

attempting to replay the song through freeplay or loading it through the chart editor, only normal difficulty specifically, everything else just says "no json data" which is expected

Are you modding a build from source or with Lua?

Lua

What is your build target?

Windows

Did you edit anything in this build? If so, mention or summarize your changes.

custom player and opponent sprites, custom stage with custom shaders that are working, and custom events that also are working

If you use 1.12.0 or earlier, did you have Optimized Chart Loading turned on?

None

Did you check for any similar issues to what you're reporting? Check, then come back here. If there is a similar issue, then do not report the issue, otherwise it will be marked as a duplicate.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions