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

NPE in ActionButtons#changeTo() #3726

Open
ssoloff opened this Issue Aug 4, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@ssoloff
Member

ssoloff commented Aug 4, 2018

Engine version

1.9.0.0.11065

My Operating System

Linux localhost.localdomain 4.17.3-200.fc28.x86_64 #1 SMP Tue Jun 26 14:17:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Can you describe how to trigger the error? (eg: what sequence of actions will recreate it?)

Was testing something unrelated. Not sure what I did at the time to trigger this. All I was doing was moving and scaling the map window.

Do you have the exact error text? Please copy/paste if so

Error: java.lang.NullPointerException
java.lang.NullPointerException
	at games.strategy.triplea.ui.ActionButtons.changeTo(ActionButtons.java:161)
	at games.strategy.triplea.ui.ActionButtons.changeToMoveForumPosterPanel(ActionButtons.java:157)
	at games.strategy.triplea.ui.TripleAFrame.waitForMoveForumPoster(TripleAFrame.java:768)
	at games.strategy.triplea.TripleAPlayer.start(TripleAPlayer.java:124)
	at games.strategy.engine.framework.ServerGame.waitForPlayerToFinishStep(ServerGame.java:539)
	at games.strategy.engine.framework.ServerGame.runStep(ServerGame.java:428)
	at games.strategy.engine.framework.ServerGame.startGame(ServerGame.java:287)
	at java.util.Optional.ifPresent(Optional.java:159)
	at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:39)
	at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$0(AbstractLauncher.java:51)
	at java.lang.Thread.run(Thread.java:748)

Instead of this error, what should have happened?

NPE should not occur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment