Bugbyte Forums
Can't start game due to NullPointerException - Printable Version

+- Bugbyte Forums (http://bugbyte.fi/forums)
+-- Forum: Space Haven Forums (http://bugbyte.fi/forums/forumdisplay.php?fid=2)
+--- Forum: Space Haven General Discussion (http://bugbyte.fi/forums/forumdisplay.php?fid=11)
+--- Thread: Can't start game due to NullPointerException (/showthread.php?tid=548)



Can't start game due to NullPointerException - mietz - 05-10-2019

Hi there,

wanted to play the game today for the first time. I can't start it. Here's the stack trace:

Thread[Thread-0,5,main]
java.lang.NullPointerException
fi.bugbyte.spacehaven.GameLib.getAllDefaultStuff(GameLib.java:708)
fi.bugbyte.spacehaven.GameLib.getDefaultGameSettingsById(GameLib.java:720)
fi.bugbyte.spacehaven.gui.GUI.doButtons(GUI.java:11706)
fi.bugbyte.spacehaven.gui.GUI.setWorld(GUI.java:16161)
fi.bugbyte.spacehaven.SpaceHaven.initGame(SpaceHaven.java:414)
fi.bugbyte.framework.Game$LibraryLoadTask.load(Game.java:187)
fi.bugbyte.framework.LoadState$LoadScreen.update(LoadState.java:70)
fi.bugbyte.framework.screen.Screen.updateScreen(Screen.java:416)
fi.bugbyte.framework.LoadState.run(LoadState.java:144)
fi.bugbyte.framework.Game.render(Game.java:830)
com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:399)
com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:139)
com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:111)
fi.bugbyte.spacehaven.MainClass$3.run(MainClass.java:290)
java.lang.Thread.run(Unknown Source)

The update also fails!

Cheers


RE: Can't start game due to NullPointerException - AdmiralGeezer - 05-10-2019

Hey!

What's your setup? Do you by any chance have a space in your install folder?

Please send us an e-mail to [email protected] as we will be able to serve you better through there!


RE: Can't start game due to NullPointerException - mietz - 05-11-2019

(05-10-2019, 03:02 PM)AdmiralGeezer Wrote: Hey!

What's your setup? Do you by any chance have a space in your install folder?

Please send us an e-mail to [email protected] as we will be able to serve you better through there!

Yes, that was it. I just put it in the Program Files folder on Windows. I now just put it to  C: and everything works now.


RE: Can't start game due to NullPointerException - AdmiralGeezer - 05-13-2019

Oh, OK.

On Windows it is actually more likely that you did not have write permission on Program Files. Did it ask you for administrator right when you copied it there?
You as a normal user would then not have write permission and then it would give that crash.

But glad it works anyhow Smile


RE: Can't start game due to NullPointerException - BARSIC - 05-13-2019

Hello! Is Russian localization in the game planned in the future? I want to play this game.


RE: Can't start game due to NullPointerException - AdmiralGeezer - 05-13-2019

Hello BARSIC.

Yes, Russian will come in future. Will probably be in the game early 2020. Please keep this forum in English as otherwise it will become confusing for all. Smile
(Да, русский придет в будущем. Вероятно, появится в игре в начале 2020 года. Пожалуйста, ведите этот форум на английском языке, иначе он станет запутанным для всех.)