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

My mechwarrior won't stop having babies :D #5236

Closed
7 tasks done
molemanBT opened this issue Nov 22, 2024 · 1 comment · Fixed by #5248
Closed
7 tasks done

My mechwarrior won't stop having babies :D #5236

molemanBT opened this issue Nov 22, 2024 · 1 comment · Fixed by #5248
Labels
Bug Personnel Personnel-related Issues

Comments

@molemanBT
Copy link

Prerequisites and Pre-Issue Checklist

  • I'm reporting the issue to the correct repository:

  • MegaMek

  • MegaMekLab

  • MekHQ

  • I've tested the issue against at least the latest MILESTONE version

  • I've asked on the MegaMek Discord about the error

  • I've reviewed the BattleTech rules and MekHQ documentation, and I've confirmed that something isn't working as intended.

  • I've searched the Github tracker and haven't found the issue listed

Severity *

High (Major Disruption): A major feature is broken or incorrect, but a workaround exists.

Brief Description *

I hired 1 mechwarrior, made her commander, made her pregnant, then sent her on an NCO course, now she keeps having a baby every week, sounds uncomfortable

Steps to Reproduce

Just advance a week on the save

no customs
The Matrix Investments30341215.cpnx.gz

Operating System *

Windows 11

Java Version *

17

MekHQ Suite Version *

Free Text (type manually)

Custom MekHQ Version

0.50.01 (although the log, and the help > about ribbon at the top say 0.50.1)

Attach Files

No response

Final Checklist

  • I've checked to make sure that this issue has not already been filed
  • I'm reporting only one issue in this ticket for clarity and focus
@repligator repligator added Personnel Personnel-related Issues Bug labels Nov 24, 2024
@repligator
Copy link
Collaborator

mekhq.log
Ran the attached campaign for another few weeks. One child per week, every week. Campaign settings show relationship-less conception at 1/2000 odds, so this almost certainly a bug. Not sure if the error in the log is related, or just a side effect.

10:01:04,169 ERROR [mekhq.MekHQ] {AWT-EventQueue-0}
mekhq.MekHQ.lambda$main$1(MekHQ.java:291) - Uncaught java.lang.NullPointerException 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.NullPointerException: Cannot invoke "mekhq.campaign.personnel.education.Academy.isHomeSchool()" because the return value of "mekhq.campaign.personnel.education.EducationController.getAcademy(String, String)" is null
	at mekhq.campaign.personnel.procreation.AbstractProcreation.birth(AbstractProcreation.java:370)
	at mekhq.campaign.personnel.procreation.AbstractProcreation.processNewWeek(AbstractProcreation.java:541)
	at mekhq.campaign.Campaign.processWeeklyRelationshipEvents(Campaign.java:3942)
	at mekhq.campaign.Campaign.processNewDayPersonnel(Campaign.java:3859)
	at mekhq.campaign.Campaign.newDay(Campaign.java:4262)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Personnel Personnel-related Issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants