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 RumbleBBU » 21 Dec 2012, 11:08
Thanks, Max - that indeed did the trick.Max mtg wrote:Have you updated the pom.xml file which references this artifact?
Wonder why my initial SVN checkout didn't update that for me. I had to do it manually.

Re: Bug Reports (snapshot builds)
by friarsol » 21 Dec 2012, 15:09
r18805
Attacked with a few creatures into a Lightmine Field and got this error on resolution of the trigger.
Attacked with a few creatures into a Lightmine Field and got this error on resolution of the trigger.
- Object Conversion NPE | Open
- java.lang.ClassCastException: forge.Card cannot be cast to forge.game.player.Player
at forge.card.abilityfactory.AbilityFactory.getDefinedPlayers(AbilityFactory.java:1024)
at forge.card.abilityfactory.AbilityFactory.getDefinedObjects(AbilityFactory.java:1227)
at forge.card.abilityfactory.effects.DamageDealEffect.resolve(DamageDealEffect.java:84)
at forge.card.abilityfactory.CommonAbility.resolve(CommonAbility.java:61)
at forge.card.abilityfactory.AbilityFactory.passUnlessCost(AbilityFactory.java:1569)
at forge.card.abilityfactory.AbilityFactory.resolve(AbilityFactory.java:1717)
at forge.game.player.ComputerUtil.playNoStack(ComputerUtil.java:442)
at forge.card.trigger.WrappedAbility.resolve(WrappedAbility.java:515)
at forge.card.abilityfactory.AbilityFactory.resolve(AbilityFactory.java:1714)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:912)
at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:768)
at forge.game.player.ComputerAIGeneral.playSpellAbilities(ComputerAIGeneral.java:348)
at forge.control.input.InputControl.getActualInput(InputControl.java:252)
at forge.gui.GuiInput.update(GuiInput.java:50)
- 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 moomarc » 21 Dec 2012, 16:19
These are fixed now. Thanks krevett!krevett wrote:These pictures don't download properly via the in-game download feature:
AEther Rift [INV - Invasion]
AEthersnipe [COM - Commander]
-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 krevett » 21 Dec 2012, 17:15
When downloading quest images the game always find 76 items to download (everything is downloaded up to v1.3.3) but when I upgrade to the latest snapshot these 76 items appear again in the download screen.
- krevett
- Posts: 109
- Joined: 21 Feb 2012, 22:24
- Location: France
- Has thanked: 18 times
- Been thanked: 9 times
Re: Bug Reports (snapshot builds)
by Sloth » 21 Dec 2012, 19:35
Both fixed! Thanks Agetian.Agetian wrote:1) Having Demonic Hordes in play, but no land, and not paying its upkeep causes Forge to crash.
My opponent had 1 card in his hand. I cast Thought Prison, and the game crashed before I got to look at his hand. Crash report:
I can't reproduce this.Agetian wrote:1) I copied my opponent's Cathodion with my Sculpting Steel. I later destroyed them both at the same time with Worldslayer, but the Cathodion effect only triggered for my opponent
Fixed! Thanks sol.friarsol wrote:Attacked with a few creatures into a Lightmine Field and got this error on resolution of the trigger.
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Bug Reports (snapshot builds)
by Agetian » 22 Dec 2012, 07:08
Hmm, just tried it on the latest nightly and still got the bug. Here's a test case:Sloth wrote:I can't reproduce this.Agetian wrote:1) I copied my opponent's Cathodion with my Sculpting Steel. I later destroyed them both at the same time with Worldslayer, but the Cathodion effect only triggered for my opponent
- Code: Select all
ActivePhase=Main1
ActivePlayer=Human
AICardsInPlay=Cathodion
AICardsInHand=Plains
HumanCardsInHand=Dross Crocodile; Sculpting Steel
HumanCardsInPlay=Swamp;Swamp;Swamp;Swamp;Swamp;Swamp;Swamp;Swamp;Swamp;Swamp;Swamp;Swamp;Worldslayer
I think this is actually an instance of a known issue with clones' "leaves play" events not triggering - too bad this one (along with trigger timing, such as the timing of mana abilities vs. other triggers and whatnot) are so difficult to fix, I guess if we could get those down somehow we would have had a very close to authentic implementation of the core MTG rules...
- Agetian
Last edited by Agetian on 22 Dec 2012, 12:37, edited 1 time in total.
- Agetian
- Programmer
- Posts: 3489
- Joined: 14 Mar 2011, 05:58
- Has thanked: 684 times
- Been thanked: 572 times
Re: Bug Reports (snapshot builds)
by krevett » 22 Dec 2012, 08:38
If I use Swords to Plowshares on a morphed creature (thus a 2/2 creature) my opponent gains life equal to the unmorphed creature power rather than 2.
- krevett
- Posts: 109
- Joined: 21 Feb 2012, 22:24
- Location: France
- Has thanked: 18 times
- Been thanked: 9 times
Re: Bug Reports (snapshot builds)
by ArsenalNut » 22 Dec 2012, 17:17
I believe morphed creatures leaving play have similar issues to clones leaving playing. The implementation is basically the same inside the Forge code.krevett wrote:If I use Swords to Plowshares on a morphed creature (thus a 2/2 creature) my opponent gains life equal to the unmorphed creature power rather than 2.
So many cards, so little time
-
ArsenalNut - Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Bug Reports (snapshot builds)
by ArsenalNut » 22 Dec 2012, 18:06
This is not a really a bug report but I have an issue with the latest changes to Forge. Constructed mode won't let me start a game with a deck with less than 60 cards. This a real problem for me. I often test new cards scripts or bug fixes by building small decks with only the cards I am interested in using and use the generate mana developer mode function instead of playing lands. Personally I would prefer if this restriction was removed from the Sanctioned Formats/Constructed mode, but if the community would prefer to keep the restriction, then please add a developer mode that does not have the restriction.
So many cards, so little time
-
ArsenalNut - Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Bug Reports (snapshot builds)
by Agetian » 22 Dec 2012, 18:50
@ ArsenalNut: Personally I'd vote for this to become some sort of a developer mode switch or something like that... (perhaps an option in Preferences related to developer mode?) Under normal (non-testing) circumstances, a Constructed game is not allowed to proceed with less than 60 cards in deck, it's a MTG rule.
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3489
- Joined: 14 Mar 2011, 05:58
- Has thanked: 684 times
- Been thanked: 572 times
Re: Bug Reports (snapshot builds)
by ArsenalNut » 22 Dec 2012, 19:10
That works for me since I almost always play with the developer mode enabled. I want to learn some of the GUI code so I'll figure how to disable the deck size check if developer mode is enabled in the preferences.Agetian wrote:@ ArsenalNut: Personally I'd vote for this to become some sort of a developer mode switch or something like that... (perhaps an option in Preferences related to developer mode?) Under normal (non-testing) circumstances, a Constructed game is not allowed to proceed with less than 60 cards in deck, it's a MTG rule.
- Agetian
We should probably make sure future Forge beta releases have developer mode off by default. In the past, the developer mode has been enabled by default.
So many cards, so little time
-
ArsenalNut - Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Bug Reports (snapshot builds)
by goonjamin » 22 Dec 2012, 21:20
r18823 - Game-state picture attached.
I received the following crash when I tapped Oracle's Attendants and selected Hungry Mist as the target creature and Rogue Elephant as the damage source.
I received the following crash when I tapped Oracle's Attendants and selected Hungry Mist as the target creature and Rogue Elephant as the damage source.
- Code: Select all
This is a Crash Report. An error has occurred. Please save this message to a file.
Please follow the instructions at this address to submit this Crash Report, plus what you were doing at the time:
http://tinyurl.com/3zzrnyb
Reporting bugs in Forge is very important. We thank you for your time.
null
Version:
Forge version 1.3.4-SNAPSHOT-r0000
OS: Windows 7 Version: 6.1 Architecture: x86
Java Version: 1.6.0_35 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NullPointerException
at forge.card.abilityfactory.AbilityFactory.getAbility(AbilityFactory.java:131)
at forge.card.replacement.ReplacementHandler.executeReplacement(ReplacementHandler.java:185)
at forge.card.replacement.ReplacementHandler.run(ReplacementHandler.java:144)
at forge.card.replacement.ReplacementHandler.run(ReplacementHandler.java:74)
at forge.Card.replaceDamage(Card.java:8186)
at forge.Card.addCombatDamage(Card.java:7819)
at forge.game.phase.Combat.dealAssignedDamage(Combat.java:915)
at forge.game.phase.PhaseHandler.handleBeginPhase(PhaseHandler.java:349)
at forge.control.input.InputControl.getActualInput(InputControl.java:186)
at forge.gui.GuiInput.update(GuiInput.java:50)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.util.MyObservable.updateObservers(MyObservable.java:38)
at forge.game.phase.PhaseHandler.nextPhase(PhaseHandler.java:511)
at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:765)
at forge.gui.GuiInput.update(GuiInput.java:57)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.util.MyObservable.updateObservers(MyObservable.java:38)
at forge.control.input.InputControl.resetInput(InputControl.java:140)
at forge.control.input.InputControl.resetInput(InputControl.java:136)
at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:773)
at forge.gui.GuiInput.update(GuiInput.java:57)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.util.MyObservable.updateObservers(MyObservable.java:38)
at forge.game.phase.PhaseHandler.nextPhase(PhaseHandler.java:511)
at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:765)
at forge.game.player.ComputerAIGeneral.playSpellAbilitiesStackEmpty(ComputerAIGeneral.java:87)
at forge.game.player.ComputerAIGeneral.playSpellAbilities(ComputerAIGeneral.java:340)
at forge.control.input.InputControl.getActualInput(InputControl.java:252)
at forge.gui.GuiInput.update(GuiInput.java:50)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.util.MyObservable.updateObservers(MyObservable.java:38)
at forge.control.input.InputControl.resetInput(InputControl.java:140)
at forge.control.input.InputControl.resetInput(InputControl.java:136)
at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:773)
at forge.control.input.InputPassPriority.selectButtonOK(InputPassPriority.java:74)
at forge.gui.GuiInput.selectButtonOK(GuiInput.java:80)
at forge.gui.match.controllers.CMessage$2.actionPerformed(CMessage.java:51)
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.AWTEventMulticaster.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$400(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(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.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Re: Bug Reports (snapshot builds)
by goonjamin » 23 Dec 2012, 16:01
r18831 - Was playing the Storm quest opponent and received the following crash when they played Captured Sunlight.
The computer revealed the cards, I clicked ok and then the crash came up.
The computer revealed the cards, I clicked ok and then the crash came up.
- Code: Select all
This is a Crash Report. An error has occurred. Please save this message to a file.
Please follow the instructions at this address to submit this Crash Report, plus what you were doing at the time:
http://tinyurl.com/3zzrnyb
Reporting bugs in Forge is very important. We thank you for your time.
null
Version:
Forge version 1.3.4-SNAPSHOT-r0000
OS: Windows 7 Version: 6.1 Architecture: x86
Java Version: 1.6.0_35 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NullPointerException
at forge.card.abilityfactory.ai.DamageDealAi.damageChoosingTargets(DamageDealAi.java:229)
at forge.card.abilityfactory.ai.DamageDealAi.doTriggerAINoCost(DamageDealAi.java:399)
at forge.card.abilityfactory.SpellAiLogic.doTriggerNoCostWithSubs(SpellAiLogic.java:31)
at forge.card.abilityfactory.CommonSpell.canPlayFromEffectAI(CommonSpell.java:59)
at forge.GameActionUtil$9$1.resolve(GameActionUtil.java:184)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:912)
at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:768)
at forge.control.input.InputPassPriority.selectButtonOK(InputPassPriority.java:74)
at forge.gui.GuiInput.selectButtonOK(GuiInput.java:80)
at forge.gui.match.controllers.CMessage$2.actionPerformed(CMessage.java:51)
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.AWTEventMulticaster.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$400(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(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.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Re: Bug Reports (snapshot builds)
by timmermac » 23 Dec 2012, 18:19
Do you remember what Storm cascaded into? That would make it a bit easier to determine what caused the crash.
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
Re: Bug Reports (snapshot builds)
by goonjamin » 23 Dec 2012, 19:42
Sorry, I don't recall which card was cascaded into and the crash happened after I closed the dialogue so I couldn't get a screen shot. I checked the play log after but didn't see any notes related to what card it was either.
If I see the crash again I will be sure to pay more attention.
If I see the crash again I will be sure to pay more attention.
Who is online
Users browsing this forum: No registered users and 9 guests