So I had a bug pop up in the middle of a game:
Description: [describe what you were doing when the crash occurred]
- NullPointerException | Open
- Code: Select all
Forge Version: 1.5.23-SNAPSHOT-r26793 (mixed revisions detected; please update from the root directory)
Operating System: Windows 7 6.1 x86
Java Version: 1.7.0_65 Oracle Corporation
java.lang.NullPointerException
at forge.game.combat.CombatUtil.canAttack(CombatUtil.java:792)
at forge.game.combat.CombatUtil.canAttack(CombatUtil.java:788)
at forge.ai.AiAttackController.<init>(AiAttackController.java:103)
at forge.ai.PlayerControllerAi.chooseProtectionType(PlayerControllerAi.java:663)
at forge.game.ability.effects.ProtectAllEffect.resolve(ProtectAllEffect.java:49)
at forge.game.ability.AbilityApiBased.resolve(AbilityApiBased.java:59)
at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1242)
at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1224)
at forge.ai.ComputerUtil.playNoStack(ComputerUtil.java:302)
at forge.ai.PlayerControllerAi.playSpellAbilityNoStack(PlayerControllerAi.java:317)
at forge.game.trigger.WrappedAbility.resolve(WrappedAbility.java:402)
at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1242)
at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1224)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:572)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1028)
at forge.game.GameAction.startGame(GameAction.java:1545)
at forge.game.Match.startGame(Match.java:81)
at forge.control.FControl$4.run(FControl.java:442)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
It happened in the middle of the game I was in, and after it everything was behaving as normally except I could not actually click on anything. It would not let me concede neither, so I just restarted Forge.
EDIT: Tried it again with the same decks, crash happened again during the stack, though different cards were used/in play.