It is currently 24 Apr 2017, 05:35
   
Text Size

Crash on mobile app when using force of will

Moderators: timmermac, moomarc, Chris H., DennisBergkamp, Rob Cashwalker, friarsol, CCGHQ Admins

Crash on mobile app when using force of will

Postby 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

Return to Forge

Who is online

Users browsing this forum: Hanmac and 14 guests


Who is online

In total there are 15 users online :: 1 registered, 0 hidden and 14 guests (based on users active over the past 10 minutes)
Most users ever online was 279 on 11 Jul 2013, 22:03

Users browsing this forum: Hanmac and 14 guests

Login Form