It is currently 19 Jul 2025, 03:54
   
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 drdev » 05 Oct 2014, 01:44

Sorry guys. It's been hard to optimize the performance of this code without running into corner cases like these with stuff not updating based on race conditions.

I've actually started a somewhat more extensive refactoring with network support in mind, which will hopefully also resolve these issues. In the meantime I'll see if I can do something quick to fix the most annoying stuff even if it means a temporary performance hit.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby excessum » 05 Oct 2014, 02:09

Courser of Kruphix's ability is flaky. Sometimes nothing is shown when selecting "Cards in library", sometimes non-lands appear when selecting "Flashback cards" though they cannot be played and sometimes lands in "Flashback cards" cannot be played even if no lands have been played that turn.
excessum
 
Posts: 177
Joined: 21 Oct 2013, 02:30
Has thanked: 0 time
Been thanked: 19 times

Re: Bug Reports (snapshot builds)

Postby Marek14 » 05 Oct 2014, 05:58

I keep having problems with the log. I have it on the same panel with "Combat" tab and it doesn't update when visible -- I have to switch to Combat tab and back to see the changes.
Marek14
Tester
 
Posts: 2772
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 302 times

Re: Bug Reports (snapshot builds)

Postby fiend123 » 05 Oct 2014, 06:52

Had a crash when I tried to sacrifice Black Lotus to pay for Counterspell targeting AI's Troll Ascetic.

RuntimeException | Open
Code: Select all
Forge Version:    1.5.29-SNAPSHOT-r-1u
Operating System: Windows 7 6.1 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:58)
   at forge.match.input.InputSyncronizedBase.stop(InputSyncronizedBase.java:49)
   at forge.match.input.InputPayMana.onStateChanged(InputPayMana.java:414)
   at forge.match.input.InputPayMana.showMessage(InputPayMana.java:408)
   at forge.match.input.InputBase.showMessageInitial(InputBase.java:139)
   at forge.match.input.InputProxy$1.run(InputProxy.java:74)
   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)
Forge Version:forge-gui-desktop-1.5.29-SNAPSHOT-r27830.tar

Courser of Kruphix does not reveal the top card of the library if it is a land. As a result, I am unable to play lands from the top of my library. It does reveal non-land cards though.

Screenshot | Open
Image
fiend123
 
Posts: 70
Joined: 05 Mar 2012, 17:26
Has thanked: 2 times
Been thanked: 1 time

Re: Bug Reports (snapshot builds)

Postby kubiac470 » 05 Oct 2014, 12:39

Thanks for your works.....I love !

then,

With different version 1.5.29 and 1.5.28 when in commander I win with laboratory maniac...

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

ArrayIndexOutOfBoundsException | Open
Code: Select all
Forge Version:    1.5.29-SNAPSHOT-r-1u
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_67 Oracle Corporation

java.lang.ArrayIndexOutOfBoundsException: -1
   at java.util.ArrayList.elementData(Unknown Source)
   at java.util.ArrayList.get(Unknown Source)
   at java.util.Collections$UnmodifiableList.get(Unknown Source)
   at forge.game.player.Player.getRegisteredPlayer(Player.java:2982)
   at forge.achievement.ChallengeAchievements$DeckChallengeAchievement.eval(ChallengeAchievements.java:59)
   at forge.achievement.ProgressiveAchievement.evaluate(ProgressiveAchievement.java:26)
   at forge.achievement.Achievement.update(Achievement.java:157)
   at forge.achievement.AchievementCollection.updateAll(AchievementCollection.java:114)
   at forge.achievement.AchievementCollection$1.run(AchievementCollection.java:56)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
kubiac470
 
Posts: 25
Joined: 19 Sep 2012, 18:47
Has thanked: 8 times
Been thanked: 1 time

Re: Bug Reports (snapshot builds)

Postby Devilman06 » 05 Oct 2014, 15:24

using forge-gui-desktop-1.5.29-20141004.002010-1.tar Marath, will of the wild does not enter with +1/+1 counters if cast after the first time he dies and goes back to command zone
Devilman06
 
Posts: 127
Joined: 29 Jan 2010, 03:59
Has thanked: 1 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Sloth » 05 Oct 2014, 16:25

r27834: Got this crash when the AI attacked me in the Combat Damage step. I was able to continue playing though.

ConcurrentModificationException | Open
Code: Select all
Forge Version:    SVN
Operating System: Windows 7 6.1 amd64
Java Version:     1.8.0_11 Oracle Corporation

java.util.ConcurrentModificationException
   at java.util.TreeMap$PrivateEntryIterator.nextEntry(Unknown Source)
   at java.util.TreeMap$ValueIterator.next(Unknown Source)
   at forge.game.card.Card.getTotalAssignedDamage(Card.java:7578)
   at forge.view.ViewUtil.writeNonDependentCardViewProperties(ViewUtil.java:55)
   at forge.view.LocalGameView.writeCardToView(LocalGameView.java:478)
   at forge.view.LocalGameView.getCardView(LocalGameView.java:426)
   at forge.view.LocalGameView.getCardViews(LocalGameView.java:450)
   at forge.view.LocalGameView.writePlayerToView(LocalGameView.java:394)
   at forge.view.LocalGameView.updatePlayers(LocalGameView.java:346)
   at forge.control.FControlGameEventHandler$1.run(FControlGameEventHandler.java:99)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$400(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)
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 friarsol » 05 Oct 2014, 18:23

r27835

I think this might be related to all the UI changes of late, but just in case it isn't:

Goblin Guide's trigger reveal doesn't actually show me the card that was on top of my library when the AI attacks me with it.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Bug Reports (snapshot builds)

Postby drdev » 05 Oct 2014, 20:38

So I've decided to focus my efforts on my refactoring so I'll finish it sooner. Given we're at the start of a release, I'd like to finish it with plenty of time to test. Plus, the sooner it's done, the sooner all these annoying issues should go away.

In the meantime, will others please refrain from any major changes (or let me know if you do make any). My changes touch a lot of code, so I'd like to avoid conflicts if at all possible.

Hope that's ok with everyone. Thanks.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby RandomPerson » 05 Oct 2014, 23:31

I've been having trouble with Melek, Izzet Paragon, not revealing the top card of the library. Often, the top card will show up in the flashback box as (Unknown Card), regardless of whether it's an instant or sorcery. Also often, it won't show up, again regardless of whether it's an instant or sorcery.
RandomPerson
 
Posts: 13
Joined: 22 Sep 2014, 21:08
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Agetian » 06 Oct 2014, 04:51

r27837: Got this exception when opening the deck editor:

NullPointerException | Open
Code: Select all
Forge Version:    SVN
Operating System: Linux 3.8.0-26-generic amd64
Java Version:     1.7.0_51 Oracle Corporation

java.lang.NullPointerException
   at forge.game.spellability.SpellAbilityRestriction.checkTimingRestrictions(SpellAbilityRestriction.java:233)
   at forge.game.spellability.SpellAbilityRestriction.canPlay(SpellAbilityRestriction.java:443)
   at forge.game.card.CardFactoryUtil$4.canPlay(CardFactoryUtil.java:286)
   at forge.game.spellability.SpellAbilityView.updateCanPlay(SpellAbilityView.java:40)
   at forge.game.spellability.SpellAbilityView.<init>(SpellAbilityView.java:13)
   at forge.game.spellability.SpellAbility.<init>(SpellAbility.java:141)
   at forge.game.spellability.Ability.<init>(Ability.java:50)
   at forge.game.spellability.AbilityStatic.<init>(AbilityStatic.java:49)
   at forge.game.card.CardFactoryUtil$4.<init>(CardFactoryUtil.java:283)
   at forge.game.card.CardFactoryUtil.abilitySuspendStatic(CardFactoryUtil.java:283)
   at forge.game.card.CardFactoryUtil.setupKeywordedAbilities(CardFactoryUtil.java:2348)
   at forge.game.card.CardFactory.buildAbilities(CardFactory.java:316)
   at forge.game.card.CardFactory.getCard(CardFactory.java:236)
   at forge.game.card.CardFactory.getCard(CardFactory.java:228)
   at forge.game.card.Card.fromPaperCard(Card.java:6446)
   at forge.game.card.Card.getCardForUi(Card.java:6454)
   at forge.view.ViewUtil.getCardForUi(ViewUtil.java:131)
   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: 3488
Joined: 14 Mar 2011, 05:58
Has thanked: 683 times
Been thanked: 572 times

Re: Bug Reports (snapshot builds)

Postby drdev » 06 Oct 2014, 04:58

Agetian wrote:r27837: Got this exception when opening the deck editor:

NullPointerException | Open
Code: Select all
Forge Version:    SVN
Operating System: Linux 3.8.0-26-generic amd64
Java Version:     1.7.0_51 Oracle Corporation

java.lang.NullPointerException
   at forge.game.spellability.SpellAbilityRestriction.checkTimingRestrictions(SpellAbilityRestriction.java:233)
   at forge.game.spellability.SpellAbilityRestriction.canPlay(SpellAbilityRestriction.java:443)
   at forge.game.card.CardFactoryUtil$4.canPlay(CardFactoryUtil.java:286)
   at forge.game.spellability.SpellAbilityView.updateCanPlay(SpellAbilityView.java:40)
   at forge.game.spellability.SpellAbilityView.<init>(SpellAbilityView.java:13)
   at forge.game.spellability.SpellAbility.<init>(SpellAbility.java:141)
   at forge.game.spellability.Ability.<init>(Ability.java:50)
   at forge.game.spellability.AbilityStatic.<init>(AbilityStatic.java:49)
   at forge.game.card.CardFactoryUtil$4.<init>(CardFactoryUtil.java:283)
   at forge.game.card.CardFactoryUtil.abilitySuspendStatic(CardFactoryUtil.java:283)
   at forge.game.card.CardFactoryUtil.setupKeywordedAbilities(CardFactoryUtil.java:2348)
   at forge.game.card.CardFactory.buildAbilities(CardFactory.java:316)
   at forge.game.card.CardFactory.getCard(CardFactory.java:236)
   at forge.game.card.CardFactory.getCard(CardFactory.java:228)
   at forge.game.card.Card.fromPaperCard(Card.java:6446)
   at forge.game.card.Card.getCardForUi(Card.java:6454)
   at forge.view.ViewUtil.getCardForUi(ViewUtil.java:131)
   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
Thanks for the quick catch. Fixed in r27839.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 06 Oct 2014, 05:15

r27840: Got this crash when starting a new constructed match (I did not get to see my opening hand or anything):
P.S. Seems to occur every time I start a new game.

ExceptionInInitializerError | Open
Code: Select all
Forge Version:    SVN
Operating System: Linux 3.8.0-26-generic amd64
Java Version:     1.7.0_51 Oracle Corporation

java.lang.ExceptionInInitializerError
   at forge.game.card.CardFactoryUtil.abilitySuspendStatic(CardFactoryUtil.java:283)
   at forge.game.card.CardFactoryUtil.setupKeywordedAbilities(CardFactoryUtil.java:2348)
   at forge.game.card.CardFactory.buildAbilities(CardFactory.java:316)
   at forge.game.card.CardFactory.getCard(CardFactory.java:236)
   at forge.game.card.CardFactory.getCard(CardFactory.java:228)
   at forge.game.card.Card.fromPaperCard(Card.java:6446)
   at forge.game.Match.preparePlayerLibrary(Match.java:183)
   at forge.game.Match.prepareAllZones(Match.java:247)
   at forge.game.Match.startGame(Match.java:69)
   at forge.match.MatchUtil$2.run(MatchUtil.java:231)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.NullPointerException
   at forge.game.spellability.SpellAbilityView.<init>(SpellAbilityView.java:15)
   at forge.game.spellability.SpellAbility.<init>(SpellAbility.java:141)
   at forge.game.spellability.Ability.<init>(Ability.java:50)
   at forge.game.spellability.Ability$1.<init>(Ability.java:81)
   at forge.game.spellability.Ability.<clinit>(Ability.java:81)
   ... 13 more
- Agetian
Agetian
Programmer
 
Posts: 3488
Joined: 14 Mar 2011, 05:58
Has thanked: 683 times
Been thanked: 572 times

Re: Bug Reports (snapshot builds)

Postby drdev » 06 Oct 2014, 05:23

Agetian wrote:r27840: Got this crash when starting a new constructed match (I did not get to see my opening hand or anything):
P.S. Seems to occur every time I start a new game.

ExceptionInInitializerError | Open
Code: Select all
Forge Version:    SVN
Operating System: Linux 3.8.0-26-generic amd64
Java Version:     1.7.0_51 Oracle Corporation

java.lang.ExceptionInInitializerError
   at forge.game.card.CardFactoryUtil.abilitySuspendStatic(CardFactoryUtil.java:283)
   at forge.game.card.CardFactoryUtil.setupKeywordedAbilities(CardFactoryUtil.java:2348)
   at forge.game.card.CardFactory.buildAbilities(CardFactory.java:316)
   at forge.game.card.CardFactory.getCard(CardFactory.java:236)
   at forge.game.card.CardFactory.getCard(CardFactory.java:228)
   at forge.game.card.Card.fromPaperCard(Card.java:6446)
   at forge.game.Match.preparePlayerLibrary(Match.java:183)
   at forge.game.Match.prepareAllZones(Match.java:247)
   at forge.game.Match.startGame(Match.java:69)
   at forge.match.MatchUtil$2.run(MatchUtil.java:231)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.NullPointerException
   at forge.game.spellability.SpellAbilityView.<init>(SpellAbilityView.java:15)
   at forge.game.spellability.SpellAbility.<init>(SpellAbility.java:141)
   at forge.game.spellability.Ability.<init>(Ability.java:50)
   at forge.game.spellability.Ability$1.<init>(Ability.java:81)
   at forge.game.spellability.Ability.<clinit>(Ability.java:81)
   ... 13 more
