I think this saved game may be the wrong one. I don't see any ECM or ECCM units in the saved game. However, I can see the issue by looking at the code mentioned in the stack trace. It looks like the loop that checks for ECCM negating ECM doesn't break out once it finds a match, so that one ECM can try to get negated by multiple ECCMs, and hence the ECM entry tries to get removed multiple times, which causes the exception in the attached logfile.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It looks like the saved game contains an NPE right indirect artillery fire from an artillery bay. This is because artillery bays aren't support yet, and to fire artillery from a bay, you must use the optional rule to individually list all weapons in a bay.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
.
Whoever keeps adding anonymous comments with just "." as the content, stop it.
Those comments have attached files.
Oh. Nevermind then, I'm an idiot.
I think this saved game may be the wrong one. I don't see any ECM or ECCM units in the saved game. However, I can see the issue by looking at the code mentioned in the stack trace. It looks like the loop that checks for ECCM negating ECM doesn't break out once it finds a match, so that one ECM can try to get negated by multiple ECCMs, and hence the ECM entry tries to get removed multiple times, which causes the exception in the attached logfile.
It looks like the saved game contains an NPE right indirect artillery fire from an artillery bay. This is because artillery bays aren't support yet, and to fire artillery from a bay, you must use the optional rule to individually list all weapons in a bay.
Fixed in [r11389].
Related
Commit: [r11389]