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 atar » 25 Apr 2013, 22:41
Description: when i pushed the enter button after the game finished
- UncheckedExecutionException | Open
- Code: Select all
Forge Version: 1.3.13-SNAPSHOT-r20997
Operating System: Windows XP 5.1 x86
Java Version: 1.6.0_31 Sun Microsystems Inc.
com.google.common.util.concurrent.UncheckedExecutionException: java.awt.color.CMMException: Invalid image format
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2258)
at com.google.common.cache.LocalCache.get(LocalCache.java:3990)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3994)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4878)
at forge.ImageCache.getImage(ImageCache.java:202)
at forge.ImageCache.scaleImage(ImageCache.java:152)
at forge.ImageCache.getIcon(ImageCache.java:131)
at forge.gui.home.quest.PnlEvent.<init>(PnlEvent.java:53)
at forge.gui.home.quest.CSubmenuDuels.update(CSubmenuDuels.java:119)
at forge.gui.match.QuestWinLose.actionOnQuit(QuestWinLose.java:298)
at forge.gui.match.ControlWinLose$3.actionPerformed(ControlWinLose.java:63)
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$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)
Caused by: java.awt.color.CMMException: Invalid image format
at sun.awt.color.CMM.checkStatus(Unknown Source)
at sun.awt.color.ICC_Transform.<init>(Unknown Source)
at java.awt.image.ColorConvertOp.filter(Unknown Source)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.acceptPixels(Unknown Source)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImage(Native Method)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(Unknown Source)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at forge.ImageLoader._findFile(ImageLoader.java:88)
at forge.ImageLoader.load(ImageLoader.java:52)
at forge.ImageLoader.load(ImageLoader.java:1)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3589)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2374)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2337)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2252)
... 47 more
Re: Bug Reports (snapshot builds)
by Fetenbier » 26 Apr 2013, 01:59
Description: [End of Battle - Elf vs Elf deck in Questmode]
- NullPointerException | Open
- Code: Select all
Forge Version: 1.3.13-SNAPSHOT-r20997
Operating System: Windows 7 6.1 amd64
Java Version: 1.7.0_17 Oracle Corporation
java.lang.NullPointerException
at forge.card.mana.ManaCostBeingPaid.applySpellCostChange(ManaCostBeingPaid.java:708)
at forge.game.ai.ComputerUtilMana.calculateManaCost(ComputerUtilMana.java:418)
at forge.game.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:60)
at forge.card.ability.ai.ChangeZoneAi.chooseCreature(ChangeZoneAi.java:506)
at forge.card.ability.ai.ChangeZoneAi.hiddenOriginResolveAI(ChangeZoneAi.java:1212)
at forge.card.ability.effects.ChangeZoneEffect.changeHiddenOriginResolve(ChangeZoneEffect.java:594)
at forge.card.ability.effects.ChangeZoneEffect.resolve(ChangeZoneEffect.java:353)
at forge.card.ability.AbilityApiBased.resolve(AbilityApiBased.java:62)
at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1070)
at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1049)
at forge.game.ai.ComputerUtil.playNoStack(ComputerUtil.java:313)
at forge.card.trigger.WrappedAbility.resolve(WrappedAbility.java:418)
at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1070)
at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1049)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:615)
at forge.game.phase.PhaseHandler$1.run(PhaseHandler.java:741)
at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:749)
at forge.game.player.PlayerController.passPriority(PlayerController.java:77)
at forge.game.ai.AiController.onPriorityRecieved(AiController.java:821)
at forge.game.ai.AiInputCommon$1.run(AiInputCommon.java:74)
at forge.FThreads$1.run(FThreads.java:113)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Re: Bug Reports (snapshot builds)
by Max mtg » 26 Apr 2013, 02:06
#1. fixedslowe wrote:r21178 (still present at r21195)
#2. feature cut
To whoever is going to restore it, please save the user choices for triggers somewhere in PlayerController, that is aside from triggerHandler.
Last edited by Max mtg on 26 Apr 2013, 05:25, edited 2 times in total.
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)
by Max mtg » 26 Apr 2013, 02:37
- Code: Select all
java.lang.NullPointerException
at forge.card.ability.AbilityUtils.getDefinedCards(AbilityUtils.java:81)
at forge.game.ai.ComputerUtilCombat.predictToughnessBonusOfAttacker(ComputerUtilCombat.java:1184)
at forge.game.ai.AiAttackController.isEffectiveAttacker(AiAttackController.java:140)
at forge.game.ai.AiAttackController.shouldAttack(AiAttackController.java:872)
at forge.game.ai.AiAttackController.getAttackers(AiAttackController.java:562)
at forge.game.ai.AiController.declareAttackers(AiController.java:834)
at forge.game.ai.AiController.onPriorityRecieved(AiController.java:815)
at forge.game.ai.AiInputCommon$1.run(AiInputCommon.java:74)
at forge.FThreads$1.run(FThreads.java:113)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Will crash again if hostCard has no owner
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)
by Devilman06 » 26 Apr 2013, 11:23
Description: [describe what you were doing when the crash occurred]
Actually I happened in the snapshot from the 1.3.13 snapshot but has happened in other versions as well. If i try to continue it shows everything including deck at 99
is it something that I'm doing wrong?
- NullPointerException | Open
- Code: Select all
Forge Version: 1.3.13-SNAPSHOT-r21131
Operating System: Windows 7 6.1 x86
Java Version: 1.7.0_13 Oracle Corporation
java.lang.NullPointerException
at forge.gui.match.VMatchUI.populate(VMatchUI.java:106)
at forge.control.FControl.changeState(FControl.java:218)
at forge.game.MatchController.startRound(MatchController.java:170)
at forge.gui.home.variant.CSubmenuPlanechase$8.doInBackground(CSubmenuPlanechase.java:229)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Actually I happened in the snapshot from the 1.3.13 snapshot but has happened in other versions as well. If i try to continue it shows everything including deck at 99
is it something that I'm doing wrong?
- Devilman06
- Posts: 127
- Joined: 29 Jan 2010, 03:59
- Has thanked: 1 time
- Been thanked: 2 times
Re: Bug Reports (snapshot builds)
by Chris H. » 26 Apr 2013, 12:59
Devilman06 wrote:This is a bug report I get from starting in ArchEnemy with 3 opponents in the current version of Forge
- NullPointerException | Open
- Code: Select all
Forge Version: 1.3.13-SNAPSHOT-r21131
Operating System: Windows 7 6.1 x86
Java Version: 1.7.0_13 Oracle Corporation
java.lang.NullPointerException
at forge.gui.match.VMatchUI.populate(VMatchUI.java:106)
at forge.control.FControl.changeState(FControl.java:218)
at forge.game.MatchController.startRound(MatchController.java:170)
at forge.gui.home.variant.CSubmenuPlanechase$8.doInBackground(CSubmenuPlanechase.java:229)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Actually I happened in the snapshot from the 1.3.13 snapshot but has happened in other versions as well. If i try to continue it shows everything including deck at 99
is it something that I'm doing wrong?
I could not replicate this using yesterday's snapshot build.
There is a chance that this is related to the xml file corruption bug that a number of people have noticed.
On several occasions people have noticed that the Forge deck editor and/or quest mode card shop would not open or display. We have also received reports that some of the tabs/panels in the deck editor are missing. There has also been reports that Forge will crash while creating/populating display components during start up or crash when a match is started.
One or both of your layout xml files may be corrupted in some fashion. Try deleting the file(s) named "editor.xml" and/or "match.xml" that are now located in your userDir/preferences/ directory. This should force Forge to then use the default layout xml files instead.
-
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 Max mtg » 26 Apr 2013, 15:36
Chris, you won't be able to reproduce the reported problem.
It's related to thread misuse - Doublestrike's legacy by the way. He creates a swing worker thread and creates UI components from there (although they must not be touched by any other thread than EDT). Swing won't report any problems if anyone writes such code, but the game will eventually crash on some systems.
I think that once the SwingWorkers that start different types of matches are refactored, the problem with match starting with a blank screen will also be gone.
PS: I admit that this problem can be resolved by the method we've been suggesting for a few month. But those calls to UI from wrong threads (because I had to solve a lot of similiar issues when added threads for game logics in 1.3.12) seem to me like a red cloth for a bull.
It's related to thread misuse - Doublestrike's legacy by the way. He creates a swing worker thread and creates UI components from there (although they must not be touched by any other thread than EDT). Swing won't report any problems if anyone writes such code, but the game will eventually crash on some systems.
I think that once the SwingWorkers that start different types of matches are refactored, the problem with match starting with a blank screen will also be gone.
PS: I admit that this problem can be resolved by the method we've been suggesting for a few month. But those calls to UI from wrong threads (because I had to solve a lot of similiar issues when added threads for game logics in 1.3.12) seem to me like a red cloth for a bull.
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)
by Fetenbier » 27 Apr 2013, 00:27
Description: [Quest mode - Treefolk KI vs Elfs (me) at end of battle KI was winning it crash game]
- NullPointerException | Open
- Code: Select all
Forge Version: 1.3.13-SNAPSHOT-r20997
Operating System: Windows 7 6.1 amd64
Java Version: 1.7.0_17 Oracle Corporation
java.lang.NullPointerException
at forge.card.cardfactory.CardFactoryUtil.xCount(CardFactoryUtil.java:1805)
at forge.card.ability.AbilityUtils.xCount(AbilityUtils.java:1230)
at forge.card.ability.AbilityUtils.calculateAmount(AbilityUtils.java:350)
at forge.card.staticability.StaticAbilityContinuous.applyContinuousAbility(StaticAbilityContinuous.java:109)
at forge.card.staticability.StaticAbility.applyAbility(StaticAbility.java:244)
at forge.game.GameAction.checkStaticAbilities(GameAction.java:887)
at forge.card.trigger.TriggerHandler.runWaitingTriggers(TriggerHandler.java:184)
at forge.game.zone.MagicStack.unfreezeStack(MagicStack.java:201)
at forge.game.GameAction.checkStateEffects(GameAction.java:1079)
at forge.game.phase.PhaseHandler.handleBeginPhase(PhaseHandler.java:349)
at forge.gui.InputProxy$1.run(InputProxy.java:66)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Re: Bug Reports (snapshot builds)
by friarsol » 27 Apr 2013, 02:36
Casting Volcanic Geyser. I target a 3/3 that I want to kill, pay the RR and start paying the X cost. I get up to three mana and realize "if I just kill this 2/2 guy, I can also Tragic Slip the 3/3 dude I'm trying to kill anyways" so I hit cancel and uhh... Volcanic Geyser goes on the stack instead of my hand. All of my mana is used (the 3 mana I was spending on the Geyser X cost was not refunded) and X counts as 0. It resolves and doesn't deal any damage. If I hit cancel, the whole spell should refund.
- 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 Xitax » 27 Apr 2013, 16:45
What you want in this case is a "done" button and a "cancel" button, I think. There are several other cases where a "done" button would be useful, but the "cancel" button is used instead. Certain pop-up windows.
Re: Bug Reports (snapshot builds)
by friarsol » 27 Apr 2013, 17:00
The buttons are fine I have access to both an OK and a cancel, the action that the cancel button does is wrong.Xitax wrote:What you want in this case is a "done" button and a "cancel" button, I think. There are several other cases where a "done" button would be useful, but the "cancel" button is used instead. Certain pop-up windows.
- 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 friarsol » 27 Apr 2013, 23:35
It looks like Equipment is falling off when controllers change.
1. Give AI some Shuko or other free Equipment
2. Give AI some creature without Hexproof or Shroud
3. Cast Act of Treason on that creature after it equips.
1. Give AI some Shuko or other free Equipment
2. Give AI some creature without Hexproof or Shroud
3. Cast Act of Treason on that creature after it equips.
- 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 tengumai » 28 Apr 2013, 02:32
Increasing Confusion
In version 1.3.12-r20962:
This card does not give the player the opportunity to spend X mana, either from direct play or from flashback play. Accordingly, it always forces the opponent to mill 0 cards.
In version 1.3.12-r20962:
This card does not give the player the opportunity to spend X mana, either from direct play or from flashback play. Accordingly, it always forces the opponent to mill 0 cards.
- Game state file | Open
- Code: Select all
[AICardsInPlay=Plains
AICardsInHand=Forest
HumanCardsInPlay=Island;Island;Island;Island;Island
HumanCardsInHand=Increasing Confusion; Increasing Confusion; Increasing Confusion; Increasing Confusion
Re: Bug Reports (snapshot builds)
by breathstealer » 28 Apr 2013, 07:52
Description: [Just beat the computer with a 34/34 germ from 2 bonehoards and a batterskull, took it from 9 to -25 and I had 117 life. Also had 14 cards in my hand due to a Venser's Journal]
- NullPointerException | Open
- Code: Select all
Forge Version: 1.3.13-SNAPSHOT-r20997
Operating System: Windows 7 6.1 amd64
Java Version: 1.7.0_03 Oracle Corporation
java.lang.NullPointerException
at forge.card.cardfactory.CardFactoryUtil.xCount(CardFactoryUtil.java:1856)
at forge.card.ability.AbilityUtils.xCount(AbilityUtils.java:1230)
at forge.card.ability.AbilityUtils.calculateAmount(AbilityUtils.java:350)
at forge.card.staticability.StaticAbilityContinuous.applyContinuousAbility(StaticAbilityContinuous.java:119)
at forge.card.staticability.StaticAbility.applyAbility(StaticAbility.java:244)
at forge.game.GameAction.checkStaticAbilities(GameAction.java:887)
at forge.card.trigger.TriggerHandler.runWaitingTriggers(TriggerHandler.java:184)
at forge.game.zone.MagicStack.unfreezeStack(MagicStack.java:201)
at forge.game.GameAction.checkStateEffects(GameAction.java:1079)
at forge.game.phase.PhaseHandler.handleBeginPhase(PhaseHandler.java:349)
at forge.gui.InputProxy$1.run(InputProxy.java:66)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
- breathstealer
- Posts: 2
- Joined: 07 Mar 2009, 01:10
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by Jak » 28 Apr 2013, 09:19
Description: I cannot download any card pictures anymore. If I click on "Download LQ Set Pictures" it starts scanning, tells me "150 items found". If I click then on start, it starts and finishes after downloading the pictures, but they are still missing. And if I try it again it says again that 150 items are found. Seems like the pictures get downloaded to the wrong directory or not at all.

- General bug report | Open
- Code: Select all
Forge Version: 1.3.14-SNAPSHOT-r21226
Operating System: Windows 7 6.1 amd64
Java Version: 1.7.0_09 Oracle Corporation
- Jak
- Posts: 23
- Joined: 23 Mar 2011, 07:37
- Has thanked: 0 time
- Been thanked: 0 time
Who is online
Users browsing this forum: No registered users and 26 guests