It is currently 24 May 2025, 10:58
   
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 Shekkie » 05 Jun 2013, 22:20

Description: Tried to save the layout in a Planechase match.

IllegalThreadStateException | Open
Code: Select all
Forge Version:    1.4.0-r21849
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_21 Oracle Corporation

java.lang.IllegalThreadStateException: This operation should be independent of the EDT.
   at forge.gui.framework.SLayoutIO.saveLayout(SLayoutIO.java:68)
   at forge.gui.match.controllers.CDock.saveLayout(CDock.java:114)
   at forge.gui.match.controllers.CDock.access$5(CDock.java:109)
   at forge.gui.match.controllers.CDock$9.mousePressed(CDock.java:318)
   at java.awt.AWTEventMulticaster.mousePressed(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)
Shekkie
 
Posts: 5
Joined: 24 Apr 2013, 17:40
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby friarsol » 07 Jun 2013, 02:20

r21998

Ante appears to be broken

EDT > java.lang.IllegalStateException: forge.game.GameAction.moveTo may not be accessed from the event dispatch thread.
at forge.FThreads.assertExecutedByEdt(FThreads.java:64)
at forge.game.GameAction.moveTo(GameAction.java:362)
at forge.game.GameAction.moveTo(GameAction.java:358)
at forge.game.GameAction.moveTo(GameAction.java:739)
at forge.game.GameAction.moveTo(GameAction.java:713)
at forge.game.GameNew.moveCardsToAnte(GameNew.java:323)
at forge.game.Match.startRound(Match.java:96)
at forge.gui.home.quest.SSubmenuQuestUtil$3.run(SSubmenuQuestUtil.java:447)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
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 Arclight » 07 Jun 2013, 15:49

Description: [Playing the quest mode. Dueling against Tutankhamon. It was the AI's turn and it just got stuck on waiting for actions. ]

NullPointerException | Open
Code: Select all
Forge Version:    1.3.15-SNAPSHOT-r21296
Operating System: Mac OS X 10.7 x86_64
Java Version:     1.6.0_37 Apple Inc.

java.lang.NullPointerException
   at forge.card.spellability.SpellAbility.canTarget(SpellAbility.java:1210)
   at forge.card.ability.ai.DamageAiBase.shouldTgtP(DamageAiBase.java:22)
   at forge.card.ability.ai.DamageDealAi.damageChoosingTargets(DamageDealAi.java:245)
   at forge.card.ability.ai.DamageDealAi.damageTargetAI(DamageDealAi.java:207)
   at forge.card.ability.ai.DamageDealAi.canPlayAI(DamageDealAi.java:95)
   at forge.card.ability.SpellAbilityAi.canPlayAIWithSubs(SpellAbilityAi.java:15)
   at forge.card.ability.SpellApiBased.canPlayAI(SpellApiBased.java:50)
   at forge.game.ai.AiController.canPlayAndPayFor(AiController.java:474)
   at forge.game.ai.AiController.chooseSpellAbilyToPlay(AiController.java:458)
   at forge.game.ai.AiController.getSpellAbilityToPlay(AiController.java:105)
   at forge.game.ai.AiController.playSpellAbilities(AiController.java:874)
   at forge.game.ai.AiController.onPriorityRecieved(AiController.java:825)
   at forge.game.ai.AiInputCommon$1.run(AiInputCommon.java:74)
   at forge.FThreads$1.run(FThreads.java:113)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
   at java.lang.Thread.run(Thread.java:680)
Arclight
 
Posts: 13
Joined: 03 May 2013, 22:45
Has thanked: 1 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Arclight » 07 Jun 2013, 15:53

Description: [Played the third round and won the game. Got the crash report after I dealt the final damage and got the winning sound.

IllegalArgumentException | Open
Code: Select all
Forge Version:    1.3.15-SNAPSHOT-r21296
Operating System: Mac OS X 10.7 x86_64
Java Version:     1.6.0_37 Apple Inc.

java.lang.IllegalArgumentException: No CardRules limitations could be parsed from: rares
   at forge.quest.BoosterUtils.parseRulesLimitation(BoosterUtils.java:262)
   at forge.quest.BoosterUtils.parseReward(BoosterUtils.java:283)
   at forge.quest.BoosterUtils.generateCardRewardList(BoosterUtils.java:352)
   at forge.quest.QuestEvent.getCardRewardList(QuestEvent.java:109)
   at forge.gui.match.QuestWinLose.awardSpecialReward(QuestWinLose.java:686)
   at forge.gui.match.QuestWinLose.awardChallengeWin(QuestWinLose.java:675)
   at forge.gui.match.QuestWinLose.populateCustomPanel(QuestWinLose.java:181)
   at forge.gui.match.ViewWinLose.<init>(ViewWinLose.java:129)
   at forge.game.MatchController$1.run(MatchController.java:123)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:702)
   at java.awt.EventQueue.access$400(EventQueue.java:82)
   at java.awt.EventQueue$2.run(EventQueue.java:663)
   at java.awt.EventQueue$2.run(EventQueue.java:661)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:672)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Arclight
 
Posts: 13
Joined: 03 May 2013, 22:45
Has thanked: 1 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby friarsol » 07 Jun 2013, 16:08

Arclight wrote:Description: [Played the third round and won the game. Got the crash report after I dealt the final damage and got the winning sound.

Forge Version: 1.3.15-SNAPSHOT-r21296
Operating System: Mac OS X 10.7 x86_64
Java Version: 1.6.0_37 Apple Inc.
Not sure where you got your build from but it's old. Please upgrade to 1.4+.
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 jeffwadsworth » 07 Jun 2013, 16:29

Description: Screenshot of game state attached. AI vs AI



NullPointerException | Open
Code: Select all
Forge Version:    1.4.1-SNAPSHOT-r22000
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_21 Oracle Corporation

java.lang.NullPointerException
   at forge.game.GameAction.reveal(GameAction.java:1384)
   at forge.game.GameAction.reveal(GameAction.java:1380)
   at forge.card.ability.ai.ChangeZoneAi.hiddenOriginResolveAI(ChangeZoneAi.java:1372)
   at forge.card.ability.effects.ChangeZoneEffect.changeHiddenOriginResolve(ChangeZoneEffect.java:591)
   at forge.card.ability.effects.ChangeZoneEffect.resolve(ChangeZoneEffect.java:352)
   at forge.card.spellability.AbilitySub.resolve(AbilitySub.java:130)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1055)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1038)
   at forge.game.ai.ComputerUtil.playNoStack(ComputerUtil.java:321)
   at forge.card.trigger.WrappedAbility.resolve(WrappedAbility.java:367)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1055)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1038)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:518)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:872)
   at forge.game.GameAction.startGame(GameAction.java:1426)
   at forge.game.Match$1.run(Match.java:105)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Attachments
NPE.jpg
jeffwadsworth
Super Tester Elite
 
Posts: 1172
Joined: 20 Oct 2010, 04:47
Location: USA
Has thanked: 287 times
Been thanked: 70 times

Re: Bug Reports (snapshot builds)

Postby boating » 07 Jun 2013, 17:30

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

NullPointerException | Open
Code: Select all
Forge Version:    1.4.0-r21849
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_02 Oracle Corporation

java.lang.NullPointerException
   at java.util.ArrayList.<init>(Unknown Source)
   at forge.game.phase.Combat.getBlockers(Combat.java:439)
   at forge.gui.match.controllers.CCombat.getCombatDescription(CCombat.java:85)
   at forge.gui.match.controllers.CCombat.update(CCombat.java:50)
   at forge.game.phase.CombatUtil$2.run(CombatUtil.java:973)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$000(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)
boating
 
Posts: 1
Joined: 07 Jun 2013, 17:26
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby xbon » 08 Jun 2013, 03:03

1.4.1 r22000
Muse Vessel does not allow you to play the card it exiles, it gives you the choice of the card, and then nothing happens when you pick it.

also to the above person, you're using the 1.4.0 beta, there's another page for that, this is for snapshot builds (the one's @ http://www.cardforge.org/releases/snaps ... rge/forge/ )


Another bug.

Description: Pressed Start Duel, Opp had random 1 2, I had random 1 in constructed deck format.

ArrayIndexOutOfBoundsException | Open
Code: Select all
Forge Version:    1.4.1-SNAPSHOT-r22000
Operating System: Windows 8 6.2 amd64
Java Version:     1.7.0_13 Oracle Corporation

java.lang.ArrayIndexOutOfBoundsException: 8
   at forge.card.CardDb.tryGetCard(CardDb.java:248)
   at forge.card.CardDb.getCard(CardDb.java:288)
   at forge.card.CardDb.getCard(CardDb.java:282)
   at forge.deck.generate.GenerateColoredDeckBase.addBasicLand(GenerateColoredDeckBase.java:175)
   at forge.deck.generate.GenerateMonoColorDeck.getDeck(GenerateMonoColorDeck.java:89)
   at forge.deck.DeckgenUtil.buildColorDeck(DeckgenUtil.java:78)
   at forge.gui.toolbox.FDeckChooser.getDeck(FDeckChooser.java:284)
   at forge.gui.home.sanctioned.CSubmenuConstructed.startGame(CSubmenuConstructed.java:101)
   at forge.gui.home.sanctioned.CSubmenuConstructed.access$3(CSubmenuConstructed.java:99)
   at forge.gui.home.sanctioned.CSubmenuConstructed$2.actionPerformed(CSubmenuConstructed.java:58)
   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: I was attacked by 3 of my opponents cards and it dropped me down to 3 life. idk anything else.

NullPointerException | Open
Code: Select all
Forge Version:    1.4.1-SNAPSHOT-r22000
Operating System: Windows 8 6.2 amd64
Java Version:     1.7.0_13 Oracle Corporation

java.lang.NullPointerException
   at forge.Card.getController(Card.java:2994)
   at forge.gui.match.TargetingOverlay.assembleArcs(TargetingOverlay.java:205)
   at forge.gui.match.TargetingOverlay.access$2(TargetingOverlay.java:80)
   at forge.gui.match.TargetingOverlay$OverlayPanel.paintComponent(TargetingOverlay.java:320)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JLayeredPane.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JLayeredPane.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JComponent.paintToOffscreen(Unknown Source)
   at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
   at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
   at javax.swing.RepaintManager.paint(Unknown Source)
   at javax.swing.JComponent._paintImmediately(Unknown Source)
   at javax.swing.JComponent.paintImmediately(Unknown Source)
   at javax.swing.RepaintManager$3.run(Unknown Source)
   at javax.swing.RepaintManager$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
   at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
   at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
   at javax.swing.RepaintManager.access$1000(Unknown Source)
   at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
   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)
xbon
 
Posts: 124
Joined: 04 Jun 2013, 22:52
Has thanked: 18 times
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Sloth » 08 Jun 2013, 16:02

xbon wrote:1.4.1 r22000
Muse Vessel does not allow you to play the card it exiles, it gives you the choice of the card, and then nothing happens when you pick it.
That is correct. You can play it whenever you want that turn with the Flashback button.
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 Max mtg » 08 Jun 2013, 16:28

justfixed the exception related to CardDb array out of bounds
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 xbon » 08 Jun 2013, 19:00

Sloth wrote:
xbon wrote:1.4.1 r22000
Muse Vessel does not allow you to play the card it exiles, it gives you the choice of the card, and then nothing happens when you pick it.
That is correct. You can play it whenever you want that turn with the Flashback button.
ah woops, but this next card is definitely bugged.
1.4.1 r22012

Skyshroud Cutter
If you choose to summon it by having opponent gain 5 life, it starts an infinite loop if you press ok,it never summons, opp just gains 5 life, over and over, you have to cancel, and it never gets summoned.
xbon
 
Posts: 124
Joined: 04 Jun 2013, 22:52
Has thanked: 18 times
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Bundy » 08 Jun 2013, 23:12

Forge 1.4.1-snapshot-r21968
The computer keeps all poison counters when i use the last ability of Karn Liberated.
Bundy
 
Posts: 348
Joined: 17 Dec 2010, 17:32
Location: The netherlands
Has thanked: 23 times
Been thanked: 3 times

Re: Bug Reports (snapshot builds)

Postby Max mtg » 09 Jun 2013, 01:34

Bundy wrote:Forge 1.4.1-snapshot-r21968
The computer keeps all poison counters when i use the last ability of Karn Liberated.
To fix alter the code of RestartGameEffect
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 Sloth » 09 Jun 2013, 08:20

Bundy wrote:Forge 1.4.1 - snapshot-r21968
Multikicker is broken?
I can't pay more than 2 for Everflowing Chalice.
Fixed! Thanks Bundy.
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 jsv » 09 Jun 2013, 12:23

Description:

Trying the gauntlet mode just right after installing the daily snapshot.

Quick Gauntlet, 20 matches, allowed deck types: Fully random color Decks only;
my deck: Decks from quest shop - Wild Rush

ArrayIndexOutOfBoundsException | Open
Code: Select all
Forge Version:    1.4.1-SNAPSHOT-r22012
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_21 Oracle Corporation

java.lang.ArrayIndexOutOfBoundsException: 8
   at forge.card.CardDb.tryGetCard(CardDb.java:248)
   at forge.card.CardDb.getCard(CardDb.java:288)
   at forge.card.CardDb.getCard(CardDb.java:282)
   at forge.deck.generate.GenerateColoredDeckBase.addBasicLand(GenerateColoredDeckBase.java:175)
   at forge.deck.generate.Generate2ColorDeck.getDeck(Generate2ColorDeck.java:107)
   at forge.deck.DeckgenUtil.buildColorDeck(DeckgenUtil.java:78)
   at forge.deck.DeckgenUtil.getRandomColorDeck(DeckgenUtil.java:138)
   at forge.gui.home.gauntlet.CSubmenuGauntletQuick.startGame(CSubmenuGauntletQuick.java:118)
   at forge.gui.home.gauntlet.CSubmenuGauntletQuick.access$2(CSubmenuGauntletQuick.java:80)
   at forge.gui.home.gauntlet.CSubmenuGauntletQuick$1.actionPerformed(CSubmenuGauntletQuick.java:41)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.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)
(Windows 7 trace here, but on a different machine with linux and icetea the result was pretty much the same)

After starting and deleting couple of gauntlets with different starting settings this bug disappeared and I was able to start that Wild Rush gauntlet without problem.

Then, after winning the first duel, saving the gauntlet and immediately trying to load it again:

NullPointerException | Open
Code: Select all
Forge Version:    1.4.1-SNAPSHOT-r22012
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_21 Oracle Corporation

EDT > Error loading Gauntlet Data
java.lang.NullPointerException
   at java.io.FileInputStream.<init>(Unknown Source)
   at forge.gauntlet.GauntletIO.loadGauntlet(GauntletIO.java:94)
   at forge.gui.home.gauntlet.CSubmenuGauntletLoad.startGame(CSubmenuGauntletLoad.java:99)
   at forge.gui.home.gauntlet.CSubmenuGauntletLoad.access$2(CSubmenuGauntletLoad.java:97)
   at forge.gui.home.gauntlet.CSubmenuGauntletLoad$1.actionPerformed(CSubmenuGauntletLoad.java:37)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.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)
After restarting Forge loading the gauntlet works ok.
jsv
 
Posts: 53
Joined: 29 May 2013, 03:20
Has thanked: 3 times
Been thanked: 6 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 12 guests

cron

Who is online

In total there are 12 users online :: 0 registered, 0 hidden and 12 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 12 guests

Login Form