Closed RAVINGAR closed 10 months ago
I do agree something should be done to fix the potential for null issues like this. I think the stack setting getters should be changed to return NonNull values and instead return an empty settings container where everything just returns empty. I'll keep this PR open as I want to fix the overarching issue, I just don't think this is entirely the right way to go about it as there are 10+ other areas in the code which would need identical changes.
Fixed a small null pointer that was causing an issue under some circumstances. Can't compile it myself as maven-public repo is private :/