New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aether Tide - IndexOutOfBoundsException error on X cost #5515

Closed
JayDi85 opened this Issue Jan 12, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@JayDi85
Copy link
Member

JayDi85 commented Jan 12, 2019

Card's announced X value was emptied somehow. There are other cards with same code: search getVariableCosts().get(0).

Server side logs:

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.rangeCheck(ArrayList.java:657)
        at java.util.ArrayList.get(ArrayList.java:433)
        at mage.cards.a.ReturnToHandTargetPermanentEffect.apply(AetherTide.java:125)
        at mage.abilities.AbilityImpl.resolveMode(AbilityImpl.java:168)
        at mage.abilities.AbilityImpl.resolve(AbilityImpl.java:158)
        at mage.game.stack.Spell.resolve(Spell.java:220)
        at mage.game.GameImpl.resolve(GameImpl.java:1404)
        at mage.game.GameImpl.playPriority(GameImpl.java:1354)
        at mage.game.turn.Step.priority(Step.java:61)
        at mage.game.turn.Phase.playStep(Phase.java:184)
        at mage.game.turn.Phase.play(Phase.java:89)
        at mage.game.turn.Turn.play(Turn.java:127)
        at mage.game.GameImpl.playTurn(GameImpl.java:858)

shot_190112_164244

@JayDi85 JayDi85 added the bug label Jan 12, 2019

@jeffwadsworth jeffwadsworth self-assigned this Jan 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment