It is currently 27 Apr 2024, 23:06
   
Text Size

Game hangs after AI opponent lost

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Game hangs after AI opponent lost

Postby elricod » 06 Jul 2023, 17:35

Hello all -

I'm in a 4-player commander game; myself and three AI. After killing the second of three AI players, the game stopped on "Waiting for opponent..." for >30 minutes. forge.log shows

Game-0 > java.lang.NullPointerException
at forge.game.Game.onPlayerLost(Game.java:833)
at forge.game.GameAction.checkGameOverCondition(GameAction.java:1706)
at forge.game.GameAction.checkStateEffects(GameAction.java:1260)
at forge.game.phase.PhaseHandler.checkStateBasedEffects(PhaseHandler.java:1142)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1028)
at forge.game.GameAction.startGame(GameAction.java:2088)
at forge.game.Match.startGame(Match.java:90)
at forge.gamemodes.match.HostedMatch$2.run(HostedMatch.java:255)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Is there a watchdog timer that could be implemented for "Waiting for opponent ..." so the game could resume in case of NullPointerException?
elricod
 
Posts: 18
Joined: 18 Mar 2011, 02:01
Has thanked: 5 times
Been thanked: 0 time

Return to Forge

Who is online

Users browsing this forum: No registered users and 223 guests


Who is online

In total there are 223 users online :: 0 registered, 0 hidden and 223 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 223 guests

Login Form