Crash on mobile app when using force of will
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Crash on mobile app when using force of will
by segfault » 30 Jan 2017, 21:12
Description: Was casting Force of Will by paying 1 life and exiling Flusterstorm to counter opponent's Wren's Run Vanquisher. The app threw an exception and displayed the stack trace after flusterstorm was exiled and before force of will was resolved.
- ClassCastException | Open
- Code: Select all
Forge Version: 1.5.60.001
Operating System: Linux 3.4.0-perf-gc662f8b armv7l
Java Version: 0 The Android Project
java.lang.ClassCastException: forge.player.PlayerControllerHuman cannot be cast to forge.ai.PlayerControllerAi
at forge.ai.AiController$2.getSpellAbilityPriority(AiController.java:800)
at forge.ai.AiController$2.compare(AiController.java:740)
at forge.ai.AiController$2.compare(AiController.java:712)
at java.util.TimSort.binarySort(TimSort.java:261)
at java.util.TimSort.sort(TimSort.java:186)
at java.util.Arrays.sort(Arrays.java:1998)
at java.util.Collections.sort(Collections.java:1900)
at forge.ai.AiController.chooseSpellAbilityToPlayFromList(AiController.java:1098)
at forge.ai.AiController.getSpellAbilityToPlay(AiController.java:1091)
at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1071)
at forge.ai.PlayerControllerAi.chooseSpellAbilityToPlay(PlayerControllerAi.java:390)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:926)
at forge.game.GameAction.startGame(GameAction.java:1467)
at forge.game.Match.startGame(Match.java:95)
at forge.match.HostedMatch$2.run(HostedMatch.java:220)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
- segfault
- Posts: 1
- Joined: 30 Jan 2017, 21:06
- Has thanked: 0 time
- Been thanked: 0 time
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 39 guests