MegaMek is a networked Java clone of BattleTech, a turn-based sci-fi boardgame for 2+ players. Fight using giant robots, tanks, and/or infantry on a hex-based map.
[X] I've tested the issue against at least the latest MILESTONE version
[X] I've asked on the MegaMek Discord about the error
[X] I've reviewed the BattleTech rules and MekHQ documentation, and I've confirmed that something isn't working as intended.
[X] I've searched the Github tracker and haven't found the issue listed
Severity *
Medium (Gameplay Limitation): Non-core functionality is impaired, providing a suboptimal but playable experience.
Brief Description *
NPE occurred in MekHQ when I closed an in-progress Scenario. Based on the NPE text, it might be due to the fact that my ASF reinforcements had not yet deployed and were not on the board when the scenario was closed and MegaMek tried to report back to MekHQ.
Scenario is still in-progress, the intent was to close and load an earlier save.
Prerequisites and Pre-Issue Checklist
[X] I'm reporting the issue to the correct repository:
MegaMek
MegaMekLab
MekHQ
[X] I've tested the issue against at least the latest MILESTONE version
[X] I've asked on the MegaMek Discord about the error
[X] I've reviewed the BattleTech rules and MekHQ documentation, and I've confirmed that something isn't working as intended.
[X] I've searched the Github tracker and haven't found the issue listed
Severity *
Medium (Gameplay Limitation): Non-core functionality is impaired, providing a suboptimal but playable experience.
Brief Description *
NPE occurred in MekHQ when I closed an in-progress Scenario. Based on the NPE text, it might be due to the fact that my ASF reinforcements had not yet deployed and were not on the board when the scenario was closed and MegaMek tried to report back to MekHQ.
Scenario is still in-progress, the intent was to close and load an earlier save.
Steps to Reproduce
Operating System *
Windows 10
Java Version *
Java Version: 17.0.6
MekHQ Suite Version *
Free Text (type manually)
Custom MekHQ Version
mekhq.MekHQ.initializeLogging(MekHQ.java:307) - Starting MekHQ v0.50.1-SNAPSHOT Build Date: 2024-10-23T03:23:14.592586070 Today: 2024-10-24 Origin Project: MekHQ Java Vendor: Eclipse Adoptium Java Version: 17.0.6 Platform: Windows 10 10.0 (amd64) System Locale: en_US Total memory available to MekHQ: 8 GB MM Code Revision: 8bea36f57e240eb47fc127f6a2fe2a0f48c568e6 MML Code Revision: 384380362038ce744734c3a05836fd5d511d1df0 MHQ Code Revision: 52412bf1b23e9227e0528c642ba52062027c2cd2
Attach Files
NPEexitScenario.zip
Final Checklist