Bug Reports (snapshot builds)
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Bug Reports (snapshot builds)
by Hanmac » 14 Sep 2014, 03:59
Apocalypse Hydra with Animar, Soul of Elements
on the field ... the counter that are set on the Hydra is always 0, even if the cost are not reduced that much
Example: Animar has 3 +1/+1
Apocalyse Hydra is cast with (X=5) =>
and should enter the battlefield with 10 +1/+1 but does enter the it with 0
i also tested it with http://www.krazyweb.net/forge/forge-gui-desktop-1.5.28-SNAPSHOT-r27366.tar.bz2
on the field ... the counter that are set on the Hydra is always 0, even if the cost are not reduced that much
Example: Animar has 3 +1/+1
Apocalyse Hydra is cast with (X=5) =>



i also tested it with http://www.krazyweb.net/forge/forge-gui-desktop-1.5.28-SNAPSHOT-r27366.tar.bz2
Re: Bug Reports (snapshot builds)
by Agetian » 14 Sep 2014, 04:05
Description: Got this NPE when entering the deck editor - r23768.
- NullPointerException | Open
- Code: Select all
java.lang.NullPointerException
at forge.game.card.Card.abilityTextInstantSorcery(Card.java:2465)
at forge.game.card.Card.getAbilityText(Card.java:2337)
at forge.game.card.Card.getText(Card.java:1910)
at forge.card.CardDetailUtil.composeCardText(CardDetailUtil.java:240)
at forge.gui.CardDetailPanel.setCard(CardDetailPanel.java:251)
at forge.screens.match.controllers.CDetail.showCard(CDetail.java:53)
at forge.screens.match.controllers.CDetail.showCard(CDetail.java:61)
at forge.screens.deckeditor.CDeckEditorUI.setCard(CDeckEditorUI.java:70)
at forge.screens.deckeditor.CDeckEditorUI$8.valueChanged(CDeckEditorUI.java:258)
at forge.itemmanager.views.ItemView.onSelectionChange(ItemView.java:256)
at forge.itemmanager.views.ItemListView$ItemTableModel$2.focusGained(ItemListView.java:578)
at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:220)
at java.awt.Component.processFocusEvent(Component.java:6394)
at java.awt.Component.processEvent(Component.java:6261)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1895)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:938)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:570)
at java.awt.Component.dispatchEventImpl(Component.java:4731)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at sun.awt.SunToolkit$1.run(SunToolkit.java:507)
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)
Last edited by Agetian on 14 Sep 2014, 04:21, edited 1 time in total.
- Agetian
- Programmer
- Posts: 3486
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 569 times
Re: Bug Reports (snapshot builds)
by KrazyTheFox » 14 Sep 2014, 04:08
That looks like it's my fault. I've just gone to bed but I'll try and get it fixed earlier tomorrow.Agetian wrote:Description: Got this NPE when entering the deck editor.- Agetian
- NullPointerException | Open
- Code: Select all
java.lang.NullPointerException
at forge.game.card.Card.abilityTextInstantSorcery(Card.java:2465)
at forge.game.card.Card.getAbilityText(Card.java:2337)
at forge.game.card.Card.getText(Card.java:1910)
at forge.card.CardDetailUtil.composeCardText(CardDetailUtil.java:240)
at forge.gui.CardDetailPanel.setCard(CardDetailPanel.java:251)
at forge.screens.match.controllers.CDetail.showCard(CDetail.java:53)
at forge.screens.match.controllers.CDetail.showCard(CDetail.java:61)
at forge.screens.deckeditor.CDeckEditorUI.setCard(CDeckEditorUI.java:70)
at forge.screens.deckeditor.CDeckEditorUI$8.valueChanged(CDeckEditorUI.java:258)
at forge.itemmanager.views.ItemView.onSelectionChange(ItemView.java:256)
at forge.itemmanager.views.ItemListView$ItemTableModel$2.focusGained(ItemListView.java:578)
at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:220)
at java.awt.Component.processFocusEvent(Component.java:6394)
at java.awt.Component.processEvent(Component.java:6261)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1895)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:938)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:570)
at java.awt.Component.dispatchEventImpl(Component.java:4731)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at sun.awt.SunToolkit$1.run(SunToolkit.java:507)
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)
-
KrazyTheFox - Programmer
- Posts: 725
- Joined: 18 Mar 2014, 23:51
- Has thanked: 66 times
- Been thanked: 226 times
Re: Bug Reports (snapshot builds)
by Agetian » 14 Sep 2014, 04:23
No worries, I fixed it. Thanks for the improvements to the visual layout of card info, btw, looks nice!KrazyTheFox wrote:That looks like it's my fault. I've just gone to bed but I'll try and get it fixed earlier tomorrow.Agetian wrote:Description: Got this NPE when entering the deck editor.- Agetian
- NullPointerException | Open
- Code: Select all
java.lang.NullPointerException
at forge.game.card.Card.abilityTextInstantSorcery(Card.java:2465)
at forge.game.card.Card.getAbilityText(Card.java:2337)
at forge.game.card.Card.getText(Card.java:1910)
at forge.card.CardDetailUtil.composeCardText(CardDetailUtil.java:240)
at forge.gui.CardDetailPanel.setCard(CardDetailPanel.java:251)
at forge.screens.match.controllers.CDetail.showCard(CDetail.java:53)
at forge.screens.match.controllers.CDetail.showCard(CDetail.java:61)
at forge.screens.deckeditor.CDeckEditorUI.setCard(CDeckEditorUI.java:70)
at forge.screens.deckeditor.CDeckEditorUI$8.valueChanged(CDeckEditorUI.java:258)
at forge.itemmanager.views.ItemView.onSelectionChange(ItemView.java:256)
at forge.itemmanager.views.ItemListView$ItemTableModel$2.focusGained(ItemListView.java:578)
at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:220)
at java.awt.Component.processFocusEvent(Component.java:6394)
at java.awt.Component.processEvent(Component.java:6261)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1895)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:938)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:570)
at java.awt.Component.dispatchEventImpl(Component.java:4731)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at sun.awt.SunToolkit$1.run(SunToolkit.java:507)
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)

- Agetian
- Agetian
- Programmer
- Posts: 3486
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 569 times
Re: Bug Reports (snapshot builds)
by excessum » 14 Sep 2014, 14:07
Got this crash with r27385. It was the start of the AI's turn and it only had a bunch of lands on the board.
- NullPointerException | Open
- Code: Select all
Forge Version: SVN
Operating System: Windows 7 6.1 amd64
Java Version: 1.8.0_20 Oracle Corporation
java.lang.NullPointerException
at forge.game.spellability.SpellAbilityRestriction.checkZoneRestrictions(SpellAbilityRestriction.java:200)
at forge.game.spellability.AbilityActivated.isPossible(AbilityActivated.java:126)
at forge.ai.ComputerUtilMana$ManaProducingCard.<init>(ComputerUtilMana.java:115)
at forge.ai.ComputerUtilMana.sortManaAbilities(ComputerUtilMana.java:139)
at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:357)
at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:50)
at forge.ai.PlayerControllerAi.payManaCost(PlayerControllerAi.java:798)
at forge.game.player.PlayerController.payManaCost(PlayerController.java:274)
at forge.game.cost.CostPartMana.payAsDecided(CostPartMana.java:133)
at forge.game.cost.CostPayment.payComputerCosts(CostPayment.java:176)
at forge.ai.ComputerUtil.handlePlayingSpellAbility(ComputerUtil.java:104)
at forge.ai.PlayerControllerAi.playChosenSpellAbility(PlayerControllerAi.java:425)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1020)
at forge.game.GameAction.startGame(GameAction.java:1559)
at forge.game.Match.startGame(Match.java:81)
at forge.control.FControl$4.run(FControl.java:450)
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)
by drdev » 14 Sep 2014, 14:28
I've added a null check (r27386) to hopefully prevent this crash going forward. I'm not really sure why activator could be null in that function though.excessum wrote:Got this crash with r27385. It was the start of the AI's turn and it only had a bunch of lands on the board.
- NullPointerException | Open
- Code: Select all
Forge Version: SVN
Operating System: Windows 7 6.1 amd64
Java Version: 1.8.0_20 Oracle Corporation
java.lang.NullPointerException
at forge.game.spellability.SpellAbilityRestriction.checkZoneRestrictions(SpellAbilityRestriction.java:200)
at forge.game.spellability.AbilityActivated.isPossible(AbilityActivated.java:126)
at forge.ai.ComputerUtilMana$ManaProducingCard.<init>(ComputerUtilMana.java:115)
at forge.ai.ComputerUtilMana.sortManaAbilities(ComputerUtilMana.java:139)
at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:357)
at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:50)
at forge.ai.PlayerControllerAi.payManaCost(PlayerControllerAi.java:798)
at forge.game.player.PlayerController.payManaCost(PlayerController.java:274)
at forge.game.cost.CostPartMana.payAsDecided(CostPartMana.java:133)
at forge.game.cost.CostPayment.payComputerCosts(CostPayment.java:176)
at forge.ai.ComputerUtil.handlePlayingSpellAbility(ComputerUtil.java:104)
at forge.ai.PlayerControllerAi.playChosenSpellAbility(PlayerControllerAi.java:425)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1020)
at forge.game.GameAction.startGame(GameAction.java:1559)
at forge.game.Match.startGame(Match.java:81)
at forge.control.FControl$4.run(FControl.java:450)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Re: Bug Reports (snapshot builds)
by cc-drake » 15 Sep 2014, 05:54
Since there are many changes at mana payment at the moment, I want to report an exception coming up again and again, but isn't reproducible at all. I use a deck containing Kaleidostone and Crystal Quarry, trying to cast Maelstrom Archangel or activate Door to Nothingness.
Usually I announce the spell (click on the card), then click on Kaleidostone (or Quarry), then Auto-pay the
by hitting enter, then confirm the sacrifice of Kaleidostone (if used) by hitting enter. For the Door to Nothingness, I have to use another Kaleidostone (or Quarry). Usually, everything works, but in approximately every 20th time, I get the following exception:
Usually I announce the spell (click on the card), then click on Kaleidostone (or Quarry), then Auto-pay the

