Skip to content
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

NullPointerException: WARNING: Secure coding is not enabled for restorable state! #5

Open
MartinBlazek6 opened this issue Dec 20, 2023 · 0 comments

Comments

@MartinBlazek6
Copy link
Collaborator

It looks like this is just Apple issue

/Users/Martin/Library/Java/JavaVirtualMachines/corretto-19.0.2/Contents/Home/bin/java -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=49526:/Applications/IntelliJ IDEA.app/Contents/bin -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath /Users/Martin/Documents/GIT/2DgameLearning/out/production/2DgameLearning Main 2023-12-20 22:20:16.245 java[900:11908734] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES. Exception in thread "main" java.lang.NullPointerException at java.base/java.util.Objects.requireNonNull(Objects.java:233) at tile.TileManager.setup(TileManager.java:63) at tile.TileManager.getTileImage(TileManager.java:31) at tile.TileManager.<init>(TileManager.java:25) at main.GamePanel.<init>(GamePanel.java:32) at **Main.main(Main.java:12)**

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant