Page 153 of 487

Re: Bug Reports (snapshot builds)

PostPosted: 21 Jul 2013, 08:50
by swordshine
:arrow: Infectious Rage is broken. ChangeZoneEffect.java line422 "final Zone originZone = game.getZoneOf(tgtC);" originZone is Battlefield and it should be Graveyard. I don't know how to fix it.

Edit: GameAuction.stateBasedAction704_5n line 963 "!perm.isInZone(tgtZone)" returns false. It seems the enchanting card is still thought to be on the battlefield.

After the ability of Infectious Rage triggers, the SBA checks again, and this card moves to the graveyard. GameAuction.stateBasedAction704_5n line 987

Re: Bug Reports (snapshot builds)

PostPosted: 21 Jul 2013, 14:13
by Bundy
Description: Crash during my attack, don't know why.
I attacked with Kuldotha Forgemaster, Wurmcoil Engine, Myr Battlesphere and Blightsteel Colossus.
The battlesphere was activated with 1 myr token.
Computer blocks the battlesphere with Ornithopter enchanted with Unflinching Courage.
Computer blocks Wurmcoil Engine with Tracker enchanted with Spider Umbra.

NullPointerException | Open
Code: Select all
Forge Version:    1.4.4-SNAPSHOT-r22587
Operating System: Windows 8 6.2 x86
Java Version:     1.7.0_25 Oracle Corporation

java.lang.NullPointerException
   at forge.card.ability.ai.DamageDealAi.doTriggerAINoCost(DamageDealAi.java:471)
   at forge.card.ability.SpellAbilityAi.doTriggerNoCostWithSubs(SpellAbilityAi.java:40)
   at forge.card.ability.SpellAbilityAi.doTriggerAI(SpellAbilityAi.java:35)
   at forge.card.ability.AbilityApiBased.doTrigger(AbilityApiBased.java:72)
   at forge.game.player.PlayerControllerAi.playSpellAbilityNoStack(PlayerControllerAi.java:271)
   at forge.card.replacement.ReplacementHandler.executeReplacement(ReplacementHandler.java:241)
   at forge.card.replacement.ReplacementHandler.run(ReplacementHandler.java:158)
   at forge.card.replacement.ReplacementHandler.run(ReplacementHandler.java:88)
   at forge.game.GameAction.destroyNoRegeneration(GameAction.java:1308)
   at forge.game.GameAction.destroy(GameAction.java:1278)
   at forge.Card.addDamageAfterPrevention(Card.java:7571)
   at forge.Card.addDamage(Card.java:7483)
   at forge.Card.addCombatDamage(Card.java:7068)
   at forge.game.combat.Combat.dealAssignedDamage(Combat.java:588)
   at forge.game.phase.PhaseHandler.onPhaseBegin(PhaseHandler.java:344)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:929)
   at forge.game.GameAction.startGame(GameAction.java:1506)
   at forge.game.Match$1.run(Match.java:109)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

Re: Bug Reports (snapshot builds)

PostPosted: 24 Jul 2013, 01:29
by xbon
r22674

Whirlpool Whelm does not give an option to return the target card to top of deck when you win clash.

Re: Bug Reports (snapshot builds)

PostPosted: 24 Jul 2013, 13:42
by PowerClaws
Scourge Of Valkas should have flying

Scourge Of Valkas | Open
Name:Scourge of Valkas
ManaCost:2 R R R
Types:Creature Dragon
PT:4/4
K:Flying
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME or another Dragon enters the battlefield under your control, it deals X damage to target creature or player, where X is the number of Dragons you control.
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Dragon.Other+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigDamage | Secondary$ True | TriggerDescription$ Whenever CARDNAME or another Dragon enters the battlefield under your control, it deals X damage to target creature or player, where X is the number of Dragons you control.
SVar:TrigDamage:AB$ DealDamage | Cost$ 0 | ValidTgts$ Creature,Player | NumDmg$ NumDragons | References$ NumDragons | TgtPrompt$ Select a target creature or player | DamageSource$ TriggeredCard
SVar:NumDragons:Count$Valid Dragon.YouCtrl
A:AB$ Pump | Cost$ R | NumAtt$ +1 | SpellDescription$ CARDNAME gets +1/+0 until end of turn.
SVar:PlayMain1:TRUE
SVar:BuffedBy:Dragon
SVar:Picture:http://www.wizards.com/global/images/magic/general/scourge_of_valkas.jpg
Oracle:Flying\nWhenever Scourge of Valkas or another Dragon enters the battlefield under your control, it deals X damage to target creature or player, where X is the number of Dragons you control.\n{R}: Scourge of Valkas gets +1/+0 until end of turn.

Re: Bug Reports (snapshot builds)

PostPosted: 28 Jul 2013, 01:25
by xbon
Description: Start Duel, Fully Random decks, AI Black, me Random 2.

RuntimeException | Open
Code: Select all
Forge Version:    r22682
Operating System: Windows 8 6.2 x86
Java Version:     1.7.0_25 Oracle Corporation

java.lang.RuntimeException: Generate2ColorDeck : get2ColorDeck -- looped too much -- Cr12
   at forge.deck.generate.GenerateColoredDeckBase.addSome(GenerateColoredDeckBase.java:112)
   at forge.deck.generate.GenerateColoredDeckBase.addCmcAdjusted(GenerateColoredDeckBase.java:228)
   at forge.deck.generate.GenerateColoredDeckBase.addCreaturesAndSpells(GenerateColoredDeckBase.java:92)
   at forge.deck.generate.GenerateMonoColorDeck.getDeck(GenerateMonoColorDeck.java:82)
   at forge.deck.DeckgenUtil.buildColorDeck(DeckgenUtil.java:78)
   at forge.gui.toolbox.special.FDeckChooser.getDeck(FDeckChooser.java:287)
   at forge.gui.home.sanctioned.CSubmenuConstructed.startGame(CSubmenuConstructed.java:101)
   at forge.gui.home.sanctioned.CSubmenuConstructed.access$3(CSubmenuConstructed.java:100)
   at forge.gui.home.sanctioned.CSubmenuConstructed$2.actionPerformed(CSubmenuConstructed.java:59)
   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$200(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)
Description: Pressed Continue to Next Game.

NullPointerException | Open
Code: Select all
Forge Version:    r22691
Operating System: Windows 8 6.2 x86
Java Version:     1.7.0_25 Oracle Corporation

java.lang.NullPointerException
   at forge.gui.framework.SDisplayUtil$2.run(SDisplayUtil.java:97)
   at forge.FThreads.invokeInEdtNowOrLater(FThreads.java:81)
   at forge.gui.framework.SDisplayUtil.showTab(SDisplayUtil.java:104)
   at forge.control.FControl.attachToGame(FControl.java:450)
   at forge.control.FControl.startGameWithUi(FControl.java:388)
   at forge.gui.match.ControlWinLose.actionOnContinue(ControlWinLose.java:82)
   at forge.gui.match.ControlWinLose$1.actionPerformed(ControlWinLose.java:51)
   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.AWTEventMulticaster.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.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(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)

Re: Bug Reports (snapshot builds)

PostPosted: 28 Jul 2013, 17:29
by Pux
Description: Paid 0 life for Vizkopa Confessor. It also crashes if the enemy doesn't have any cards in hand resulting in an empty NullPointerexception.


NullPointerException | Open
Code: Select all
Forge Version:    1.4.4-SNAPSHOT-r22675
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_25 Oracle Corporation

java.lang.NullPointerException
   at forge.game.Game.getCardState(Game.java:382)
   at forge.card.ability.AbilityUtils.getDefinedCards(AbilityUtils.java:205)
   at forge.card.ability.effects.ChangeZoneEffect.changeHiddenOriginResolveHuman(ChangeZoneEffect.java:670)
   at forge.card.ability.effects.ChangeZoneEffect.changeHiddenOriginResolve(ChangeZoneEffect.java:589)
   at forge.card.ability.effects.ChangeZoneEffect.resolve(ChangeZoneEffect.java:353)
   at forge.card.spellability.AbilitySub.resolve(AbilitySub.java:130)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1065)
   at forge.card.ability.AbilityUtils.resolveSubAbilities(AbilityUtils.java:1058)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1071)
   at forge.card.ability.AbilityUtils.resolveSubAbilities(AbilityUtils.java:1058)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1071)
   at forge.card.ability.AbilityUtils.resolveSubAbilities(AbilityUtils.java:1058)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1071)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1047)
   at forge.card.spellability.HumanPlaySpellAbility.playAbility(HumanPlaySpellAbility.java:87)
   at forge.game.player.HumanPlay.playSpellAbilityNoStack(HumanPlay.java:241)
   at forge.game.player.PlayerControllerHuman.playSpellAbilityNoStack(PlayerControllerHuman.java:129)
   at forge.card.trigger.WrappedAbility.resolve(WrappedAbility.java:355)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1065)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1047)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:526)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:962)
   at forge.game.GameAction.startGame(GameAction.java:1512)
   at forge.game.Match$1.run(Match.java:103)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

Re: Bug Reports (snapshot builds)

PostPosted: 28 Jul 2013, 21:32
by spr
xbon wrote:...Description: Pressed Continue to Next Game.
Confirm this is a repeatable error - see http://www.cardforge.org/bugz/view.php?id=721. I think Continue is broken. Period.

Cheers,
Steve

Re: Bug Reports (snapshot builds)

PostPosted: 28 Jul 2013, 22:07
by Max mtg
added null pointer check to prevent exceptions there

Re: Bug Reports (snapshot builds)

PostPosted: 29 Jul 2013, 08:49
by moomarc
r22697: The second game of a match is still very broken at the moment. The previous board state isn't cleared, nothing that was already on the stack clears, although it does still go through the motions of passing through phases. This occurs when continuing from first game to second and if restarting the match.

Re: Bug Reports (snapshot builds)

PostPosted: 29 Jul 2013, 10:05
by Bundy
Description: Computer has Razor Boomerang in play equipped to Citanul Woodreaders. I use Lux Cannon to destroy the boomerang. Citanul Woodreaders is tapped, so it was not used to activate the boomerang.

IllegalArgumentException | Open
Code: Select all
Forge Version:    1.4.4-SNAPSHOT-r22646
Operating System: Windows 8 6.2 x86
Java Version:     1.7.0_25 Oracle Corporation

java.lang.IllegalArgumentException: component and container should be in the same top-level window
   at java.awt.Container.checkAdding(Unknown Source)
   at java.awt.Container.setComponentZOrder(Unknown Source)
   at forge.view.arcane.PlayArea.positionAllCards(PlayArea.java:280)
   at forge.view.arcane.PlayArea.doLayout(PlayArea.java:254)
   at forge.view.arcane.PlayArea.recalculateCardPanels(PlayArea.java:553)
   at forge.view.arcane.PlayArea.setupPlayZone(PlayArea.java:510)
   at forge.gui.match.CMatchUI.updateZones(CMatchUI.java:335)
   at forge.control.FControlGameEventHandler$8.run(FControlGameEventHandler.java:201)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(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.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)

Re: Bug Reports (snapshot builds)

PostPosted: 29 Jul 2013, 12:14
by hakuren
Description: [describe what you were doing when the crash occurred]

UnsupportedOperationException | Open
Code: Select all
Forge Version:    1.4.4-SNAPSHOT-r22675
Operating System: Mac OS X 10.8.4 x86_64
Java Version:     1.7.0_25 Oracle Corporation

java.lang.UnsupportedOperationException: QuestWinLose > turn calculation error: Zero turn win
   at forge.gui.match.QuestWinLose.awardEventCredits(QuestWinLose.java:406)
   at forge.gui.match.QuestWinLose.populateCustomPanel(QuestWinLose.java:181)
   at forge.gui.match.ViewWinLose.<init>(ViewWinLose.java:133)
   at forge.control.FControlGameEventHandler$6.run(FControlGameEventHandler.java:169)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:694)
   at java.awt.EventQueue$3.run(EventQueue.java:692)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Re: Bug Reports (snapshot builds)

PostPosted: 29 Jul 2013, 12:18
by hakuren
Description: [describe what you were doing when the crash occurred]

UnsupportedOperationException | Open
Code: Select all
Forge Version:    1.4.4-SNAPSHOT-r22675
Operating System: Mac OS X 10.8.4 x86_64
Java Version:     1.7.0_25 Oracle Corporation

java.lang.UnsupportedOperationException: QuestWinLose > turn calculation error: Zero turn win
   at forge.gui.match.QuestWinLose.awardEventCredits(QuestWinLose.java:406)
   at forge.gui.match.QuestWinLose.populateCustomPanel(QuestWinLose.java:181)
   at forge.gui.match.ViewWinLose.<init>(ViewWinLose.java:133)
   at forge.control.FControlGameEventHandler$6.run(FControlGameEventHandler.java:169)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:694)
   at java.awt.EventQueue$3.run(EventQueue.java:692)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Re: Bug Reports (snapshot builds)

PostPosted: 29 Jul 2013, 14:16
by drdev
moomarc wrote:r22697: The second game of a match is still very broken at the moment. The previous board state isn't cleared, nothing that was already on the stack clears, although it does still go through the motions of passing through phases. This occurs when continuing from first game to second and if restarting the match.
I think I know what change I made that would have broken this. I'll fix it today.

Re: Bug Reports (snapshot builds)

PostPosted: 29 Jul 2013, 17:32
by xbon
r22698

Spellbinder allows you to pick an alternate cost for the instant spell casted; while it states in card rulings "You don't pay the spell's mana cost. If the spell has X in its mana cost, X is 0. You do pay any additional costs for that spell. You can't use any alternative costs."

for reference, card used was Lavaball Trap


annnd, wow, continue game is completely broken; as stated above.

Re: Bug Reports (snapshot builds)

PostPosted: 29 Jul 2013, 20:11
by Max mtg
drdev wrote:I think I know what change I made that would have broken this. I'll fix it today.
Must be that one: http://svn.slightlymagic.net/websvn/dif ... &peg=22682