- RuntimeException | Open
- Code: Select all
Forge Version: 1.5.28-SNAPSHOT-r-1u
Operating System: Windows 8.1 6.3 x86
Java Version: 1.7.0_67 Oracle Corporation
java.lang.RuntimeException: Cannot remove input InputPayManaOfCostPayment because it's not on top of stack. Stack = []
at forge.match.input.InputQueue.removeInput(InputQueue.java:54)
at forge.match.input.InputSyncronizedBase.stop(InputSyncronizedBase.java:49)
at forge.match.input.InputPayMana.onStateChanged(InputPayMana.java:412)
at forge.match.input.InputPayMana.showMessage(InputPayMana.java:406)
at forge.match.input.InputBase.showMessageInitial(InputBase.java:99)
at forge.match.input.InputProxy$2.run(InputProxy.java:92)
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)
by cc-drake » 15 Sep 2014, 06:04
Oh, just another bug report about mana payment: I can use Lion's Eye Diamond to cast spells by using the Auto payment.
Re: Bug Reports (snapshot builds)
by excessum » 15 Sep 2014, 12:31
Looks like a related crash from r27409.drdev wrote:I've added a null check (r27386) to hopefully prevent this crash going forward. I'm not really sure why activator could be null in that function though.
- NullPointerException | Open
- Code: Select all
Forge Version: SVN
Operating System: Windows 7 6.1 amd64
Java Version: 1.8.0_20 Oracle Corporation
java.lang.NullPointerException
at forge.game.spellability.SpellAbilityRestriction.checkActivatorRestrictions(SpellAbilityRestriction.java:283)
at forge.game.spellability.AbilityActivated.isPossible(AbilityActivated.java:127)
at forge.ai.ComputerUtilMana$ManaProducingCard.<init>(ComputerUtilMana.java:115)
at forge.ai.ComputerUtilMana.sortManaAbilities(ComputerUtilMana.java:139)
at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:360)
at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:50)
at forge.ai.PlayerControllerAi.payManaCost(PlayerControllerAi.java:798)
at forge.game.player.PlayerController.payManaCost(PlayerController.java:275)
at forge.game.cost.CostPartMana.payAsDecided(CostPartMana.java:133)
at forge.game.cost.CostPayment.payComputerCosts(CostPayment.java:175)
at forge.ai.ComputerUtil.handlePlayingSpellAbility(ComputerUtil.java:104)
at forge.ai.PlayerControllerAi.playChosenSpellAbility(PlayerControllerAi.java:425)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1023)
at forge.game.GameAction.startGame(GameAction.java:1559)
at forge.game.Match.startGame(Match.java:81)
at forge.control.FControl$4.run(FControl.java:498)
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)
by cc-drake » 15 Sep 2014, 15:32
Another bug about undoing mana payment:
I try to bestow Chromanticore and tap a Crystal Quarry. Now I'm asked to pay
and I use auto pay which automatically taps my Cloudpost's. Now I'm asked to pay the remaining
. When I cancel the spell, my Cloudpost's will remain tapped, but the mana is gone. Even the Undo option won't untap the Cloudpost's.
I try to bestow Chromanticore and tap a Crystal Quarry. Now I'm asked to pay


Re: Bug Reports (snapshot builds)
by cc-drake » 15 Sep 2014, 16:19
I just won a draft of "Portal Second Age" (PO2) in quest mode and am asked to select a rare as price. When I scroll down and reach Norwood Priestess, I get the following exception. Seems as if Piracy is missing.
- NullPointerException | Open
- Code: Select all
Forge Version: 1.5.28-SNAPSHOT-r-1u
Operating System: Windows 8.1 6.3 x86
Java Version: 1.7.0_67 Oracle Corporation
java.lang.NullPointerException
at forge.game.card.CardFactory.getCard(CardFactory.java:232)
at forge.game.card.CardFactory.getCard(CardFactory.java:228)
at forge.game.card.Card.fromPaperCard(Card.java:9114)
at forge.game.card.Card.getCardForUi(Card.java:9127)
at forge.gui.CardListChooser$SelListener.valueChanged(CardListChooser.java:175)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
at javax.swing.DefaultListSelectionModel.setSelectionInterval(Unknown Source)
at javax.swing.JList.setSelectedIndex(Unknown Source)
at javax.swing.plaf.basic.BasicListUI$Actions.changeSelection(Unknown Source)
at javax.swing.plaf.basic.BasicListUI$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.pumpEventsForFilter(Unknown Source)
at java.awt.WaitDispatchSupport$2.run(Unknown Source)
at java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at forge.view.FDialog.setVisible(FDialog.java:160)
at forge.screens.home.quest.CSubmenuQuestDraft.endTournamentAndAwardPrizes(CSubmenuQuestDraft.java:215)
at forge.screens.home.quest.CSubmenuQuestDraft.access$300(CSubmenuQuestDraft.java:52)
at forge.screens.home.quest.CSubmenuQuestDraft$4.run(CSubmenuQuestDraft.java:84)
at forge.toolbox.FLabel._doMouseAction(FLabel.java:291)
at forge.toolbox.FLabel.access$1300(FLabel.java:35)
at forge.toolbox.FLabel$6.onLeftClick(FLabel.java:329)
at forge.toolbox.FMouseAdapter.mouseReleased(FMouseAdapter.java:245)
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)
by Agetian » 15 Sep 2014, 19:06
A report most likely related to the GUI refactoring (r27413) - I can't be sure that it's caused exactly by the new code but it might be, at least I haven't noticed this behavior before: when I cast Ponder and the dual listbox appears showing the list of cards to put into the library in the given order, clicking on the cards does not update the card picture or the card detail box in order to show which card it is (most likely some kind of an event doesn't fire). Interestingly, this works correctly for e.g. Scry 3 ability of Prognostic Sphinx, but not for the ability of Ponder. :\
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3486
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 569 times
Re: Bug Reports (snapshot builds)
by elcnesh » 15 Sep 2014, 19:31
Refactoring indeed - fixed in r27414Agetian wrote:A report most likely related to the GUI refactoring (r27413) - I can't be sure that it's caused exactly by the new code but it might be, at least I haven't noticed this behavior before: when I cast Ponder and the dual listbox appears showing the list of cards to put into the library in the given order, clicking on the cards does not update the card picture or the card detail box in order to show which card it is (most likely some kind of an event doesn't fire). Interestingly, this works correctly for e.g. Scry 3 ability of Prognostic Sphinx, but not for the ability of Ponder. :\

- elcnesh
- Posts: 290
- Joined: 16 May 2014, 15:11
- Location: Netherlands
- Has thanked: 34 times
- Been thanked: 92 times
Re: Bug Reports (snapshot builds)
by Marek14 » 15 Sep 2014, 20:04
Well, Piracy IS one of the missing cards...cc-drake wrote:I just won a draft of "Portal Second Age" (PO2) in quest mode and am asked to select a rare as price. When I scroll down and reach Norwood Priestess, I get the following exception. Seems as if Piracy is missing.
- NullPointerException | Open
- Code: Select all
Forge Version: 1.5.28-SNAPSHOT-r-1u
Operating System: Windows 8.1 6.3 x86
Java Version: 1.7.0_67 Oracle Corporation
java.lang.NullPointerException
at forge.game.card.CardFactory.getCard(CardFactory.java:232)
at forge.game.card.CardFactory.getCard(CardFactory.java:228)
at forge.game.card.Card.fromPaperCard(Card.java:9114)
at forge.game.card.Card.getCardForUi(Card.java:9127)
at forge.gui.CardListChooser$SelListener.valueChanged(CardListChooser.java:175)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
at javax.swing.DefaultListSelectionModel.setSelectionInterval(Unknown Source)
at javax.swing.JList.setSelectedIndex(Unknown Source)
at javax.swing.plaf.basic.BasicListUI$Actions.changeSelection(Unknown Source)
at javax.swing.plaf.basic.BasicListUI$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.pumpEventsForFilter(Unknown Source)
at java.awt.WaitDispatchSupport$2.run(Unknown Source)
at java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at forge.view.FDialog.setVisible(FDialog.java:160)
at forge.screens.home.quest.CSubmenuQuestDraft.endTournamentAndAwardPrizes(CSubmenuQuestDraft.java:215)
at forge.screens.home.quest.CSubmenuQuestDraft.access$300(CSubmenuQuestDraft.java:52)
at forge.screens.home.quest.CSubmenuQuestDraft$4.run(CSubmenuQuestDraft.java:84)
at forge.toolbox.FLabel._doMouseAction(FLabel.java:291)
at forge.toolbox.FLabel.access$1300(FLabel.java:35)
at forge.toolbox.FLabel$6.onLeftClick(FLabel.java:329)
at forge.toolbox.FMouseAdapter.mouseReleased(FMouseAdapter.java:245)
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)
by Fizanko » 15 Sep 2014, 20:05
Ran into an error with the medium ai "Endora"
It was doing a lot of card movement at the time (i was hearing a lot of card sound effects)
It was doing a lot of card movement at the time (i was hearing a lot of card sound effects)
- NullPointerException | Open
- Code: Select all
Forge Version: 1.5.28-SNAPSHOT-r27348
Operating System: Windows XP 5.1 x86
Java Version: 1.7.0_10 Oracle Corporation
java.lang.NullPointerException
at forge.game.spellability.SpellAbilityRestriction.checkZoneRestrictions(SpellAbilityRestriction.java:200)
at forge.game.spellability.AbilityActivated.isPossible(AbilityActivated.java:126)
at forge.ai.ComputerUtilMana$ManaProducingCard.<init>(ComputerUtilMana.java:115)
at forge.ai.ComputerUtilMana.sortManaAbilities(ComputerUtilMana.java:139)
at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:357)
at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:50)
at forge.ai.PlayerControllerAi.payManaCost(PlayerControllerAi.java:798)
at forge.game.player.PlayerController.payManaCost(PlayerController.java:274)
at forge.game.cost.CostPartMana.payAsDecided(CostPartMana.java:133)
at forge.game.cost.CostPayment.payComputerCosts(CostPayment.java:176)
at forge.ai.ComputerUtil.handlePlayingSpellAbility(ComputerUtil.java:104)
at forge.ai.PlayerControllerAi.playChosenSpellAbility(PlayerControllerAi.java:425)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1020)
at forge.game.GameAction.startGame(GameAction.java:1559)
at forge.game.Match.startGame(Match.java:81)
at forge.control.FControl$4.run(FControl.java:447)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
probably outdated by now so you should avoid : Innistrad world for Forge (updated 17/11/2014)
Duel Decks for Forge - Forge custom decks (updated 25/10/2014)
Duel Decks for Forge - Forge custom decks (updated 25/10/2014)
Who is online
Users browsing this forum: No registered users and 17 guests