Open tripleabuilderbot opened 3 weeks ago
NullPointerException
at games.strategy.triplea.ai.pro.AbstractProAi.selectCasualties(AbstractProAi.java:416) should refer (according to history) to
From what I can see variable battle
is likely null
which is strange as the battle ID has is passed to method selectCasualties
.
Would need someone to explain what happend on user level and another one to explain how the method should handle this case.
There are already 2 throw-statements for IllegalStateException
which seems plausible to me to be used in this case too, but I think it would not that prevent a similar issue as posted here.
Map
ww2_oil_and_snow_april_1941_master / ww2_oil_and_snow_april_1941
Log Message
Exception on remote
TripleA Version
2.6.14706
Java Version
11.0.19
Operating System
Windows 11
Heap Size
1972M
Stack Trace