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

Enemy Force Generation, Transport(?) NPE. #4429

Closed
repligator opened this issue Jul 17, 2024 · 1 comment · Fixed by #4436
Closed

Enemy Force Generation, Transport(?) NPE. #4429

repligator opened this issue Jul 17, 2024 · 1 comment · Fixed by #4436

Comments

@repligator
Copy link
Collaborator

repligator commented Jul 17, 2024

Environment

Developmental
Java 17
Linux

Description

Hit advance day in MHQ, got hit with NPE. The scenario in question was a base defense mission. After deleting the mission, I got hit with another defense mission the next week, which triggered the NPE again.
17:49:24,733 ERROR [mekhq.MekHQ] {AWT-EventQueue-0} mekhq.MekHQ.lambda$main$1(MekHQ.java:280) - Uncaught Exception Detected java.lang.NullPointerException: Cannot invoke "java.util.Map.containsKey(Object)" because "requiredRoles" is null at mekhq.campaign.mission.AtBDynamicScenarioFactory.fillTransports(AtBDynamicScenarioFactory.java:1436)

Files

mekhq.log
Autosave-1-Fronc Marshals-30710430.cpnx.gz
NPE-Fronc Marshals30710501.cpnx.gz

@IllianiCBT
Copy link
Collaborator

@SuperStucco this looks like it might be related to your recent force generation changes

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.

2 participants