Space Haven

Space Haven

NullPointerException
The game runs fine and so far without issues until i quit. About 5 minutes after i quit the game a message box pops up with the title "Sapce haven crash" content as follows:

Thread[pool-1-thread-16,5,main]
java.lang.NullPointerException
fi.bugbyte.spacehaven.gui.menu.MainMenu2$2.run(MainMenu2.java:1950)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:750)

If this ever gets fixed, i would be professionally interested to know whether simply someone forgot a null check or if its an error in or missing thread sync or something else entirely.
< >
Showing 1-2 of 2 comments
Hi there.

That is strange indeed. Haven't seen this issue before as far as I can remember. Seems like the process could be left stuck running in the background.

After you quit you could see in the task manager to see if space haven or java processes are still running.

Why it is that way I do not know, but it is not something I can remember seeing before. I have seen some on Steam still remaining at "playing" after quitting, there the java process is left running for some reason.

These cases are 1 out of 100, 500 or 1000, hard to say the percentage.
Just checked: yes indeed the spacehaven binary is still running and holding the memory hostage too(1.6 GB).
If it is of any note i use Linux Mint 22.3. Given that java should run the same anywhere, i did not mention it before.
Since you have gone the extra mile on a sunday no less. I will do the same. If you want to go yeti hunting and need me to check/copy any local logs, let me know.

BUT: please do not waste your sunday on my non critical, non blocking problem.
< >
Showing 1-2 of 2 comments
Per page: 1530 50