Re: Bug Reports (snapshot builds)
by Pux
Somebody already reported it in this thread several pages before, but the game still crashes when the AI plays Squandered Resources.
This bug is pretty serious since Anansi in Jamuraa plays it. If the bug is hard to fix I'd suggest to take the card out of the deck.
This bug is pretty serious since Anansi in Jamuraa plays it. If the bug is hard to fix I'd suggest to take the card out of the deck.
- NullPointerException | Open
- Code: Select all
Forge Version: 1.3.10-SNAPSHOT-r20251
Operating System: Windows 7 6.1 amd64
Java Version: 1.7.0_03 Oracle Corporation
java.lang.NullPointerException
at java.util.ArrayList.addAll(Unknown Source)
at forge.card.ability.AbilityUtils.getDefinedCards(AbilityUtils.java:249)
at forge.CardUtil.getReflectableManaColors(CardUtil.java:469)
at forge.game.ai.ComputerUtilMana.mapManaSources(ComputerUtilMana.java:618)
at forge.game.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:74)
at forge.game.ai.ComputerUtilCost.canPayCost(ComputerUtilCost.java:360)
at forge.game.ai.AiController.canPlayAndPayFor(AiController.java:469)
at forge.game.ai.AiController.chooseSpellAbilities(AiController.java:457)
at forge.game.ai.AiController.getSpellAbilityToPlay(AiController.java:101)
at forge.game.ai.AiInputCommon.playSpellAbilities(AiInputCommon.java:161)
at forge.game.ai.AiInputCommon.showMessage(AiInputCommon.java:106)
at forge.gui.InputProxy.setInput(InputProxy.java:62)
at forge.control.input.InputControl.setNewInput(InputControl.java:256)
at forge.gui.InputProxy.update(InputProxy.java:49)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.util.MyObservable.updateObservers(MyObservable.java:38)
at forge.game.zone.MagicStack.finishResolving(MagicStack.java:993)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:845)
at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:738)
at forge.game.player.PlayerController.passPriority(PlayerController.java:70)
at forge.control.input.InputPassPriority.selectButtonOK(InputPassPriority.java:77)
at forge.gui.InputProxy.selectButtonOK(InputProxy.java:71)
at forge.gui.match.controllers.CMessage$2.actionPerformed(CMessage.java:57)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener$Actions.actionPerformed(Unknown Source)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)