It is currently 24 Feb 2018, 17:53
   
Text Size

Bug in Forge 1.6.4 with Jhoira of the Ghitu Vanguard

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

Bug in Forge 1.6.4 with Jhoira of the Ghitu Vanguard

Postby MrMystery314 » 02 Jan 2018, 21:07

This crash occurs occasionally when the AI opponent activates Jhoira's ability:
Description: [This crash sometimes happens when the AI opponent activates Jhoira's ability. This does not always happen.]

NullPointerException | Open
Code: Select all
Forge Version:    1.6.4-r-1
Operating System: Windows 10 10.0 x86
Java Version:     1.8.0_151 Oracle Corporation

java.lang.NullPointerException
   at forge.ai.ComputerUtilMana.calculateManaCost(ComputerUtilMana.java:1071)
   at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:90)
   at forge.ai.ComputerUtilMana.canPayManaCost(ComputerUtilMana.java:54)
   at forge.ai.ComputerUtilMana.determineLeftoverMana(ComputerUtilMana.java:1411)
   at forge.ai.ability.DrawAi.targetAI(DrawAi.java:244)
   at forge.ai.ability.DrawAi.doTriggerAINoCost(DrawAi.java:474)
   at forge.ai.SpellAbilityAi.doTriggerNoCostWithSubs(SpellAbilityAi.java:172)
   at forge.ai.AiController.canPlayFromEffectAI(AiController.java:1050)
   at forge.ai.ability.PlayAi$1.apply(PlayAi.java:126)
   at forge.ai.ability.PlayAi$1.apply(PlayAi.java:105)
   at com.google.common.collect.Iterators$7.computeNext(Iterators.java:647)
   at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
   at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
   at forge.util.collect.FCollection.<init>(FCollection.java:90)
   at forge.game.card.CardCollection.<init>(CardCollection.java:115)
   at forge.game.card.CardLists.filter(CardLists.java:276)
   at forge.ai.ability.PlayAi.chooseSingleCard(PlayAi.java:105)
   at forge.ai.SpellAbilityAi.chooseSingleEntity(SpellAbilityAi.java:319)
   at forge.ai.PlayerControllerAi.chooseSingleEntityForEffect(PlayerControllerAi.java:162)
   at forge.game.player.PlayerController.chooseSingleEntityForEffect(PlayerController.java:108)
   at forge.ai.AiController.chooseCardsForEffect(AiController.java:1603)
   at forge.ai.PlayerControllerAi.chooseCardsForEffect(PlayerControllerAi.java:150)
   at forge.game.ability.effects.PlayEffect.resolve(PlayEffect.java:113)
   at forge.game.ability.AbilityApiBased.resolve(AbilityApiBased.java:60)
   at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1332)
   at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1309)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:521)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1007)
   at forge.game.GameAction.startGame(GameAction.java:1572)
   at forge.game.Match.startGame(Match.java:87)
   at forge.match.HostedMatch$2.run(HostedMatch.java:225)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
MrMystery314
 
Posts: 8
Joined: 02 Jan 2018, 21:03
Has thanked: 0 time
Been thanked: 0 time

Return to Forge

Who is online

Users browsing this forum: No registered users and 14 guests


Who is online

In total there are 14 users online :: 0 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: No registered users and 14 guests

Login Form