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

Crash when approaching a planet #553

Open
guiweber opened this issue Oct 18, 2020 · 1 comment
Open

Crash when approaching a planet #553

guiweber opened this issue Oct 18, 2020 · 1 comment
Labels

Comments

@guiweber
Copy link

What you were trying to do

Approaching a planet

What actually happened

Game crashed to desktop

How to reproduce

Could not reproduce. It happened once when I was nearing a planet.

Log details and game version

V2.0.0 On steam

java.lang.NullPointerException
at org.destinationsol.game.ObjectManager.recalcRadius(ObjectManager.java:159)
at org.destinationsol.game.ObjectManager.addObjNow(ObjectManager.java:200)
at org.destinationsol.game.ObjectManager.addRemove(ObjectManager.java:183)
at org.destinationsol.game.ObjectManager.update(ObjectManager.java:145)
at org.destinationsol.game.SolGame.lambda$update$2(SolGame.java:317)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at org.destinationsol.game.SolGame.lambda$update$3(SolGame.java:316)
at java.lang.Iterable.forEach(Iterable.java:75)
at org.destinationsol.game.SolGame.update(SolGame.java:315)
at org.destinationsol.SolApplication.update(SolApplication.java:235)
at org.destinationsol.SolApplication.safeUpdate(SolApplication.java:210)
at org.destinationsol.SolApplication.render(SolApplication.java:174)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:392)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:137)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.(Lwjgl3Application.java:111)
at org.destinationsol.desktop.SolDesktop.main(SolDesktop.java:149)

@Cervator
Copy link
Member

Thanks for the report @guiweber ! Especially appreciate the stacktrace, that might give us a place for adding some better error handling to figure out which condition can cause that.

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

No branches or pull requests

3 participants