- Agetian
I actually ran into this myself and already fixed it in r27841 in addition to the tempShowCard crash.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 06 Oct 2014, 05:25

r27841: Got this crash when choosing a card to add to play from a list (I used the dev mode "Add Card Into Play" feature and was searching for Deflecting Palm, I managed to type "def" and then the game NPE'ed):

NullPointerException | Open
Code: Select all
Forge Version:    SVN
Operating System: Linux 3.8.0-26-generic amd64
Java Version:     1.7.0_51 Oracle Corporation

java.lang.NullPointerException
   at forge.game.card.CardView$CardStateView.updateName(CardView.java:471)
   at forge.game.card.CardView.updateState(CardView.java:411)
   at forge.game.card.CardView.updateState(CardView.java:377)
   at forge.game.card.Card.setState(Card.java:318)
   at forge.game.card.CardFactory.readCard(CardFactory.java:365)
   at forge.game.card.CardFactory.getCard(CardFactory.java:233)
   at forge.game.card.CardFactory.getCard(CardFactory.java:228)
   at forge.game.card.Card.fromPaperCard(Card.java:6446)
   at forge.game.card.Card.getCardForUi(Card.java:6454)
   at forge.view.ViewUtil.getCardForUi(ViewUtil.java:131)
   at forge.screens.match.controllers.CDetail.showCard(CDetail.java:61)
   at forge.screens.match.CMatchUI.setCard(CMatchUI.java:242)
   at forge.gui.GuiChoose$1$1.valueChanged(GuiChoose.java:225)
   at javax.swing.JList.fireSelectionValueChanged(JList.java:1798)
   at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1812)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
   at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
   at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
   at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:459)
   at javax.swing.JList.setSelectedIndex(JList.java:2212)
   at javax.swing.plaf.basic.BasicListUI$Handler.keyTyped(BasicListUI.java:2407)
   at java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:240)
   at java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:239)
   at java.awt.Component.processKeyEvent(Component.java:6460)
   at javax.swing.JComponent.processKeyEvent(JComponent.java:2819)
   at java.awt.Component.processEvent(Component.java:6282)
   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.dispatchKeyEvent(DefaultKeyboardFocusManager.java:762)
   at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1027)
   at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:899)
   at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:727)
   at java.awt.Component.dispatchEventImpl(Component.java:4731)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
   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.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:708)
   at java.awt.EventQueue$4.run(EventQueue.java:706)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
   at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
   at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
   at java.awt.Dialog.show(Dialog.java:1082)
   at java.awt.Component.show(Component.java:1651)
   at java.awt.Component.setVisible(Component.java:1603)
   at java.awt.Window.setVisible(Window.java:1014)
   at java.awt.Dialog.setVisible(Dialog.java:1005)
   at forge.view.FDialog.setVisible(FDialog.java:160)
   at forge.toolbox.FOptionPane.setVisible(FOptionPane.java:272)
   at forge.gui.ListChooser.show(ListChooser.java:178)
   at forge.gui.ListChooser.show(ListChooser.java:152)
   at forge.gui.GuiChoose$1.call(GuiChoose.java:234)
   at forge.gui.GuiChoose$1.call(GuiChoose.java:201)
   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
   at forge.GuiDesktop.invokeInEdtAndWait(GuiDesktop.java:83)
   at forge.FThreads.invokeInEdtAndWait(FThreads.java:52)
   at forge.gui.GuiChoose.getChoices(GuiChoose.java:243)
   at forge.GuiDesktop.getChoices(GuiDesktop.java:172)
   at forge.util.gui.SGuiChoose.getChoices(SGuiChoose.java:191)
   at forge.util.gui.SGuiChoose.getChoices(SGuiChoose.java:187)
   at forge.util.gui.SGuiChoose.oneOrNone(SGuiChoose.java:46)
   at forge.player.PlayerControllerHuman$DevModeCheats.addCardToBattlefield(PlayerControllerHuman.java:2051)
   at forge.screens.match.controllers.CDev.addCardToBattlefield(CDev.java:142)
   at forge.screens.match.controllers.CDev$12.mousePressed(CDev.java:138)
   at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
   at java.awt.Component.processMouseEvent(Component.java:6502)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3311)
   at java.awt.Component.processEvent(Component.java:6270)
   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.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4489)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
   at java.awt.Container.dispatchEventImpl(Container.java:2273)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
   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.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:708)
   at java.awt.EventQueue$4.run(EventQueue.java:706)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
   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: 3488
Joined: 14 Mar 2011, 05:58
Has thanked: 683 times
Been thanked: 572 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 5 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 5 users online :: 0 registered, 0 hidden and 5 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 5 guests

Login Form