#Conceding match quickly causes crash

1 messages · Page 1 of 1 (latest)

wild imp
#

In testing for Adventure Mode, I got cornered by an enemy and a duel began. Result of the match didn't matter, it's not what I was testing, so I conceded within seconds to carry on with what I was doing. This caused the duel and app to crash.

Relevant portion of log:

Game-0 > java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
    at java.base/java.util.LinkedList.checkElementIndex(LinkedList.java:559)
    at java.base/java.util.LinkedList.get(LinkedList.java:480)
    at forge.util.collect.FCollection.get(FCollection.java:406)
    at forge.game.Match.prepareAllZones(Match.java:244)
    at forge.game.Match.startGame(Match.java:79)
    at forge.gamemodes.match.HostedMatch$2.run(HostedMatch.java:256)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:829)
viscid halo
#

I wonder why it didn't match? did you encounter multiple enemy battle like the goblin multiplayer match?

iron jungle
#

Hmm I thought we disabled conceding until a certain time

viscid halo
#

Yeah IIRC it will prevent you from conceding if there's input waiting..

iron jungle
#

Maybe we just need to disable it until after all zones are prepared