Page 1 of 1

Bug Report-Bala God Theif

PostPosted: 25 Jun 2013, 01:51
by kyrubas
Description: I got the error after resolving a bunch of other ally type creature abilities in the stack. When it got to Bala God Theif, I got this error and the game would not proceed.

IndexOutOfBoundsException | Open
Code: Select all
Forge Version:    1.4.1-r22075
Operating System: Windows XP 5.1 x86
Java Version:     1.6.0_37 Sun Microsystems Inc.

java.lang.IndexOutOfBoundsException: toIndex = 6
   at java.util.SubList.<init>(Unknown Source)
   at java.util.RandomAccessSubList.<init>(Unknown Source)
   at java.util.AbstractList.subList(Unknown Source)
   at forge.game.player.PlayerControllerAi.chooseCardsToRevealFromHand(PlayerControllerAi.java:334)
   at forge.card.ability.effects.DiscardEffect.resolve(DiscardEffect.java:196)
   at forge.card.spellability.AbilitySub.resolve(AbilitySub.java:130)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1055)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1038)
   at forge.card.spellability.HumanPlaySpellAbility.fillRequirements(HumanPlaySpellAbility.java:85)
   at forge.game.player.HumanPlay.playSpellAbilityNoStack(HumanPlay.java:243)
   at forge.card.trigger.WrappedAbility.resolve(WrappedAbility.java:362)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1055)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1038)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:522)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:871)
   at forge.game.GameAction.startGame(GameAction.java:1422)
   at forge.game.Match$1.run(Match.java:105)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

Re: Bug Report-Bala God Theif

PostPosted: 28 Jun 2013, 15:51
by FranAvalon
I think that you make a mistake posting this bug on BA board. Moved to forge's one.

Re: Bug Report-Bala God Theif

PostPosted: 28 Jun 2013, 21:07
by moomarc
FranAvalon wrote:I think that you make a mistake posting this bug on BA board. Moved to forge's one.
Thanks for moving it here.

Re: Bug Report-Bala God Theif

PostPosted: 29 Jun 2013, 06:21
by jsv
@kyrubas: Thanks for the report. The bug has been fixed already in 1.4.2.

Next time Forge crushes (and it will :)), you may want to use a button labeled "Copy and go to forum" in the exception window. It opens a forum thread dedicated to reporting bugs.

Re: Bug Report-Bala God Theif

PostPosted: 29 Jun 2013, 11:53
by Chris H.
We appreciate the bug report kyrubas. :) People who are new to the Forge forum should read this topic as it contains useful information: How to Provide a Useful Bug Report.