Re: Current Known Bugs list
Computer plays Pulling Teeth. Clash with an opponent is on the stack, then this error pops up:
----------------------------------
I have 2 Caltrops in play. Computer attacks with Contagious Nim (not very smart to attack with a 2/2 when there are 2 Caltrops in play) and Skitter of Lizards (kicked 2 times). One of the Caltrops effects goes on to the stack, then i get this error:
Looked a bit closer during the next combat round. I get a window where it asks which effect to put on the stack first. There are 2 creatures attacking and 2 Caltrops, so there are 4 triggers to choose from. After picking the first trigger the error pops up. After closing the error the window is also closed and no triggers can be selected to put onto the stack.
During the next match i had 1 Caltrops in play, then there are no problems when i get attacked by 2 creatures. I play another Caltrops and it still works like it should. Now there is no error when i place triggers onto the stack
I don't know what caused the error, since now it works correctly. Maybe the kicked Skitter of Lizards caused it?
It also seems the computer ignores the Caltrops in play and just attacks when you have nothing to defend, even when the attacker has only 1 defense.
- Code: Select all
An error has occurred. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgerror@yahoo.com
null
Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $
OS: Windows 7 Version: 6.1 Architecture: x86
Java Version: 1.6.0_23 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NullPointerException
at forge.MagicStack.add(MagicStack.java:491)
at forge.MagicStack.addAndUnfreeze(MagicStack.java:74)
at forge.ComputerUtil.handlePlayingSpellAbility(ComputerUtil.java:86)
at forge.ComputerUtil.playCards(ComputerUtil.java:47)
at forge.ComputerAI_General.playCards(ComputerAI_General.java:40)
at forge.ComputerAI_General.main1(ComputerAI_General.java:25)
at forge.ComputerAI_Input.think(ComputerAI_Input.java:48)
at forge.ComputerAI_Input.showMessage(ComputerAI_Input.java:33)
at forge.GuiInput.setInput(GuiInput.java:29)
at forge.GuiInput.update(GuiInput.java:23)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.MyObservable.updateObservers(MyObservable.java:9)
at forge.Phase.nextPhase(Phase.java:375)
at forge.Phase.nextPhase(Phase.java:378)
at forge.GuiDisplay4$28.actionPerformed(GuiDisplay4.java:769)
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.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(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.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(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.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)
----------------------------------
I have 2 Caltrops in play. Computer attacks with Contagious Nim (not very smart to attack with a 2/2 when there are 2 Caltrops in play) and Skitter of Lizards (kicked 2 times). One of the Caltrops effects goes on to the stack, then i get this error:
- Code: Select all
An error has occurred. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgerror@yahoo.com
null
Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $
OS: Windows 7 Version: 6.1 Architecture: x86
Java Version: 1.6.0_23 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NullPointerException
at forge.card.trigger.Trigger_SpellAbilityCast.performTest(Trigger_SpellAbilityCast.java:152)
at forge.card.trigger.TriggerHandler.runSingleTrigger(TriggerHandler.java:332)
at forge.card.trigger.TriggerHandler.runTrigger(TriggerHandler.java:266)
at forge.MagicStack.add(MagicStack.java:473)
at forge.GameAction.playSpellAbility(GameAction.java:1843)
at forge.MagicStack.chooseOrderOfSimultaneousStackEntry(MagicStack.java:968)
at forge.MagicStack.chooseOrderOfSimultaneousStackEntryAll(MagicStack.java:917)
at forge.Phase.setPriority(Phase.java:67)
at forge.Phase.resetPriority(Phase.java:74)
at forge.Phase.handleBeginPhase(Phase.java:298)
at forge.gui.input.InputControl.updateInput(InputControl.java:97)
at forge.GuiInput.update(GuiInput.java:21)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.MyObservable.updateObservers(MyObservable.java:9)
at forge.Phase.nextPhase(Phase.java:375)
at forge.Phase.nextPhase(Phase.java:378)
at forge.Phase.nextPhase(Phase.java:378)
at forge.GuiDisplay4$28.actionPerformed(GuiDisplay4.java:769)
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.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(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.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(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.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)
Looked a bit closer during the next combat round. I get a window where it asks which effect to put on the stack first. There are 2 creatures attacking and 2 Caltrops, so there are 4 triggers to choose from. After picking the first trigger the error pops up. After closing the error the window is also closed and no triggers can be selected to put onto the stack.
During the next match i had 1 Caltrops in play, then there are no problems when i get attacked by 2 creatures. I play another Caltrops and it still works like it should. Now there is no error when i place triggers onto the stack
I don't know what caused the error, since now it works correctly. Maybe the kicked Skitter of Lizards caused it?
It also seems the computer ignores the Caltrops in play and just attacks when you have nothing to defend, even when the attacker has only 1 defense.