[MHQ - 50.03 Nightly - CI1729] - Deploying Patrol lance created NPE - java.lang.IllegalArgumentException: Unknown Weight Class in getClassName(int) #5694
Labels
Bug
Severity: High
Issues described as high severity as per the new issue form
StratCon
Bugs relating strictly to StratCon
Brief Description *
Apologies - only save file available is from after the error happened. I know this isn't super useful, shame on me for not saving in advance.
Campaign is in the Age of War, and an Artillery Base modifier is present, so I suspect there might be some kind of unit generation issued tied into FG3.
Issue occured when deploying the Patrol lance to the bottom left hex on the StratCon map.
NPE was triggered, with the following in the logs:
"22:21:26,560 ERROR [mekhq.MekHQ] {AWT-EventQueue-0}
mekhq.MekHQ.lambda$main$1(MekHQ.java:296) - Uncaught java.lang.IllegalArgumentException detected. Please open up an issue containing all logs, the game save file, and customs at https://github.com/MegaMek/megamek/issues . If Sentry is enabled, the error has also been logged.
java.lang.IllegalArgumentException: Unknown Weight Class in getClassName(int)
at megamek.common.EntityWeightClass.getClassName(EntityWeightClass.java:492)
at "
Log attached further down the report.
3. Steps to Reproduce
Attach Files
Log:
mekhq.log
Save file:
The Orphan Eater's Batshit Bastards24750515-AfterError.cpnx.gz
Severity *
High (Major Disruption): A major feature is broken or incorrect, but a workaround exists.
MekHQ Suite Version *
50.03 CI1729 Nightly
Operating System *
Win11
Java Version *
Java Vendor: Eclipse Adoptium Java Version: 17.0.12
Final Verification
The text was updated successfully, but these errors were encountered: