TheLetterH wrote:Agetian wrote:TheLetterH wrote:I was trying out
Mairsil, the Pretender and got a crash, but the board won't allow me to post the dump, says it "looks too spammy."
Without the dump it'd be difficult to reproduce and fix this. Feel free to PM me the crash dump if that's possible for you, I'll take a look.
(If that's not possible, please at least describe in detail what exactly you did before the crash happened).
- Agetian
I guess it's because my post count is too low, I still couldn't put it in a message but I put it on Pastebin and then sent you where it was.
Checked it out - it's a bit of an odd bug, I can't reproduce it yet, too. When exactly did it happen? Did it happen right when you exiled a card with Mairsil, or at some point after it? I can tell it happened in the AI code while the AI was deciding which spell ability to play, so it may or may not have been related exactly to Mairsil as such (difficult to tell from this trace alone). Do you have the deck list for the AI, or was the AI playing a random deck? Do you remember which cards were exiled with Mairsil? Also, was it your turn or the AI's turn?
In case someone else would also like to provide input on why this might be happening, here's the stack trace:
- Code: Select all
java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.util.TimSort.mergeHi(TimSort.java:899)
at java.util.TimSort.mergeAt(TimSort.java:516)
at java.util.TimSort.mergeForceCollapse(TimSort.java:457)
at java.util.TimSort.sort(TimSort.java:254)
at java.util.Arrays.sort(Arrays.java:1523)
at java.util.Collections.sort(Collections.java:238)
at forge.ai.AiController.chooseSpellAbilityToPlayFromList(AiController.java:1104)
at forge.ai.AiController.getSpellAbilityToPlay(AiController.java:1097)
at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1077)
at forge.ai.PlayerControllerAi.chooseSpellAbilityToPlay(PlayerControllerAi.java:410)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:951)
at forge.game.GameAction.startGame(GameAction.java:1556)
at forge.game.Match.startGame(Match.java:100)
at forge.match.HostedMatch$2.run(HostedMatch.java:224)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:762)
- Agetian