Game stuck after Independence
Nserk opened this issue · 4 comments
Hi to all.
I have this problem: after I declare my independence and then end my turn, the game begins to process the AI players, but it end being stuck, I try to reconnect but it remains stuck on waiting for the royal expedition. I premise that I'm quite late in the game and I think that the royal expedition is quite vast...
I gegan this game quite ago, and now I'm using the last nighly release.
I attach also my save file, I hope it will be useful...
I have the same problem but it seems linked to trade routes. Have you defined trade routes (with several wagons on at least one trade route) ?
No, I don't have any trade route at all...
The problem is with the AI of Dutch Royal Expeditionary Force navy. I don't know the AI part of the game, to say why it fails.
java.lang.NullPointerException
at net.sf.freecol.common.model.Map.searchMap(Map.java:1805)
at net.sf.freecol.common.model.Map.search(Map.java:1517)
at net.sf.freecol.common.model.Unit.search(Unit.java:3015)
at net.sf.freecol.server.ai.REFAIPlayer.initialize(REFAIPlayer.java:484)
at net.sf.freecol.server.control.InGameController.endTurn(InGameController.java:2145)
at net.sf.freecol.common.networking.EndTurnMessage.serverHandler(EndTurnMessage.java:77)
at net.sf.freecol.server.control.ServerInputHandler.handle(ServerInputHandler.java:75)
at net.sf.freecol.common.networking.Connection.handle(Connection.java:514)
at net.sf.freecol.server.networking.DummyConnection.askMessage(DummyConnection.java:109)
at net.sf.freecol.common.networking.Connection.request(Connection.java:550)
at net.sf.freecol.common.networking.ServerAPI.ask(ServerAPI.java:197)
at net.sf.freecol.common.networking.ServerAPI.endTurn(ServerAPI.java:509)
at net.sf.freecol.server.ai.AIMessage.askEndTurn(AIMessage.java:252)
at net.sf.freecol.server.ai.AIPlayer.lambda$setCurrentPlayerHandler$12(AIPlayer.java:517)
at java.base/java.lang.Thread.run(Thread.java:835)
----------------------------