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 when selecting OS Weapons on BA #5629

Closed
repligator opened this issue Jun 23, 2024 · 0 comments · Fixed by #5630
Closed

NPE when selecting OS Weapons on BA #5629

repligator opened this issue Jun 23, 2024 · 0 comments · Fixed by #5630
Labels
Nightly Issue spotted in the nightly build

Comments

@repligator
Copy link
Collaborator

Environment

2024-06-23T01:19:33.502589578
Java 17.0.11
Linux

Description

When selecting a OS weapon on BA, an NPE occurs.

17:18:22,172 ERROR [megamek.MegaMek] {AWT-EventQueue-0} megamek.MegaMek.lambda$main$0(MegaMek.java:63) - Uncaught Exception Detected java.lang.NullPointerException: Cannot invoke "java.util.ArrayList.get(int)" because "this.vAmmo" is null at megamek.client.ui.swing.unitDisplay.WeaponPanel.getSelectedAmmo(WeaponPanel.java:1313)

Files

megamek.log
Explosion_testing.sav.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Nightly Issue spotted in the nightly build
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant