Menu

#1510 AI freeze

closed-fixed
nobody
5
2011-01-25
2009-07-30
No

I assume this is the same bug as 2823361 but as I cannot reopen that one I am filing it anew.

The AI will occasionally freeze in for an unknown reason when it's turn comes around.
This saved game should reproduce it for you after you end the turn.

Discussion

  • Nicholas Shanks

    Nicholas Shanks - 2009-07-30

    just hit Return to end the turn.

     
  • abartels

    abartels - 2009-07-30
    • status: open --> pending-works-for-me
     
  • abartels

    abartels - 2009-07-30

    Works for me - there are two errors in the log after ending the turn, but both are non-fatal.

    Fixed one of these in rev.5677, and will discuss the other one on the mailing list. Please check whether the problem still exists with current trunk.

     
  • Nicholas Shanks

    Nicholas Shanks - 2009-08-09

    Problem still exists. This is what gets logged to the terminal, for the newly attached game.

    <endTurn/>

    <question networkReplyId="2"><setCurrentPlayer player="player:11"/></question>

    <reply networkReplyId="2"/>

    <question networkReplyId="3"><opponentMove direction="NW" fromTile="tile:3306" unit="unit:76646"/></question>

    <reply networkReplyId="3"/>

    <question networkReplyId="4"><opponentMove direction="NW" fromTile="tile:3266" unit="unit:76646"/></question>

    <reply networkReplyId="4"/>

    <question networkReplyId="5"><opponentMove direction="NW" fromTile="tile:3225" unit="unit:76646"/></question>

    <reply networkReplyId="5"/>

    <question networkReplyId="6"><opponentMove direction="NW" fromTile="tile:1392" unit="unit:6639"/></question>

    net.sf.freecol.common.networking.Connection$1 run
    WARNING: Message handler failed!
    Sun Aug 09 11:21:58 BST 2009
    Thread ID: 257
    Stack trace:
    java.lang.IllegalStateException: Could not find the 'unit' in 'opponentMove'. Unit ID: unit:6639
    at net.sf.freecol.client.control.InGameInputHandler.opponentMove(InGameInputHandler.java:275)
    at net.sf.freecol.client.control.InGameInputHandler.handle(InGameInputHandler.java:116)
    at net.sf.freecol.common.networking.Connection$1.run(Connection.java:505)
    ----------------------------

    net.sf.freecol.common.networking.Connection$1 run
    WARNING: [question: null]
    Sun Aug 09 11:21:58 BST 2009
    Thread ID: 257

     
  • Nicholas Shanks

    Nicholas Shanks - 2009-08-09
    • status: pending-works-for-me --> open-works-for-me
     
  • Nicholas Shanks

    Nicholas Shanks - 2009-08-09

    Log for second game

     
  • Nicholas Shanks

    Nicholas Shanks - 2009-08-09

    Second example of the bug (it is quite frequent)

     
  • Lux

    Lux - 2009-08-29

    I have this problem as well. Usually with the Cherokee turn.
    However due to save games not working I have no savegame file for you.

     
  • Mike Pope

    Mike Pope - 2011-01-25
    • status: open-works-for-me --> closed-fixed
     
  • Mike Pope

    Mike Pope - 2011-01-25

    Fixed in 0.10.0alpha.

     

Log in to post a comment.