I do not have the issue you are describing but I also have issues with saves.
Also some 49 build or other. Also Java 17.
In my case, I am fairly certain the issue involves player units fleeing the battle.
Game plays normally after that, but if you try to save and restore, the game Always (?) hangs at the end of the turn, meaning the savegame is useless.