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

[StratCon 49.1 #388] Pending Battles disapear #2594

Closed
cam-smith opened this issue May 8, 2021 · 0 comments · Fixed by #2600
Closed

[StratCon 49.1 #388] Pending Battles disapear #2594

cam-smith opened this issue May 8, 2021 · 0 comments · Fixed by #2600
Assignees
Labels
AtB Bug StratCon Bugs relating strictly to StratCon

Comments

@cam-smith
Copy link

cam-smith commented May 8, 2021

MekHQ nightly 49.1-Snapshot Build #388
Windows 10 64bit
openjdk 16.0.1 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-16.0.1+9 (build 16.0.1+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-16.0.1+9 (build 16.0.1+9, mixed mode, sharing)

Pending Battles dissapear after advancing to week of battle.

Steps to replicate:
Open Save, and advance day to Feb 12, 3050

mekhqlog.txt
logs say:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "java.time.chrono.ChronoLocalDate.toEpochDay()" because "other" is null
at java.base/java.time.chrono.ChronoLocalDate.compareTo(ChronoLocalDate.java:707)
at java.base/java.time.LocalDate.compareTo(LocalDate.java:2019)
at java.base/java.time.LocalDate.compareTo(LocalDate.java:139)
at java.base/java.util.Comparator.lambda$comparing$77a9974f$1(Comparator.java:469)
at java.base/java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
at java.base/java.util.TimSort.sort(TimSort.java:220)
at java.base/java.util.Arrays.sort(Arrays.java:1306)
at java.base/java.util.ArrayList.sort(ArrayList.java:1721)
at mekhq.campaign.mission.atb.AtBScenarioFactory.createScenariosForNewWeek(AtBScenarioFactory.java:319)
at mekhq.campaign.Campaign.processNewDayATBScenarios(Campaign.java:3045)
at mekhq.campaign.Campaign.processNewDayATB(Campaign.java:3198)
at mekhq.campaign.Campaign.newDay(Campaign.java:3454)
at mekhq.campaign.CampaignController.advanceDay(CampaignController.java:82)
at mekhq.gui.CampaignGUI.lambda$initTopButtons$37(CampaignGUI.java:1086)

Autosave-2-My Campaign-30500210.cpnx.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AtB Bug StratCon Bugs relating strictly to StratCon
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants