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 Sloth » 07 Jul 2012, 17:17
Yes it should. Read the reminder text of Unearth.mark wrote:I unearthed Hellspark Elemental and after that, the AI casted Unsummon targetting the card, but instead of putting it back into my hand, it was exiled. That should not happen.
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Bug Reports (snapshot builds)
by timmermac » 07 Jul 2012, 23:10
Actually, that is exactly what should happen. Look at the description for the Unearth ability. It says that if the card leaves the battlefield for any reason, it gets exiled.
Edit: D'oh. didn't see the next page.
Edit: D'oh. didn't see the next page.

"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 PowerClaws » 08 Jul 2012, 02:26
The keyword exalted doesnt tigger for each instance on a creature, so while sublime angel does give other creatures exalted, putting them in an exalted deck, or having two on the field doesnt help
- PowerClaws
- Posts: 131
- Joined: 30 Jan 2012, 11:33
- Has thanked: 28 times
- Been thanked: 8 times
Re: Bug Reports (snapshot builds)
by Sloth » 08 Jul 2012, 08:38
Fixed! Thanks mark.mark wrote: Martyr of Sands worked and is broken now: I can reveal my white cards and gain 0 life.
Fixed! Thanks PowerClaws.PowerClaws wrote:The keyword exalted doesnt tigger for each instance on a creature, so while sublime angel does give other creatures exalted, putting them in an exalted deck, or having two on the field doesnt help
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Bug Reports (snapshot builds)
by Jaedayr » 11 Jul 2012, 21:16
Got the following during my upkeep phase on the turn after AI cast Gelid Shackles
- | Open
- 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.
ComputerUtil : payManaCost() cost was not paid for Gelid Shackles
Version:
Forge version 1.2.10-SNAPSHOT-r16084
OS: Windows 7 Version: 6.1 Architecture: x86
Java Version: 1.6.0_29 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.RuntimeException: ComputerUtil : payManaCost() cost was not paid for Gelid Shackles
at forge.game.player.ComputerUtil.payManaCost(ComputerUtil.java:748)
at forge.game.player.ComputerUtil.payManaCost(ComputerUtil.java:566)
at forge.card.cost.CostMana.payAI(CostMana.java:194)
at forge.card.cost.CostPayment.payComputerCosts(CostPayment.java:309)
at forge.game.player.ComputerUtil.handlePlayingSpellAbility(ComputerUtil.java:161)
at forge.game.player.ComputerUtil.playSpellAbilities(ComputerUtil.java:91)
at forge.game.player.ComputerUtil.playSpellAbilities(ComputerUtil.java:112)
at forge.game.player.ComputerAIGeneral.stackResponse(ComputerAIGeneral.java:366)
at forge.game.player.ComputerAIGeneral.stackNotEmpty(ComputerAIGeneral.java:350)
at forge.control.input.InputControl.updateInput(InputControl.java:260)
at forge.gui.GuiInput.update(GuiInput.java:58)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.util.MyObservable.updateObservers(MyObservable.java:41)
at forge.control.input.InputControl.resetInput(InputControl.java:146)
at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:872)
at forge.control.input.InputPassPriority.selectButtonOK(InputPassPriority.java:76)
at forge.gui.GuiInput.selectButtonOK(GuiInput.java:92)
at forge.gui.match.controllers.CMessage$2.actionPerformed(CMessage.java:52)
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$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.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$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.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 Jaedayr » 11 Jul 2012, 23:37
Got the following as the AI was beginning combat step. I had 2 red creatures and it had 3 slivers on the field.
- | Open
- 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.2.10-SNAPSHOT-r16084
OS: Windows 7 Version: 6.1 Architecture: x86
Java Version: 1.6.0_29 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NullPointerException
at forge.game.phase.CombatUtil.combatTriggerWillTrigger(CombatUtil.java:1412)
at forge.game.phase.CombatUtil.checkDestroyAttackerTrigger(CombatUtil.java:1968)
at forge.game.phase.CombatUtil.canDestroyAttacker(CombatUtil.java:2047)
at forge.game.player.ComputerUtilAttack.shouldAttack(ComputerUtilAttack.java:850)
at forge.game.player.ComputerUtilAttack.getAttackers(ComputerUtilAttack.java:764)
at forge.game.player.ComputerUtil.getAttackers(ComputerUtil.java:1732)
at forge.game.player.ComputerAIGeneral.declareAttackers(ComputerAIGeneral.java:268)
at forge.game.player.ComputerAIInput.think(ComputerAIInput.java:109)
at forge.game.player.ComputerAIInput.showMessage(ComputerAIInput.java:74)
at forge.gui.GuiInput.setInput(GuiInput.java:74)
at forge.gui.GuiInput.update(GuiInput.java:60)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.util.MyObservable.updateObservers(MyObservable.java:41)
at forge.game.phase.PhaseHandler.nextPhase(PhaseHandler.java:591)
at forge.gui.match.controllers.CMessage$2.actionPerformed(CMessage.java:57)
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$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.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$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.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 friarsol » 12 Jul 2012, 01:50
I ran a profiler today (Visual VM) on my netbook because I haven't really been able to play more than one quest game before Forge was swallowing my CPU and lagging everything down. It looks like there's a ton of CPU time being taken up by forge.view.arcane.util.ImageUtil.getImage(File). I played for maybe 15 minutes or so, and 50% of the cpu time was taken up by this function. I played for another 5-10 minutes and CPU time is over 60% now. We should definitely fix this.
I usually can play a single game in about 5-10 minutes and it took me 25 to play this one because the CPU was getting destroyed.
I usually can play a single game in about 5-10 minutes and it took me 25 to play this one because the CPU was getting destroyed.
- 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 DeadSpeak » 12 Jul 2012, 13:33
Just played the computer... (using the latest snapshot) it put a Basilisk Collar on its Troll Ascetic and it went from a 3/2 to a 7/6 !!!!
Checked Basilisk Collar and found:
Name:Basilisk Collar
ManaCost:1
Types:Artifact Equipment
Text:no text
K:Equip 2
S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ 4 | AddToughness$ 4 | AddKeyword$ Deathtouch & Lifelink | Description$ Equipped creature has deathtouch and lifelink.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/basilisk_collar.jpg
SetInfo:WWK|Rare|http://magiccards.info/scans/en/wwk/122.jpg
Oracle:Equipped creature has deathtouch and lifelink.\nEquip
End
That's not correct
So... I lost.
- DeadSpeak

Checked Basilisk Collar and found:
Name:Basilisk Collar
ManaCost:1
Types:Artifact Equipment
Text:no text
K:Equip 2
S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ 4 | AddToughness$ 4 | AddKeyword$ Deathtouch & Lifelink | Description$ Equipped creature has deathtouch and lifelink.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/basilisk_collar.jpg
SetInfo:WWK|Rare|http://magiccards.info/scans/en/wwk/122.jpg
Oracle:Equipped creature has deathtouch and lifelink.\nEquip

End
That's not correct

So... I lost.
- 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 Sloth » 12 Jul 2012, 15:43
Fixed! Thanks Jaedayr.Jaedayr wrote:Got the following as the AI was beginning combat step. I had 2 red creatures and it had 3 slivers on the field.
Fixed! Thanks DeadSpeak.DeadSpeak wrote:Just played the computer... (using the latest snapshot) it put a Basilisk Collar on its Troll Ascetic and it went from a 3/2 to a 7/6 !!!!![]()
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Bug Reports (snapshot builds)
by Jaedayr » 13 Jul 2012, 00:43
Got the following during combat phase when effect from Sword of Body and Mind was on the stack. ( Not sure where RhysTheRedeemedAbility.getCopy came from. )
- | Open
- 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.2.10-SNAPSHOT-r16084
OS: Windows 7 Version: 6.1 Architecture: x86
Java Version: 1.6.0_29 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NullPointerException
at forge.card.spellability.Target.<init>(Target.java:455)
at forge.card.cardfactory.CardFactoryCreatures$1RhysTheRedeemedAbility.getCopy(CardFactoryCreatures.java:562)
at forge.CardUtil.getLKICopy(CardUtil.java:980)
at forge.GameAction.changeZone(GameAction.java:153)
at forge.GameAction.moveTo(GameAction.java:328)
at forge.GameAction.moveTo(GameAction.java:309)
at forge.GameAction.moveToGraveyard(GameAction.java:496)
at forge.GameAction.moveTo(GameAction.java:773)
at forge.GameAction.moveTo(GameAction.java:748)
at forge.game.player.Player.mill(Player.java:1717)
at forge.card.abilityfactory.AbilityFactoryZoneAffecting.millResolve(AbilityFactoryZoneAffecting.java:1045)
at forge.card.abilityfactory.AbilityFactoryZoneAffecting.access$800(AbilityFactoryZoneAffecting.java:56)
at forge.card.abilityfactory.AbilityFactoryZoneAffecting$1DrawbackMill.resolve(AbilityFactoryZoneAffecting.java:739)
at forge.card.abilityfactory.AbilityFactory.resolveSubAbilities(AbilityFactory.java:2826)
at forge.card.abilityfactory.AbilityFactory.resolve(AbilityFactory.java:2795)
at forge.card.spellability.SpellAbilityRequirements.finishPaying(SpellAbilityRequirements.java:189)
at forge.card.cost.CostPayment.payCost(CostPayment.java:233)
at forge.card.spellability.SpellAbilityRequirements.startPaying(SpellAbilityRequirements.java:178)
at forge.card.spellability.SpellAbilityRequirements.needPayment(SpellAbilityRequirements.java:165)
at forge.card.spellability.SpellAbilityRequirements.fillRequirements(SpellAbilityRequirements.java:132)
at forge.GameAction.playSpellAbilityNoStack(GameAction.java:2577)
at forge.card.trigger.TriggerHandler$2.resolve(TriggerHandler.java:994)
at forge.card.abilityfactory.AbilityFactory.resolve(AbilityFactory.java:2792)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:959)
at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:875)
at forge.game.player.ComputerAIGeneral.stackResponse(ComputerAIGeneral.java:407)
at forge.game.player.ComputerAIGeneral.stackNotEmpty(ComputerAIGeneral.java:350)
at forge.control.input.InputControl.updateInput(InputControl.java:260)
at forge.gui.GuiInput.update(GuiInput.java:58)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.util.MyObservable.updateObservers(MyObservable.java:41)
at forge.control.input.InputControl.resetInput(InputControl.java:146)
at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:864)
at forge.control.input.InputPassPriority.selectButtonOK(InputPassPriority.java:76)
at forge.gui.GuiInput.selectButtonOK(GuiInput.java:92)
at forge.gui.match.controllers.CMessage$2.actionPerformed(CMessage.java:52)
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$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.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$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.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 ArsenalNut » 13 Jul 2012, 04:42
I suspect the computer had a Rhys The Redeemed in the cards that got milled. The getLKICopy method was rewritten in r16114 so I don't think this will happen anymore.Jaedayr wrote:Got the following during combat phase when effect from Sword of Body and Mind was on the stack. ( Not sure where RhysTheRedeemedAbility.getCopy came from. )
- | Open
- 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.2.10-SNAPSHOT-r16084
OS: Windows 7 Version: 6.1 Architecture: x86
Java Version: 1.6.0_29 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NullPointerException
at forge.card.spellability.Target.<init>(Target.java:455)
at forge.card.cardfactory.CardFactoryCreatures$1RhysTheRedeemedAbility.getCopy(CardFactoryCreatures.java:562)
at forge.CardUtil.getLKICopy(CardUtil.java:980)
at forge.GameAction.changeZone(GameAction.java:153)
at forge.GameAction.moveTo(GameAction.java:328)
at forge.GameAction.moveTo(GameAction.java:309)
at forge.GameAction.moveToGraveyard(GameAction.java:496)
at forge.GameAction.moveTo(GameAction.java:773)
at forge.GameAction.moveTo(GameAction.java:748)
at forge.game.player.Player.mill(Player.java:1717)
at forge.card.abilityfactory.AbilityFactoryZoneAffecting.millResolve(AbilityFactoryZoneAffecting.java:1045)
at forge.card.abilityfactory.AbilityFactoryZoneAffecting.access$800(AbilityFactoryZoneAffecting.java:56)
at forge.card.abilityfactory.AbilityFactoryZoneAffecting$1DrawbackMill.resolve(AbilityFactoryZoneAffecting.java:739)
at forge.card.abilityfactory.AbilityFactory.resolveSubAbilities(AbilityFactory.java:2826)
at forge.card.abilityfactory.AbilityFactory.resolve(AbilityFactory.java:2795)
at forge.card.spellability.SpellAbilityRequirements.finishPaying(SpellAbilityRequirements.java:189)
at forge.card.cost.CostPayment.payCost(CostPayment.java:233)
at forge.card.spellability.SpellAbilityRequirements.startPaying(SpellAbilityRequirements.java:178)
at forge.card.spellability.SpellAbilityRequirements.needPayment(SpellAbilityRequirements.java:165)
at forge.card.spellability.SpellAbilityRequirements.fillRequirements(SpellAbilityRequirements.java:132)
at forge.GameAction.playSpellAbilityNoStack(GameAction.java:2577)
at forge.card.trigger.TriggerHandler$2.resolve(TriggerHandler.java:994)
at forge.card.abilityfactory.AbilityFactory.resolve(AbilityFactory.java:2792)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:959)
at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:875)
at forge.game.player.ComputerAIGeneral.stackResponse(ComputerAIGeneral.java:407)
at forge.game.player.ComputerAIGeneral.stackNotEmpty(ComputerAIGeneral.java:350)
at forge.control.input.InputControl.updateInput(InputControl.java:260)
at forge.gui.GuiInput.update(GuiInput.java:58)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.util.MyObservable.updateObservers(MyObservable.java:41)
at forge.control.input.InputControl.resetInput(InputControl.java:146)
at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:864)
at forge.control.input.InputPassPriority.selectButtonOK(InputPassPriority.java:76)
at forge.gui.GuiInput.selectButtonOK(GuiInput.java:92)
at forge.gui.match.controllers.CMessage$2.actionPerformed(CMessage.java:52)
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$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.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$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.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)
You may want to download one on the newer snapshots from this week. Based on the revision number in the crash report, the one you're using is about 100 revisions behind.
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 Chris H. » 13 Jul 2012, 11:32
ArsenalNut wrote:You may want to download one on the newer snapshots from this week. Based on the revision number in the crash report, the one you're using is about 100 revisions behind.
The SVN revision number that appears in the crash reports and the forge title bar is incorrect and it will always display a number that is older than the true SVN revision number.
The incorrect number that is displayed appears to increase at some point in time.
-
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 » 13 Jul 2012, 15:06
Ok, so I stepped through this code a bit this morning and it seems like Quest Pet tokens aren't actually being cached, unlike mostly everything else. It looks like the issue might be because card characteristics doesn't have the right Image name, so it's just never getting saved. It seems ok for normal tokens. I'm not sure if anything is actually being put into the cache right now or not. But I almost feel like they aren't.friarsol wrote:I ran a profiler today (Visual VM) on my netbook because I haven't really been able to play more than one quest game before Forge was swallowing my CPU and lagging everything down. It looks like there's a ton of CPU time being taken up by forge.view.arcane.util.ImageUtil.getImage(File). I played for maybe 15 minutes or so, and 50% of the cpu time was taken up by this function. I played for another 5-10 minutes and CPU time is over 60% now. We should definitely fix this.
I usually can play a single game in about 5-10 minutes and it took me 25 to play this one because the CPU was getting destroyed.
So I'm going to add an explicit addition into the cache and try to fix the quest icons (since obviously they do have the right name show up, since I can see the token images on the BF), when I get some time.
- 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 Jaedayr » 13 Jul 2012, 20:43
This error occurred using Forge 1.2.10-20120712.110201-17. I will try to include the real rev number if the auto-reported one is incorrect. I am not downloading a snapshot every day, but I have not been letting it get more than a week old before replacing it.ArsenalNut wrote:I suspect the computer had a Rhys The Redeemed in the cards that got milled. The getLKICopy method was rewritten in r16114 so I don't think this will happen anymore.Jaedayr wrote:Got the following during combat phase when effect from Sword of Body and Mind was on the stack. ( Not sure where RhysTheRedeemedAbility.getCopy came from. )
- | Open
- 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.2.10-SNAPSHOT-r16084
OS: Windows 7 Version: 6.1 Architecture: x86
Java Version: 1.6.0_29 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NullPointerException
at forge.card.spellability.Target.<init>(Target.java:455)
at forge.card.cardfactory.CardFactoryCreatures$1RhysTheRedeemedAbility.getCopy(CardFactoryCreatures.java:562)
at forge.CardUtil.getLKICopy(CardUtil.java:980)
at forge.GameAction.changeZone(GameAction.java:153)
at forge.GameAction.moveTo(GameAction.java:328)
at forge.GameAction.moveTo(GameAction.java:309)
at forge.GameAction.moveToGraveyard(GameAction.java:496)
at forge.GameAction.moveTo(GameAction.java:773)
at forge.GameAction.moveTo(GameAction.java:748)
at forge.game.player.Player.mill(Player.java:1717)
at forge.card.abilityfactory.AbilityFactoryZoneAffecting.millResolve(AbilityFactoryZoneAffecting.java:1045)
at forge.card.abilityfactory.AbilityFactoryZoneAffecting.access$800(AbilityFactoryZoneAffecting.java:56)
at forge.card.abilityfactory.AbilityFactoryZoneAffecting$1DrawbackMill.resolve(AbilityFactoryZoneAffecting.java:739)
at forge.card.abilityfactory.AbilityFactory.resolveSubAbilities(AbilityFactory.java:2826)
at forge.card.abilityfactory.AbilityFactory.resolve(AbilityFactory.java:2795)
at forge.card.spellability.SpellAbilityRequirements.finishPaying(SpellAbilityRequirements.java:189)
at forge.card.cost.CostPayment.payCost(CostPayment.java:233)
at forge.card.spellability.SpellAbilityRequirements.startPaying(SpellAbilityRequirements.java:178)
at forge.card.spellability.SpellAbilityRequirements.needPayment(SpellAbilityRequirements.java:165)
at forge.card.spellability.SpellAbilityRequirements.fillRequirements(SpellAbilityRequirements.java:132)
at forge.GameAction.playSpellAbilityNoStack(GameAction.java:2577)
at forge.card.trigger.TriggerHandler$2.resolve(TriggerHandler.java:994)
at forge.card.abilityfactory.AbilityFactory.resolve(AbilityFactory.java:2792)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:959)
at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:875)
at forge.game.player.ComputerAIGeneral.stackResponse(ComputerAIGeneral.java:407)
at forge.game.player.ComputerAIGeneral.stackNotEmpty(ComputerAIGeneral.java:350)
at forge.control.input.InputControl.updateInput(InputControl.java:260)
at forge.gui.GuiInput.update(GuiInput.java:58)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.util.MyObservable.updateObservers(MyObservable.java:41)
at forge.control.input.InputControl.resetInput(InputControl.java:146)
at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:864)
at forge.control.input.InputPassPriority.selectButtonOK(InputPassPriority.java:76)
at forge.gui.GuiInput.selectButtonOK(GuiInput.java:92)
at forge.gui.match.controllers.CMessage$2.actionPerformed(CMessage.java:52)
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$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.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$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.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)
You may want to download one on the newer snapshots from this week. Based on the revision number in the crash report, the one you're using is about 100 revisions behind.
Re: Bug Reports (snapshot builds)
by Jaedayr » 13 Jul 2012, 23:16
1.2.10-20120712.110201-17
AI has one Virulent Sliver and One Plated Sliver on field. Both have Poisonous 1, Poisonous 1, Poisonous 1. I killed the Virulent Sliver and now the Plated Sliver has Poisonous 1, Poisonous 1.
AI has one Virulent Sliver and One Plated Sliver on field. Both have Poisonous 1, Poisonous 1, Poisonous 1. I killed the Virulent Sliver and now the Plated Sliver has Poisonous 1, Poisonous 1.
Who is online
Users browsing this forum: No registered users and 30 guests