You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When the 3/3 creature created by Magar of the Magic Strings deals damage and triggers Forge crashes with an NPE.
Game-0 > java.lang.NullPointerException: Cannot invoke "forge.game.card.CardState.getType()" because "state" is null at forge.game.ability.AbilityUtils.collectSpellsForPlayEffect(AbilityUtils.java:3033) at forge.game.ability.AbilityUtils.getSpellsFromPlayEffect(AbilityUtils.java:3000) at forge.game.ability.AbilityUtils.getBasicSpellsFromPlayEffect(AbilityUtils.java:2982) at forge.game.ability.effects.PlayEffect.resolve(PlayEffect.java:197) at forge.game.spellability.AbilitySub.resolve(AbilitySub.java:104) at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1418) at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1352) at forge.player.HumanPlaySpellAbility.playAbility(HumanPlaySpellAbility.java:212) at forge.player.HumanPlay.playSpellAbilityNoStack(HumanPlay.java:184) at forge.player.PlayerControllerHuman.playSpellAbilityNoStack(PlayerControllerHuman.java:255) at forge.game.trigger.WrappedAbility.resolve(WrappedAbility.java:488) at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1418) at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1352) at forge.game.zone.MagicStack.resolveStack(MagicStack.java:613) at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1119) at forge.game.GameAction.startGame(GameAction.java:2141) at forge.game.Match.startGame(Match.java:90) at forge.gamemodes.match.HostedMatch.lambda$startGame$1(HostedMatch.java:269) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:840)
To Reproduce
Steps to reproduce the behavior:
Use Magar of the Magic Strings
Attack with the creature to trigger the ability
Forge will softcrash that game with an NPE
Desktop (please complete the following information):
Forge Version: forge-2.0.00-SNAPSHOT-10.22
The text was updated successfully, but these errors were encountered:
Describe the bug
When the 3/3 creature created by Magar of the Magic Strings deals damage and triggers Forge crashes with an NPE.
Game-0 > java.lang.NullPointerException: Cannot invoke "forge.game.card.CardState.getType()" because "state" is null at forge.game.ability.AbilityUtils.collectSpellsForPlayEffect(AbilityUtils.java:3033) at forge.game.ability.AbilityUtils.getSpellsFromPlayEffect(AbilityUtils.java:3000) at forge.game.ability.AbilityUtils.getBasicSpellsFromPlayEffect(AbilityUtils.java:2982) at forge.game.ability.effects.PlayEffect.resolve(PlayEffect.java:197) at forge.game.spellability.AbilitySub.resolve(AbilitySub.java:104) at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1418) at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1352) at forge.player.HumanPlaySpellAbility.playAbility(HumanPlaySpellAbility.java:212) at forge.player.HumanPlay.playSpellAbilityNoStack(HumanPlay.java:184) at forge.player.PlayerControllerHuman.playSpellAbilityNoStack(PlayerControllerHuman.java:255) at forge.game.trigger.WrappedAbility.resolve(WrappedAbility.java:488) at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1418) at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1352) at forge.game.zone.MagicStack.resolveStack(MagicStack.java:613) at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1119) at forge.game.GameAction.startGame(GameAction.java:2141) at forge.game.Match.startGame(Match.java:90) at forge.gamemodes.match.HostedMatch.lambda$startGame$1(HostedMatch.java:269) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:840)
To Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: