Closed Tzahr closed 1 month ago
Upon further investigation, it appears this NPE happens for every Mechanic and AeroSpace Tek, while MekTeks and BA Techs are unaffected. EDIT 2: On a hunch, I checked if if the Clan Tech Knowledge SPA was still enabled in my game and discovered it was. Manually removing it cleared up the the NPE. This will likely require a conversion handler.
This will auto-sanitize on saving and reloading, and is therefore an edge transition case that a simple save and reload will fix. No further action required - closing.
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 *
In attached save, a newborn called Klaas Olatunji was generated with Tech/Mechanic skills. Right clicking him in the personnel menu causes an NPE.
Error logs the following error:
Steps to Reproduce
No response
Operating System *
Windows 11
Java Version *
21.0.3
MekHQ Suite Version *
Free Text (type manually)
Custom MekHQ Version
Nightly v0.50.1 - Rev. b5a4f6a63622f97b768c9dcb2124f544cc986ce8
Attach Files
mekhq.log 1st Rimward Hussars THE MECHANICAL CHILD.zip customs.zip
Final Checklist