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

NPE with Space Battle - megamek.client.ui.swing.MovementDisplay.updateConvertModeButton(MovementDisplay.java:2798) #5280

Closed
HammerGS opened this issue Mar 25, 2024 · 0 comments · Fixed by #5335

Comments

@HammerGS
Copy link
Member

Sent this from Compass with Hat on Discord. Relates to space battle.

image

Environment

What version of MegaMek does your issue apply to? 49.18

megamek.log
Gamelog and Save.zip

Errors in Log a couple of times

6:36:06,894 ERROR [megamek.MegaMek] {AWT-EventQueue-0}
megamek.MegaMek.lambda$main$0(MegaMek.java:63) - Uncaught Exception Detected
java.lang.NullPointerException
	at megamek.client.ui.swing.MovementDisplay.updateConvertModeButton(MovementDisplay.java:2798)
	at megamek.client.ui.swing.MovementDisplay.hexMoused(MovementDisplay.java:2231)
	at megamek.client.ui.swing.boardview.BoardView.processBoardViewEvent(BoardView.java:966)
	at megamek.client.ui.swing.boardview.BoardView.mouseAction(BoardView.java:4899)
	at megamek.client.ui.swing.boardview.BoardView.mouseAction(BoardView.java:4931)
	at megamek.client.ui.swing.boardview.BoardView.mouseReleased(BoardView.java:4653)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant