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 lujo » 20 Nov 2013, 15:12
Description: I had a sorcery, Hands That Bind, chipered onto a Sengir Vampire. Whenever the game lets me play a creature or a sorcery during an opponents turn the game crashes. Don't know if it has been fixed. Which is the latest build?
- NullPointerException | Open
- Code: Select all
Forge Version: 1.5.5-r${forge.revision}${forge.specialStatus} (mixed revisions detected; please update from the root directory)
Operating System: Windows XP 5.1 x86
Java Version: 1.7.0_17 Oracle Corporation
java.lang.NullPointerException
at forge.card.ability.effects.PlayEffect.resolve(PlayEffect.java:214)
at forge.card.ability.AbilityApiBased.resolve(AbilityApiBased.java:62)
at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1112)
at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1094)
at forge.card.spellability.HumanPlaySpellAbility.playAbility(HumanPlaySpellAbility.java:93)
at forge.game.player.HumanPlay.playSpellAbilityNoStack(HumanPlay.java:245)
at forge.game.player.PlayerControllerHuman.playSpellAbilityNoStack(PlayerControllerHuman.java:176)
at forge.card.trigger.WrappedAbility.resolve(WrappedAbility.java:362)
at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1112)
at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1094)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:538)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1003)
at forge.game.GameAction.startGame(GameAction.java:1463)
at forge.game.Match$1.run(Match.java:104)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
---
My Shandalar deck pack folder is avaliable here:Dropbox
Leave feedback on particular decks here: Google doc
Ask for instructions, give feedback and complaints here: Thread
My Shandalar deck pack folder is avaliable here:Dropbox
Leave feedback on particular decks here: Google doc
Ask for instructions, give feedback and complaints here: Thread
Re: Bug Reports (snapshot builds)
by Chris H. » 20 Nov 2013, 15:35
Corwin72 wrote:Is there a new location for snapshots?
I have been checking the index for a few days but it looks like it was last updated on the 14th and there has not been a bz2 file since the 7th.
Thanks!
lujo wrote:Which is the latest build?
I finally figured out how to fix the build errors and was able to do a snapshot build and deploy today.
The new location for snapshot builds can be found in the Forge Frequently Asked Questions topic.
-
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)
by drdev » 20 Nov 2013, 15:36
Should we make an announcement for the sake of all the people encountering issues with alternate cost cards?
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Re: Bug Reports (snapshot builds)
by Chris H. » 20 Nov 2013, 15:43
drdev wrote:Should we make an announcement for the sake of all the people encountering issues with alternate cost cards?
That is a good idea.

Thank you.
-
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
by Slaanesh » 20 Nov 2013, 17:46
Hi, the Rebound effect of "Survival Cache" causes a crash of forge.
Description:
I can play that card as a normal card, but when the Rebound effect triggers the crash happens (reproduceable) ...
Description:
I can play that card as a normal card, but when the Rebound effect triggers the crash happens (reproduceable) ...
- NullPointerException | Open
- Code: Select all
Forge Version: 1.5.5-r${forge.revision}${forge.specialStatus} (mixed revisions detected; please update from the root directory)
Operating System: Windows 7 6.1 amd64
Java Version: 1.7.0_21 Oracle Corporation
java.lang.NullPointerException
at forge.card.ability.effects.PlayEffect.resolve(PlayEffect.java:214)
at forge.card.spellability.AbilitySub.resolve(AbilitySub.java:130)
at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1112)
at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1094)
at forge.card.spellability.HumanPlaySpellAbility.playAbility(HumanPlaySpellAbility.java:93)
at forge.game.player.HumanPlay.playSpellAbilityNoStack(HumanPlay.java:245)
at forge.game.player.PlayerControllerHuman.playSpellAbilityNoStack(PlayerControllerHuman.java:176)
at forge.card.trigger.WrappedAbility.resolve(WrappedAbility.java:362)
at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1112)
at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1094)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:538)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1003)
at forge.game.GameAction.startGame(GameAction.java:1463)
at forge.game.Match$1.run(Match.java:104)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
- Slaanesh
- Posts: 1
- Joined: 20 Nov 2013, 17:35
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports
by Hellfish » 20 Nov 2013, 20:10
DrDev fixed that bug a while ago, check the beta thread for a snapshot build with the fix.Slaanesh wrote:Hi, the Rebound effect of "Survival Cache" causes a crash of forge.
Description:
I can play that card as a normal card, but when the Rebound effect triggers the crash happens (reproduceable) ...
- NullPointerException | Open
- Code: Select all
Forge Version: 1.5.5-r${forge.revision}${forge.specialStatus} (mixed revisions detected; please update from the root directory)
Operating System: Windows 7 6.1 amd64
Java Version: 1.7.0_21 Oracle Corporation
java.lang.NullPointerException
at forge.card.ability.effects.PlayEffect.resolve(PlayEffect.java:214)
at forge.card.spellability.AbilitySub.resolve(AbilitySub.java:130)
at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1112)
at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1094)
at forge.card.spellability.HumanPlaySpellAbility.playAbility(HumanPlaySpellAbility.java:93)
at forge.game.player.HumanPlay.playSpellAbilityNoStack(HumanPlay.java:245)
at forge.game.player.PlayerControllerHuman.playSpellAbilityNoStack(PlayerControllerHuman.java:176)
at forge.card.trigger.WrappedAbility.resolve(WrappedAbility.java:362)
at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1112)
at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1094)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:538)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1003)
at forge.game.GameAction.startGame(GameAction.java:1463)
at forge.game.Match$1.run(Match.java:104)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
-
Hellfish - Programmer
- Posts: 1297
- Joined: 07 Jun 2009, 10:41
- Location: South of the Pumphouse
- Has thanked: 110 times
- Been thanked: 169 times
Re: Bug Reports (snapshot builds)
by cliffburton18 » 20 Nov 2013, 21:06
Description: [Opponent was attacking with 2 labirinth minotaur and a ebony rhino]
- ConcurrentModificationException | Open
- Code: Select all
Forge Version: 1.5.5-r${forge.revision}${forge.specialStatus} (mixed revisions detected; please update from the root directory)
Operating System: Windows 7 6.1 x86
Java Version: 1.7.0_15 Oracle Corporation
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
at java.util.ArrayList$Itr.next(Unknown Source)
at com.google.common.collect.AbstractMapBasedMultimap$EntryIterator.next(AbstractMapBasedMultimap.java:1209)
at com.google.common.collect.AbstractMapBasedMultimap$EntryIterator.next(AbstractMapBasedMultimap.java:1177)
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
at forge.game.combat.Combat.getAttackers(Combat.java:197)
at forge.gui.match.TargetingOverlay.assembleArcs(TargetingOverlay.java:243)
at forge.gui.match.TargetingOverlay.access$300(TargetingOverlay.java:52)
at forge.gui.match.TargetingOverlay$OverlayPanel.paintComponent(TargetingOverlay.java:350)
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)
- cliffburton18
- Posts: 2
- Joined: 08 Sep 2013, 13:28
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by Zirbert » 21 Nov 2013, 04:10
The good news is, cascade is back to working in the new snapshot. Thanks!
The less good news is that this bug I reported in 1.5.4 is still present:
If you have more than one copy of Maelstrom Nexus on the battlefield, only the first one's trigger works when you cast your first spell of the turn. The others all appear on the stack, but vanish without doing anything. Only the first cascade happens.
Other situations where multiple cascades fire off the same spell (Maelstrom Wanderer, Maelstrom Nexus + a card that already has cascade) work as expected.
Actual (very silly) example: If I cast a Maelstrom Wanderer as my first spell of the turn with 4 copies of the Nexus in play, I get three cascades: the first Nexus trigger, then the Wanderer's own two. The other three Nexus triggers leave the stack without firing.
The less good news is that this bug I reported in 1.5.4 is still present:
If you have more than one copy of Maelstrom Nexus on the battlefield, only the first one's trigger works when you cast your first spell of the turn. The others all appear on the stack, but vanish without doing anything. Only the first cascade happens.
Other situations where multiple cascades fire off the same spell (Maelstrom Wanderer, Maelstrom Nexus + a card that already has cascade) work as expected.
Actual (very silly) example: If I cast a Maelstrom Wanderer as my first spell of the turn with 4 copies of the Nexus in play, I get three cascades: the first Nexus trigger, then the Wanderer's own two. The other three Nexus triggers leave the stack without firing.
Re: Bug Reports (snapshot builds)
by moomarc » 21 Nov 2013, 08:33
I'm not sure whether this is actually a bug or not as I havent had time to test, but in r23702 the Verdant Succession script now has two Optional params, Optional$True and Optional$You.
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Bug Reports (snapshot builds)
by Chris H. » 24 Nov 2013, 17:40
I tried to do several build and deploys this morning and they all have same problems.
They hang when launched and display "Loading cards from folders -216%, ETA00:01".
I unzipped the cardsfolder.zip file within the res folder and deleted the cardsfolder.zip file from the res folder and Forge will then launch and proceeds to read the cards.
They hang when launched and display "Loading cards from folders -216%, ETA00:01".
I unzipped the cardsfolder.zip file within the res folder and deleted the cardsfolder.zip file from the res folder and Forge will then launch and proceeds to read the cards.
-
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)
by friarsol » 25 Nov 2013, 04:33
r23799
AI cast Due Respect during my upkeep,but when I played a Mountain it didn't ETB tapped., ugh. Even worse, it did ETB tapped, but it drew as untapped, even though it was tapped.
AI cast Due Respect during my upkeep,
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Bug Reports (snapshot builds)
by vidad36 » 25 Nov 2013, 12:43
Description: [describe what you were doing when the crash occurred]
- ConcurrentModificationException | Open
- Code: Select all
Forge Version: 1.5.5-r${forge.revision}${forge.specialStatus} (mixed revisions detected; please update from the root directory)
Operating System: Windows 7 6.1 x86
Java Version: 1.7.0_45 Oracle Corporation
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
at java.util.ArrayList$Itr.next(Unknown Source)
at com.google.common.collect.AbstractMapBasedMultimap$EntryIterator.next(AbstractMapBasedMultimap.java:1209)
at com.google.common.collect.AbstractMapBasedMultimap$EntryIterator.next(AbstractMapBasedMultimap.java:1177)
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
at forge.game.combat.Combat.getAttackers(Combat.java:197)
at forge.gui.match.TargetingOverlay.assembleArcs(TargetingOverlay.java:243)
at forge.gui.match.TargetingOverlay.access$300(TargetingOverlay.java:52)
at forge.gui.match.TargetingOverlay$OverlayPanel.paintComponent(TargetingOverlay.java:350)
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$1100(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)
- vidad36
- Posts: 1
- Joined: 25 Nov 2013, 12:38
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by DeadSpeak » 26 Nov 2013, 09:25
Using 1.5.6-20131125.140836-8:
The commander part seems to be broken... I have to choose whether my AI opponent keeps his hand or not and the opponent doesn't play any cards!
- DeadSpeak
The commander part seems to be broken... I have to choose whether my AI opponent keeps his hand or not and the opponent doesn't play any cards!
- DeadSpeak
- DeadSpeak
- Posts: 104
- Joined: 25 Dec 2009, 00:14
- Location: Denmark
- Has thanked: 4 times
- Been thanked: 3 times
Re: Bug Reports (snapshot builds)
by Agetian » 27 Nov 2013, 04:47
As of r23805, I still can't make Forge start with the card scripts compressed into cardsfolder.zip under "res/cardsfolder". Before r23805, it hung with "~216%" message. As of r23805, it hangs and the console shows a "division by zero" exception in CardStorageReader.java:277 in makeTaskListForFiles.
- 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 Chris H. » 27 Nov 2013, 14:21
Agetian wrote:As of r23805, I still can't make Forge start with the card scripts compressed into cardsfolder.zip under "res/cardsfolder". Before r23805, it hung with "~216%" message. As of r23805, it hangs and the console shows a "division by zero" exception in CardStorageReader.java:277 in makeTaskListForFiles.
- Agetian
Max fixed this bug is rev 23806.
People should download snapshot: forge-gui-1.5.6-20131127.141229-11.tar.bz2.
-
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
Who is online
Users browsing this forum: No registered users and 30 guests