-
Notifications
You must be signed in to change notification settings - Fork 393
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
2.6.14706: ConcurrentBattleCalculator#calculate:200 - java.lang.IllegalStateException #12689
Comments
Same as: #11610 We desperately need a repro. @TheDog-GH do you know who submitted this report? |
Since we'll need to debug this code for triplea-game#12689, this is a prelim cleanup to make the code easier to understand. It splits out the core logic into an impl function, with the caching logic being a wrapper around it. Also improves some comments and uses some local variables to reduce wrapping.
Since we'll need to debug this code for #12689, this is a prelim cleanup to make the code easier to understand. It splits out the core logic into an impl function, with the caching logic being a wrapper around it. Also improves some comments and uses some local variables to reduce wrapping. No functional changes.
@asvitkine I forwarded this error, it was freezing the game, and I never seen it before, allready traced down its possible origin ( while working on local Update of Shogun Advanced) and it seems connected with a Unit that has Attack value = 0 ) Aftr some testing last days it seems solved by changing 0 into 1... let you know it still occurs |
@merleyn if you have a version of the map that can trigger this error and either reliable repro steps or a save game, it would be helpful to debug the problem in the engine. |
sorry, I went to fast in improving the map.... only have a saved game but not the coresponding Game.xml, but error didnot occur anymore since I abstained from using " attack = 0 unit" |
Map
shogun_advanced / Shogun Advanced
Log Message
java.lang.IllegalStateException: sortedTargetsToPickFrom must have the same size as targetsToPickFrom list
TripleA Version
2.6.14706
Java Version
11.0.19
Operating System
Windows 11
Heap Size
1972M
Stack Trace
The text was updated successfully, but these errors were encountered: