It is currently 14 Sep 2025, 04:21
   
Text Size

Bug Reports (snapshot builds)

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Bug Reports (snapshot builds)

Postby Salmiaka » 08 May 2013, 00:32

Stoneforge Mystic 's arrival on the battlefield triggers its ability, I could look into my library, but I couldn't validate any choice.

Same problem with " Entomb ", maybe it's the look into the library.
Salmiaka
 
Posts: 20
Joined: 07 May 2013, 00:55
Has thanked: 4 times
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Jak » 08 May 2013, 05:27

Same problem, but with Evolving Wilds. Could look at library but not choose a basic land, because the "Ok" button was not clickable.

This exception popped up after clicking on cancel:
ClassCastException | Open
Code: Select all
Forge Version:    1.3.16-SNAPSHOT-r21372
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_09 Oracle Corporation

java.lang.ClassCastException: forge.gui.ListChooser$2 cannot be cast to forge.Card
   at forge.card.ability.effects.ChangeZoneEffect.changeHiddenOriginResolveHuman(ChangeZoneEffect.java:759)
   at forge.card.ability.effects.ChangeZoneEffect.changeHiddenOriginResolve(ChangeZoneEffect.java:601)
   at forge.card.ability.effects.ChangeZoneEffect.resolve(ChangeZoneEffect.java:355)
   at forge.card.ability.AbilityApiBased.resolve(AbilityApiBased.java:62)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1060)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1039)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:618)
   at forge.game.phase.PhaseHandler$1.run(PhaseHandler.java:743)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:751)
   at forge.game.player.PlayerController.passPriority(PlayerController.java:82)
   at forge.game.ai.AiController.onPriorityRecieved(AiController.java:831)
   at forge.game.ai.AiInputCommon$1.run(AiInputCommon.java:74)
   at forge.FThreads$1.run(FThreads.java:113)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Jak
 
Posts: 23
Joined: 23 Mar 2011, 07:37
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Max mtg » 08 May 2013, 09:15

both (though it's the same issue) fixed yesterday after snapshot release.
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Bug Reports (snapshot builds)

Postby Salmiaka » 09 May 2013, 03:37

Hello :

Description: [Recycling a card enchanted with Wheel of Sun and Moon ]

IndexOutOfBoundsException | Open
Code: Select all
Forge Version:    1.3.16-SNAPSHOT-r21372
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_09 Oracle Corporation

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
   at java.util.ArrayList.rangeCheck(Unknown Source)
   at java.util.ArrayList.get(Unknown Source)
   at forge.card.ability.effects.ChangeZoneEffect.changeHiddenOriginResolveHuman(ChangeZoneEffect.java:899)
   at forge.card.ability.effects.ChangeZoneEffect.changeHiddenOriginResolve(ChangeZoneEffect.java:601)
   at forge.card.ability.effects.ChangeZoneEffect.resolve(ChangeZoneEffect.java:355)
   at forge.card.ability.AbilityApiBased.resolve(AbilityApiBased.java:62)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1060)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1039)
   at forge.card.spellability.HumanPlaySpellAbility.fillRequirements(HumanPlaySpellAbility.java:107)
   at forge.game.player.HumanPlayer.playSpellAbilityNoStack(HumanPlayer.java:172)
   at forge.game.player.HumanPlayer.playSpellAbilityNoStack(HumanPlayer.java:164)
   at forge.card.replacement.ReplacementHandler.executeReplacement(ReplacementHandler.java:243)
   at forge.card.replacement.ReplacementHandler.run(ReplacementHandler.java:151)
   at forge.card.replacement.ReplacementHandler.run(ReplacementHandler.java:75)
   at forge.game.GameAction.changeZone(GameAction.java:178)
   at forge.game.GameAction.moveTo(GameAction.java:366)
   at forge.game.GameAction.moveTo(GameAction.java:347)
   at forge.game.GameAction.moveToGraveyard(GameAction.java:473)
   at forge.game.player.Player.discard(Player.java:1629)
   at forge.card.cost.CostDiscard.doPayment(CostDiscard.java:291)
   at forge.card.cost.CostPartWithList.executePayment(CostPartWithList.java:97)
   at forge.card.cost.CostDiscard.payHuman(CostDiscard.java:168)
   at forge.card.cost.CostPayment.payCost(CostPayment.java:111)
   at forge.card.spellability.HumanPlaySpellAbility.fillRequirements(HumanPlaySpellAbility.java:97)
   at forge.game.player.HumanPlayer.playSpellAbility(HumanPlayer.java:142)
   at forge.game.player.HumanPlayer.playSpellAbility(HumanPlayer.java:85)
   at forge.control.input.InputPassPriority$1.run(InputPassPriority.java:89)
   at forge.FThreads$1.run(FThreads.java:113)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Salmiaka
 
Posts: 20
Joined: 07 May 2013, 00:55
Has thanked: 4 times
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Sloth » 09 May 2013, 06:57

Diogenes wrote:If you pair Geist of Saint Traft 's angel with any Soulbond creature, the creature that gives Soulbond doesn't unpair when the token is exiled.
Fixed! Thanks Diogenes.

swordshine wrote:r21271, when AI's Jugan, the Rising Star dies, AI distributes infinite counters.
Fixed! Thanks swordshine.

Pux wrote:Description: It happened during M2. The AI probably wanted to play Root-Kin Ally.
Convoke is fixed (the AI will no longer try to use it)! Thanks Pux.

slowe wrote:AI's The Abyss triggers on my upkeep and I Unsummon my only creature. I am unable to proceed past the prompt to choose a target for The Abyss's ability.
Fixed! Thanks slowe.

Hanmac wrote:Bugs:
  • Scion of Vitu-Ghazi
    Forge says that the card has Flying, but only the Token generated with this card has.
  • Renegade Krasis
    When its Evolves it adds an Counter and then later an counter on all other creature with +1/+1 counter, but in Forge it adds to an Counter to itself too.

Dumb AI:
  • Tavern Swindler
    the AI wants to pay 3Live points when it only has 3, its possible but the AI should avoid that
These are fixed! Thanks Hanmac.

ChaossssMark wrote:Description: I'm not sure what just happened. The error report mentions "Charm", so I'm guessing that it is possible that the AI tried to cast Dimir Charm and made this...
Fixed! Thanks ChaossssMark.

Arclight wrote:Description: [Sigil of Sleep was in my graveyard. I played an Iridescent Drake (which has the effect of automatically attaching an aura from your graveyard to it), when prompted of which aura to attach, I select Sigil of Sleep and then received the bug error.]
Fixed! Thanks Arclight.

Salmiaka wrote:Description: [Recycling a card enchanted with Wheel of Sun and Moon ]
Fixed! Thanks Salmiaka.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Bug Reports (snapshot builds)

Postby Jak » 09 May 2013, 07:15

Problem with the card Yosei, the Morning Star
The AI had it in play, I played a Cryptic Command and targeted Yosei to put it back in his hand and then the ability of Yosei triggered as it was put into the graveyard. :?

General bug report | Open
Code: Select all
Forge Version:    1.3.16-SNAPSHOT-r21394
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_09 Oracle Corporation
Jak
 
Posts: 23
Joined: 23 Mar 2011, 07:37
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Murujan » 09 May 2013, 20:18

From the 1.3.15 beta thread :
Murujan wrote:Problem : Phasing out Phyrexian Dreadnought with either Vision Charm or Reality Ripple in response to its "Sacrifice X" ability ends up in a crash when the ability resolves : The dreadnought is targetable (when it shouldn't be a valid target) therefore you have no other option than choosing it, then it crashes.
Max mtg wrote:@Mirujan, Phyrexian Dreadnought was fixed yesterday. Get yourself either a fresh snapshot (today's is fine) or the next beta when it's out.
The part where it crashes is fixed indeed, but it still end up with the Phyrexian Dreadnought being sacrificed when it shouldn't be (due to being phased out).
Murujan
 
Posts: 3
Joined: 09 May 2013, 13:06
Has thanked: 2 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby swordshine » 10 May 2013, 14:55

r21421, ability Delve seems broken.
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Bug Report

Postby JaeKill » 11 May 2013, 00:21

Description: [describe what you were doing when the crash occurred]

NullPointerException | Open
Code: Select all
Forge Version:    1.3.16-SNAPSHOT-r21414
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_17 Oracle Corporation

java.lang.NullPointerException
   at forge.gui.match.VMatchUI.populate(VMatchUI.java:114)
   at forge.control.FControl.changeState(FControl.java:218)
   at forge.game.MatchController.attachUiToMatch(MatchController.java:191)
   at forge.game.MatchController.startRound(MatchController.java:146)
   at forge.gui.home.quest.SSubmenuQuestUtil$3.run(SSubmenuQuestUtil.java:426)
   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)
JaeKill
 
Posts: 7
Joined: 11 May 2013, 00:17
Has thanked: 2 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Fetenbier » 11 May 2013, 03:49

Description: [Cpu vs Human - he lose game after use a creature spell with 1 life and he lose for creatures that comes onto battlefield 1 life] :roll:


I had Blood Seeker onto field and he casts a Squirrel with 1 life = crash :shock:


NullPointerException | Open
Code: Select all
Forge Version:    1.3.13-SNAPSHOT-r20997
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_17 Oracle Corporation

java.lang.NullPointerException
   at forge.card.cardfactory.CardFactoryUtil.xCount(CardFactoryUtil.java:1382)
   at forge.card.ability.AbilityUtils.xCount(AbilityUtils.java:1230)
   at forge.card.ability.AbilityUtils.calculateAmount(AbilityUtils.java:350)
   at forge.card.staticability.StaticAbility.checkConditions(StaticAbility.java:559)
   at forge.card.staticability.StaticAbility.applyAbility(StaticAbility.java:239)
   at forge.game.GameAction.checkStaticAbilities(GameAction.java:887)
   at forge.card.trigger.TriggerHandler.runWaitingTriggers(TriggerHandler.java:184)
   at forge.game.zone.MagicStack.unfreezeStack(MagicStack.java:201)
   at forge.game.GameAction.checkStateEffects(GameAction.java:1079)
   at forge.game.zone.MagicStack.finishResolving(MagicStack.java:736)
   at forge.card.ability.AbilityUtils.resolveSubAbilities(AbilityUtils.java:1058)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1076)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1049)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:615)
   at forge.game.phase.PhaseHandler$1.run(PhaseHandler.java:741)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:749)
   at forge.game.player.PlayerController.passPriority(PlayerController.java:77)
   at forge.game.ai.AiController.onPriorityRecieved(AiController.java:821)
   at forge.game.ai.AiInputCommon$1.run(AiInputCommon.java:74)
   at forge.FThreads$1.run(FThreads.java:113)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Description: [describe what you were doing when the crash occurred]

IllegalArgumentException | Open
Code: Select all
Forge Version:    1.3.13-SNAPSHOT-r20997
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_17 Oracle Corporation

java.lang.IllegalArgumentException: illegal component position
   at java.awt.Container.addImpl(Unknown Source)
   at java.awt.Container.add(Unknown Source)
   at forge.gui.framework.DragCell.addDoc(DragCell.java:278)
   at forge.gui.deckeditor.controllers.CEditorQuest.exit(CEditorQuest.java:318)
   at forge.control.FControl$4.windowClosing(FControl.java:140)
   at java.awt.Window.processWindowEvent(Unknown Source)
   at javax.swing.JFrame.processWindowEvent(Unknown Source)
   at java.awt.Window.processEvent(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)
Fetenbier
 
Posts: 6
Joined: 25 Apr 2013, 02:02
Has thanked: 3 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby swordshine » 11 May 2013, 08:53

Fetenbier wrote:Description: [Cpu vs Human - he lose game after use a creature spell with 1 life and he lose for creatures that comes onto battlefield 1 life] :roll:


I had Blood Seeker onto field and he casts a Squirrel with 1 life = crash :shock:


NullPointerException | Open
Code: Select all
Forge Version:    1.3.13-SNAPSHOT-r20997
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_17 Oracle Corporation

java.lang.NullPointerException
   at forge.card.cardfactory.CardFactoryUtil.xCount(CardFactoryUtil.java:1382)
   at forge.card.ability.AbilityUtils.xCount(AbilityUtils.java:1230)
   at forge.card.ability.AbilityUtils.calculateAmount(AbilityUtils.java:350)
   at forge.card.staticability.StaticAbility.checkConditions(StaticAbility.java:559)
   at forge.card.staticability.StaticAbility.applyAbility(StaticAbility.java:239)
   at forge.game.GameAction.checkStaticAbilities(GameAction.java:887)
   at forge.card.trigger.TriggerHandler.runWaitingTriggers(TriggerHandler.java:184)
   at forge.game.zone.MagicStack.unfreezeStack(MagicStack.java:201)
   at forge.game.GameAction.checkStateEffects(GameAction.java:1079)
   at forge.game.zone.MagicStack.finishResolving(MagicStack.java:736)
   at forge.card.ability.AbilityUtils.resolveSubAbilities(AbilityUtils.java:1058)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1076)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1049)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:615)
   at forge.game.phase.PhaseHandler$1.run(PhaseHandler.java:741)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:749)
   at forge.game.player.PlayerController.passPriority(PlayerController.java:77)
   at forge.game.ai.AiController.onPriorityRecieved(AiController.java:821)
   at forge.game.ai.AiInputCommon$1.run(AiInputCommon.java:74)
   at forge.FThreads$1.run(FThreads.java:113)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Description: [describe what you were doing when the crash occurred]

IllegalArgumentException | Open
Code: Select all
Forge Version:    1.3.13-SNAPSHOT-r20997
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_17 Oracle Corporation

java.lang.IllegalArgumentException: illegal component position
   at java.awt.Container.addImpl(Unknown Source)
   at java.awt.Container.add(Unknown Source)
   at forge.gui.framework.DragCell.addDoc(DragCell.java:278)
   at forge.gui.deckeditor.controllers.CEditorQuest.exit(CEditorQuest.java:318)
   at forge.control.FControl$4.windowClosing(FControl.java:140)
   at java.awt.Window.processWindowEvent(Unknown Source)
   at javax.swing.JFrame.processWindowEvent(Unknown Source)
   at java.awt.Window.processEvent(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)
Your version is outdated. Please download the daily snapshot:http://cardforge.org/releases/snapshots/forge/forge/1.3.16-SNAPSHOT/
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Bug Reports (snapshot builds)

Postby Pande » 11 May 2013, 09:59

The forum won't allow me to post exception reports. It claims it looks too spamy for a new user.

/shrug
Pande
 
Posts: 25
Joined: 12 Jun 2009, 23:38
Has thanked: 8 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Pande » 11 May 2013, 10:00

But now it does.

/shrug again

Description: Playing Assault/Battery with Chandra the Firebrand in play gave me this exception report

RuntimeException | Open
Code: Select all
Forge Version:    1.3.15-r21351
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_21 Oracle Corporation

java.lang.RuntimeException: Not found which part to choose for ability Assault deals 2 damage to target creature or player. from card Assault (195)
   at forge.Card.setSplitStateToPlayAbility(Card.java:8336)
   at forge.game.player.HumanPlayer.playSpellAbilityWithoutPayingManaCost(HumanPlayer.java:246)
   at forge.game.player.PlayerControllerHuman.playSpellAbilityForFree(PlayerControllerHuman.java:136)
   at forge.card.cardfactory.CardFactory.copySpellontoStack(CardFactory.java:206)
   at forge.card.ability.effects.CopySpellAbilityEffect.resolve(CopySpellAbilityEffect.java:118)
   at forge.card.ability.AbilityApiBased.resolve(AbilityApiBased.java:62)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1060)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1039)
   at forge.card.spellability.HumanPlaySpellAbility.fillRequirements(HumanPlaySpellAbility.java:107)
   at forge.game.player.HumanPlayer.playSpellAbilityNoStack(HumanPlayer.java:172)
   at forge.card.trigger.WrappedAbility.resolve(WrappedAbility.java:368)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1060)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1039)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:618)
   at forge.game.phase.PhaseHandler$1.run(PhaseHandler.java:743)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:751)
   at forge.game.player.PlayerController.passPriority(PlayerController.java:82)
   at forge.game.ai.AiController.onPriorityRecieved(AiController.java:829)
   at forge.game.ai.AiInputCommon$1.run(AiInputCommon.java:74)
   at forge.FThreads$1.run(FThreads.java:113)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Pande
 
Posts: 25
Joined: 12 Jun 2009, 23:38
Has thanked: 8 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Diogenes » 11 May 2013, 14:46

The AI played a Tablet of the Guilds, resulting in the following NPE when it had to choose colors:

NullPointerException | Open
Code: Select all
Forge Version:    1.3.16-SNAPSHOT-r21419
Operating System: Windows Vista 6.0 x86
Java Version:     1.7.0_21 Oracle Corporation

java.lang.NullPointerException
   at forge.game.ai.ComputerUtilCard.getColorByProminence(ComputerUtilCard.java:835)
   at forge.card.ability.effects.ChooseColorEffect.resolve(ChooseColorEffect.java:79)
   at forge.card.spellability.AbilitySub.resolve(AbilitySub.java:130)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1056)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1035)
   at forge.game.ai.ComputerUtil.playNoStack(ComputerUtil.java:314)
   at forge.card.replacement.ReplacementHandler.executeReplacement(ReplacementHandler.java:245)
   at forge.card.replacement.ReplacementHandler.run(ReplacementHandler.java:151)
   at forge.card.replacement.ReplacementHandler.run(ReplacementHandler.java:71)
   at forge.game.GameAction.changeZone(GameAction.java:178)
   at forge.game.GameAction.moveTo(GameAction.java:366)
   at forge.game.GameAction.moveTo(GameAction.java:347)
   at forge.game.GameAction.moveToPlay(GameAction.java:564)
   at forge.game.GameAction.moveTo(GameAction.java:730)
   at forge.game.GameAction.moveTo(GameAction.java:709)
   at forge.card.spellability.SpellPermanent.resolve(SpellPermanent.java:371)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:620)
   at forge.game.phase.PhaseHandler$1.run(PhaseHandler.java:744)
   at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:752)
   at forge.game.player.PlayerController.passPriority(PlayerController.java:82)
   at forge.control.input.InputBase$1.run(InputBase.java:74)
   at forge.FThreads$1.run(FThreads.java:115)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Diogenes
 
Posts: 201
Joined: 12 Jul 2012, 00:54
Has thanked: 39 times
Been thanked: 23 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 11 May 2013, 19:30

r21433

CopyPermanent does not fire static ETB abilities.

1. Bring a Spike Feeder into play.
2. Cast Cackling Counterpart on it.
3. Watch as nothing seems to happen.

I just noticed this with Prime Speaker Zegana not ETB with counters when testing Momir Basic stuff, but the above is an easier repro.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 29 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 29 users online :: 0 registered, 0 hidden and 29 guests (based on users active over the past 10 minutes)
Most users ever online was 7967 on 09 Sep 2025, 23:08

Users browsing this forum: No registered users and 29 guests

Login Form