It is currently 14 Sep 2025, 21:57
   
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 Agetian » 26 Jun 2013, 17:06

r22302: An exception after the combat damage dealing phase was over. Attacked with Goblin Arsonist that had Kitesail on it, no block was set.

NullPointerException | Open
Code: Select all
Forge Version:    1.4.2-SNAPSHOT-r22302
Operating System: Linux 3.7.0-7-generic amd64
Java Version:     1.7.0_21 Oracle Corporation

java.lang.NullPointerException
   at forge.gui.match.controllers.CCombat.getCombatDescription(CCombat.java:66)
   at forge.gui.match.controllers.CCombat.update(CCombat.java:51)
   at forge.gui.match.CMatchUI.showCombat(CMatchUI.java:267)
   at forge.control.FControlGameEventHandler$2.run(FControlGameEventHandler.java:77)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:688)
   at java.awt.EventQueue$3.run(EventQueue.java:686)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:697)
   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
Programmer
 
Posts: 3489
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 26 Jun 2013, 18:34

SVN r22302: I noticed a strange behavior related to targeting arrows that started relatively recently (I don't remember seeing it happen in the builds even from a couple days ago): when, for instance, my creature gets enchanted by my opponent with some kind of a debuff/paralyzing spell/whatever, once I hover my mouse over the enchantment (or the creature), the targeting arrow doesn't appear. It doesn't appear even if I enable the targeting arrows to be displayed at all times. However, after a few phase switches and possibly playing some spells the targeting arrow will finally appear. I can't pinpoint the issue here, unfortunately, and I'm not sure when exactly it started... Tried restarting Forge and tried it on several different decks with different enchantments/creatures, sometimes it worked fine and sometimes it didn't.

A reliable way to reproduce: start a random game, wait till your opponent summons something, attach any enchantment to it (I used Unholy Strength simply because it was the first thing that came to my mind). The targeting arrow does not appear immediately. It will appear once the game gets to the Declare Attackers phase (at least for me).

- Agetian
Agetian
Programmer
 
Posts: 3489
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Bug Reports (snapshot builds)

Postby jsv » 26 Jun 2013, 19:47

I, on the other hand, for last 2 or 3 days see blocker arrows remaining after combat. That is, the arrows just remain where they were during the combat until the beginning of the next combat phase; it doesn't matter if the creatures those arrows were pointing from/to survived the combat.
jsv
 
Posts: 53
Joined: 29 May 2013, 03:20
Has thanked: 3 times
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby tafkad » 26 Jun 2013, 21:14

1.4.2 OSX r22118

Master of Cruelties gets blocked in this scene and did not deal damage (only supposed to not deal damage when unblocked) needless to say he is worthless as a creature killer in this state, first strike death touch does no good with no damage dealt
Attachments
Master of Cruelties.jpg
tafkad
 
Posts: 43
Joined: 29 Dec 2011, 02:40
Has thanked: 2 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Sloth » 26 Jun 2013, 21:26

ozks wrote:Description: [Hover Barrier blocks Sunspear Shikari]

NullPointerException | Open
Code: Select all
Forge Version:    1.4.2-SNAPSHOT-r22244
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_13 Oracle Corporation

java.lang.NullPointerException
   at forge.game.ai.ComputerUtilCombat.lifeThatWouldRemain(ComputerUtilCombat.java:225)
   at forge.game.ai.ComputerUtilCombat.wouldLoseLife(ComputerUtilCombat.java:341)
   at forge.card.ability.ai.DamagePreventAi.canPlayAI(DamagePreventAi.java:123)
   at forge.card.ability.SpellAbilityAi.canPlayAIWithSubs(SpellAbilityAi.java:18)
   at forge.card.ability.AbilityApiBased.canPlayAI(AbilityApiBased.java:67)
   at forge.game.ai.AiController.canPlayAndPayFor(AiController.java:479)
   at forge.game.ai.AiController.chooseSpellAbilyToPlay(AiController.java:463)
   at forge.game.ai.AiController.getSpellAbilityToPlay(AiController.java:815)
   at forge.game.ai.AiController.playSpellAbilities(AiController.java:789)
   at forge.game.ai.AiController.onPriorityRecieved(AiController.java:739)
   at forge.game.player.PlayerControllerAi.takePriority(PlayerControllerAi.java:338)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:842)
   at forge.game.GameAction.startGame(GameAction.java:1456)
   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)
Fixed! Thanks ozks.

jsv wrote:Description: Quest game against Darth Vader (hard), turn 1. I've played forest, AI played plains and then an exception was triggered:
IllegalArgumentException | Open
Code: Select all
Forge Version:    1.4.2-SNAPSHOT-r22260
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_21 Oracle Corporation

java.lang.IllegalArgumentException: No element named Hand,Graveyard in enum Zone
   at forge.game.zone.ZoneType.smartValueOf(ZoneType.java:43)
   at forge.card.ability.ai.ChangeZoneAllAi.canPlayAI(ChangeZoneAllAi.java:31)
   at forge.card.ability.SpellAbilityAi.canPlayAIWithSubs(SpellAbilityAi.java:18)
   at forge.card.ability.SpellApiBased.canPlayAI(SpellApiBased.java:49)
   at forge.game.ai.AiController.canPlayAndPayFor(AiController.java:479)
   at forge.game.ai.AiController.chooseSpellAbilyToPlay(AiController.java:463)
   at forge.game.ai.AiController.getSpellAbilityToPlay(AiController.java:815)
   at forge.game.ai.AiController.playSpellAbilities(AiController.java:789)
   at forge.game.ai.AiController.onPriorityRecieved(AiController.java:739)
   at forge.game.player.PlayerControllerAi.takePriority(PlayerControllerAi.java:338)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:842)
   at forge.game.GameAction.startGame(GameAction.java:1456)
   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)
jsv wrote:Description: AI (The King's Contest quest challenge) activates Captain Sisay.

NullPointerException | Open
Code: Select all
Forge Version:    1.4.2-SNAPSHOT-r22298
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_21 Oracle Corporation

java.lang.NullPointerException
   at forge.game.ai.ComputerUtilCombat.combatTriggerWillTrigger(ComputerUtilCombat.java:601)
   at forge.game.ai.ComputerUtilCombat.checkDestroyBlockerTrigger(ComputerUtilCombat.java:1279)
   at forge.game.ai.ComputerUtilCombat.canDestroyBlocker(ComputerUtilCombat.java:1567)
   at forge.game.ai.AiBlockController.getSafeBlockers(AiBlockController.java:95)
   at forge.game.ai.AiBlockController.makeGoodBlocks(AiBlockController.java:193)
   at forge.game.ai.AiBlockController.assignBlockers(AiBlockController.java:631)
   at forge.card.ability.ai.ChangeZoneAi.chooseCreature(ChangeZoneAi.java:508)
   at forge.card.ability.ai.ChangeZoneAi.hiddenOriginResolveAI(ChangeZoneAi.java:1262)
   at forge.card.ability.effects.ChangeZoneEffect.changeHiddenOriginResolve(ChangeZoneEffect.java:580)
   at forge.card.ability.effects.ChangeZoneEffect.resolve(ChangeZoneEffect.java:352)
   at forge.card.ability.AbilityApiBased.resolve(AbilityApiBased.java:62)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1032)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1015)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:528)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:877)
   at forge.game.GameAction.startGame(GameAction.java:1464)
   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)
Both fixed! Thanks jsv.

tafkad wrote:Master of Cruelties gets blocked in this scene and did not deal damage (only supposed to not deal damage when unblocked) needless to say he is worthless as a creature killer in this state, first strike death touch does no good with no damage dealt
Your version is outdated. Please update. The Master of Cruelties and Trygon Predator issues have been fixed already.
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 tafkad » 26 Jun 2013, 21:43

Sloth wrote:
tafkad wrote:Master of Cruelties gets blocked in this scene and did not deal damage (only supposed to not deal damage when unblocked) needless to say he is worthless as a creature killer in this state, first strike death touch does no good with no damage dealt
Your version is outdated. Please update. The Master of Cruelties and Trygon Predator issues have been fixed already.
I don't see a newer OSX snapshot on the FTP and the issues persist with this version. Can you point me to a newer OSX version other than r22118?
thanks
Last edited by Chris H. on 26 Jun 2013, 22:54, edited 1 time in total.
Reason: fixed a broken quote
tafkad
 
Posts: 43
Joined: 29 Dec 2011, 02:40
Has thanked: 2 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Chris H. » 26 Jun 2013, 22:53

tafkad wrote:
Sloth wrote:
tafkad wrote:Master of Cruelties gets blocked in this scene and did not deal damage (only supposed to not deal damage when unblocked) needless to say he is worthless as a creature killer in this state, first strike death touch does no good with no damage dealt
Your version is outdated. Please update. The Master of Cruelties and Trygon Predator issues have been fixed already.
I don't see a newer OSX snapshot on the FTP and the issues persist with this version. Can you point me to a newer OSX version other than r22118?
thanks
 
Today's snapshot build states:

- The Mac OS X application -
At this time Forge now requires Java 7 and will no longer run under Java 6.

Unfortunately, the Mac OS X builder that we were using does not support Java 7. We hope to find and to use a different Mac OS X builder in order to continue releasing a Mac OS bundled application like we have in the past.

Currently, the windows/unix release of Forge includes a launcher file named "forge.command". Double click on the "forge.command" launcher command file and this will in turn launch the Forge jar file via the terminal application while increasing the Java heap space. This should be a temporary inconvenience.
 
People should note that in Mac OS X you can launch a Java jar file from the Finder by double clicking on the jar file. The new launcher command file will also increase the Java heap space.
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Bug Reports (snapshot builds)

Postby Max mtg » 27 Jun 2013, 08:41

Made some changes in code to fix NPE in CCombat.getCombatDescription (reported in 1st message on this page)
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 jsv » 27 Jun 2013, 11:39

Description: AI casts Darksteel Garrison

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

java.lang.NullPointerException
   at java.lang.String.contains(Unknown Source)
   at forge.card.ability.ai.AttachAi.attachAIPumpPreference(AttachAi.java:781)
   at forge.card.ability.ai.AttachAi.attachGeneralAI(AttachAi.java:981)
   at forge.card.ability.ai.AttachAi.attachToCardAIPreferences(AttachAi.java:926)
   at forge.card.ability.ai.AttachAi.attachPreference(AttachAi.java:693)
   at forge.card.ability.ai.AttachAi.canPlayAI(AttachAi.java:65)
   at forge.card.ability.SpellAbilityAi.canPlayAIWithSubs(SpellAbilityAi.java:18)
   at forge.card.ability.AbilityApiBased.canPlayAI(AbilityApiBased.java:67)
   at forge.game.ai.AiController.canPlayAndPayFor(AiController.java:478)
   at forge.game.ai.AiController.chooseSpellAbilyToPlay(AiController.java:462)
   at forge.game.ai.AiController.getSpellAbilityToPlay(AiController.java:816)
   at forge.game.ai.AiController.playSpellAbilities(AiController.java:790)
   at forge.game.ai.AiController.onPriorityRecieved(AiController.java:738)
   at forge.game.player.PlayerControllerAi.takePriority(PlayerControllerAi.java:339)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:847)
   at forge.game.GameAction.startGame(GameAction.java:1465)
   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)
jsv
 
Posts: 53
Joined: 29 May 2013, 03:20
Has thanked: 3 times
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 27 Jun 2013, 17:10

r22310: Got this crash when canceling a spell.

RuntimeException | Open
Code: Select all
Forge Version:    1.4.2-SNAPSHOT-r22310
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_09 Oracle Corporation

java.lang.RuntimeException: Cannot remove input InputPayManaOfCostPayment because it's not on top of stack. Stack = []
   at forge.control.InputQueue.removeInput(InputQueue.java:55)
   at forge.gui.input.InputSyncronizedBase.stop(InputSyncronizedBase.java:35)
   at forge.gui.input.InputPayMana.onStateChanged(InputPayMana.java:261)
   at forge.gui.input.InputPayMana.showMessage(InputPayMana.java:255)
   at forge.gui.input.InputBase.showMessageInitial(InputBase.java:47)
   at forge.gui.InputProxy$1.run(InputProxy.java:67)
   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)
Agetian
Programmer
 
Posts: 3489
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Bug Reports (snapshot builds)

Postby xbon » 28 Jun 2013, 03:46

Description: I was being attacked by my opponents Djinn token.

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

java.lang.NullPointerException
   at forge.game.combat.Combat.getAttackersOf(Combat.java:100)
   at forge.game.ai.ComputerUtilCombat.lifeThatWouldRemain(ComputerUtilCombat.java:222)
   at forge.game.ai.ComputerUtilCombat.wouldLoseLife(ComputerUtilCombat.java:341)
   at forge.card.ability.ai.DamagePreventAi.canPlayAI(DamagePreventAi.java:124)
   at forge.card.ability.SpellAbilityAi.canPlayAIWithSubs(SpellAbilityAi.java:18)
   at forge.card.ability.AbilityApiBased.canPlayAI(AbilityApiBased.java:67)
   at forge.game.ai.AiController.canPlayAndPayFor(AiController.java:478)
   at forge.game.ai.AiController.chooseSpellAbilyToPlay(AiController.java:462)
   at forge.game.ai.AiController.getSpellAbilityToPlay(AiController.java:816)
   at forge.game.ai.AiController.playSpellAbilities(AiController.java:790)
   at forge.game.ai.AiController.onPriorityRecieved(AiController.java:738)
   at forge.game.player.PlayerControllerAi.takePriority(PlayerControllerAi.java:339)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:847)
   at forge.game.GameAction.startGame(GameAction.java:1465)
   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)
Description: Used Mire's Toll

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

java.lang.IndexOutOfBoundsException: toIndex = 4
   at java.util.ArrayList.subListRangeCheck(Unknown Source)
   at java.util.ArrayList.subList(Unknown Source)
   at forge.game.player.PlayerControllerAi.chooseCardsToRevealFromHand(PlayerControllerAi.java:350)
   at forge.card.ability.effects.DiscardEffect.resolve(DiscardEffect.java:196)
   at forge.card.ability.SpellApiBased.resolve(SpellApiBased.java:54)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1032)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1015)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:528)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:877)
   at forge.game.GameAction.startGame(GameAction.java:1465)
   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)
xbon
 
Posts: 124
Joined: 04 Jun 2013, 22:52
Has thanked: 18 times
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby jsv » 28 Jun 2013, 09:00

xbon wrote:Description: Used Mire's Toll

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

java.lang.IndexOutOfBoundsException: toIndex = 4
   at java.util.ArrayList.subListRangeCheck(Unknown Source)
   at java.util.ArrayList.subList(Unknown Source)
   at forge.game.player.PlayerControllerAi.chooseCardsToRevealFromHand(PlayerControllerAi.java:350)
   at forge.card.ability.effects.DiscardEffect.resolve(DiscardEffect.java:196)
   at forge.card.ability.SpellApiBased.resolve(SpellApiBased.java:54)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1032)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1015)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:528)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:877)
   at forge.game.GameAction.startGame(GameAction.java:1465)
   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)
Thanks for the report, fixed in r22313.

By the way, the AI approach to revealing cards is not exactly elaborate. For cards like Mire's Toll a call to brains.getCardsToDiscard wouldn't hurt, I think. But, if I understand correctly, that would require changing the call interface to pass SpellAbility all the way down from DiscardEffect, and there is RevealEffect to consider... I'm not going to mess with this just yet. :)
jsv
 
Posts: 53
Joined: 29 May 2013, 03:20
Has thanked: 3 times
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby Max mtg » 28 Jun 2013, 09:25

Jsv, it would be another good idea to replace the whole call to chooseCardsToRevealFromHand with chooseCardsForEffect that would be routed then to matching methods in DiscardAi or RevealAi - just in the way as it was done for chooseSingleCardForEffect
Nope, it won't be good, because AI has to consider its hand and the oppportunities remaining after discard. So a call to AiController is better

Btw, I've fixed the NPE in AttachAI you've reported a few posts above.
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 jsv » 28 Jun 2013, 12:44

Description: I'm about to cast Captain's Call.
NullPointerException | Open
Code: Select all
Forge Version:    1.4.2-SNAPSHOT-r22314
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_25 Oracle Corporation

java.lang.NullPointerException
   at forge.Card.getController(Card.java:3080)
   at forge.gui.match.TargetingOverlay.assembleArcs(TargetingOverlay.java:226)
   at forge.gui.match.TargetingOverlay.access$300(TargetingOverlay.java:52)
   at forge.gui.match.TargetingOverlay$OverlayPanel.paintComponent(TargetingOverlay.java:345)
   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)
Attachments
captains_call.jpg
jsv
 
Posts: 53
Joined: 29 May 2013, 03:20
Has thanked: 3 times
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 28 Jun 2013, 19:23

r22314: An NPE when starting the second duel in a hotseat match with 2 human players (was fatal, had to fully quit the match before I could proceed):

NullPointerException | Open
Code: Select all
Forge Version:    1.4.2-SNAPSHOT-r22314
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_09 Oracle Corporation

java.lang.NullPointerException
   at forge.game.GameAction.determineFirstTurnPlayer(GameAction.java:1491)
   at forge.game.GameAction.startGame(GameAction.java:1435)
   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)
Agetian
Programmer
 
Posts: 3489
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 60 guests

Main Menu

User Menu

Our Partners


Who is online

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

Users browsing this forum: No registered users and 60 guests

Login Form