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 nefigah » 22 Oct 2014, 06:28
OK, this time I'm sure I updated.
r28052:
Got this exception after casting Howl of the Horde (after having attacked with a creature, if it makes a difference) and then casting Ancestral Recall.

r28052:
Got this exception after casting Howl of the Horde (after having attacked with a creature, if it makes a difference) and then casting Ancestral Recall.
- NoSuchElementException | Open
- Code: Select all
Forge Version: 1.5.29-SNAPSHOT-r28052
Operating System: Mac OS X 10.10 x86_64
Java Version: 1.8.0_25 Oracle Corporation
java.util.NoSuchElementException
at java.util.LinkedList.getFirst(LinkedList.java:244)
at forge.util.FCollection.getFirst(FCollection.java:55)
at forge.game.card.Card.getFirstSpellAbility(Card.java:1840)
at forge.game.card.CardFactory.copySpellAbilityAndSrcCard(CardFactory.java:147)
at forge.game.ability.effects.CopySpellAbilityEffect.resolve(CopySpellAbilityEffect.java:134)
at forge.game.ability.AbilityApiBased.resolve(AbilityApiBased.java:60)
at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1225)
at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1207)
at forge.player.HumanPlaySpellAbility.playAbility(HumanPlaySpellAbility.java:127)
at forge.player.HumanPlay.playSpellAbilityNoStack(HumanPlay.java:195)
at forge.player.PlayerControllerHuman.playSpellAbilityNoStack(PlayerControllerHuman.java:227)
at forge.game.trigger.WrappedAbility.resolve(WrappedAbility.java:407)
at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1225)
at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1207)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:466)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:940)
at forge.game.GameAction.startGame(GameAction.java:1351)
at forge.game.Match.startGame(Match.java:71)
at forge.match.MatchUtil$2.run(MatchUtil.java:200)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Re: Bug Reports (snapshot builds)
by kubiac470 » 22 Oct 2014, 11:30
Win game in commander mode with dommage
Description: [describe what you were doing when the crash occurred]
Description: [describe what you were doing when the crash occurred]
- NullPointerException | Open
- Code: Select all
Forge Version: 1.5.29-SNAPSHOT-r28045 (mixed revisions detected; please update from the root directory)
Operating System: Windows 7 6.1 amd64
Java Version: 1.7.0_67 Oracle Corporation
java.lang.NullPointerException
at forge.game.card.CardFactoryUtil.getCommanderInfo(CardFactoryUtil.java:2034)
at forge.game.card.CardView.getText(CardView.java:524)
at forge.card.CardDetailUtil.composeCardText(CardDetailUtil.java:217)
at forge.gui.CardDetailPanel.setCard(CardDetailPanel.java:260)
at forge.screens.match.controllers.CDetail.showCard(CDetail.java:53)
at forge.screens.match.CMatchUI.setCard(CMatchUI.java:238)
at forge.screens.match.CMatchUI.setCard(CMatchUI.java:233)
at forge.view.arcane.CardPanelContainer$3.mouseMoved(CardPanelContainer.java:237)
at java.awt.Component.processMouseMotionEvent(Unknown Source)
at javax.swing.JComponent.processMouseMotionEvent(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$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.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.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)
Re: Bug Reports (snapshot builds)
by fiend123 » 22 Oct 2014, 13:12
When the AI targets its own Morph creature with AI controlled spells or ability, the UI tells me the name of the morph creature.
R28007
R28007
Re: Bug Reports (snapshot builds)
by drdev » 22 Oct 2014, 15:10
This looks like an issue that was already fixed. Also, please provide a description in the future, as it makes tracking down bugs much easier.siyiye wrote:Description: [describe what you were doing when the crash occurred]
- NullPointerException | Open
- Code: Select all
Forge Version: 1.5.29-SNAPSHOT-r-1u
Operating System: Windows 7 6.1 x86
Java Version: 1.7.0_25 Oracle Corporation
java.lang.NullPointerException
at forge.card.CardDetailUtil.composeCardText(CardDetailUtil.java:243)
at forge.gui.CardDetailPanel.setCard(CardDetailPanel.java:258)
at forge.screens.match.controllers.CDetail.showCard(CDetail.java:53)
at forge.screens.match.CMatchUI.setCard(CMatchUI.java:238)
at forge.screens.match.CMatchUI.setCard(CMatchUI.java:233)
at forge.gui.GuiChoose$1$1.valueChanged(GuiChoose.java:218)
at javax.swing.JList.fireSelectionValueChanged(Unknown Source)
at javax.swing.JList$ListSelectionHandler.valueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
at javax.swing.DefaultListSelectionModel.setSelectionInterval(Unknown Source)
at javax.swing.JList.setSelectedIndex(Unknown Source)
at javax.swing.JList.setSelectedValue(Unknown Source)
at forge.gui.ListChooser$3.run(ListChooser.java:171)
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.pumpEventsForFilter(Unknown Source)
at java.awt.WaitDispatchSupport$2.run(Unknown Source)
at java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at forge.view.FDialog.setVisible(FDialog.java:176)
at forge.toolbox.FOptionPane.setVisible(FOptionPane.java:272)
at forge.gui.ListChooser.show(ListChooser.java:178)
at forge.gui.ListChooser.show(ListChooser.java:152)
at forge.gui.GuiChoose$1.call(GuiChoose.java:233)
at forge.gui.GuiChoose$1.call(GuiChoose.java:198)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.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)
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Re: Bug Reports (snapshot builds)
by fiend123 » 22 Oct 2014, 15:32
R28007
Crashed while AI is resolving Gilded Drake's triggered ability. Happened to me twice, though I only have the log for the second time.
Crashed while AI is resolving Gilded Drake's triggered ability. Happened to me twice, though I only have the log for the second time.
- ConcurrentModificationException | Open
- Code: Select all
Forge Version: 1.5.29-SNAPSHOT-r-1u
Operating System: Windows 7 6.1 x86
Java Version: 1.7.0_71 Oracle Corporation
java.util.ConcurrentModificationException
at java.util.LinkedList$ListItr.checkForComodification(Unknown Source)
at java.util.LinkedList$ListItr.next(Unknown Source)
at forge.game.GameAction.checkStaticAbilities(GameAction.java:613)
at forge.game.ability.AbilityUtils.resolveSubAbilities(AbilityUtils.java:1217)
at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1232)
at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1207)
at forge.ai.ComputerUtil.playNoStack(ComputerUtil.java:252)
at forge.ai.PlayerControllerAi.playSpellAbilityNoStack(PlayerControllerAi.java:302)
at forge.game.trigger.WrappedAbility.resolve(WrappedAbility.java:407)
at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1225)
at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1207)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:466)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:940)
at forge.game.GameAction.startGame(GameAction.java:1358)
at forge.game.Match.startGame(Match.java:71)
at forge.match.MatchUtil$2.run(MatchUtil.java:200)
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 » 22 Oct 2014, 15:43
You seem to be on a pretty old revision (as far as snapshot builds go). A lot of things were fixed in the last 50 checkins, you'd be better off upgrading to the latest snapshot than reporting issues on your release.fiend123 wrote:R28007
- 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 nefigah » 22 Oct 2014, 18:26
r28052, I've been getting an IllegalComponentState exception, something to do with drawing targeting arcs. But I can't figure out exactly what's causing it. I'll report back when I'm able to reproduce consistently
Re: Bug Reports (snapshot builds)
by phantumdragun » 22 Oct 2014, 23:32
As of the time of this post, the auto update site is stuck on r28007. He probably thinks he's on the latest build for that reason.friarsol wrote:You seem to be on a pretty old revision (as far as snapshot builds go). A lot of things were fixed in the last 50 checkins, you'd be better off upgrading to the latest snapshot than reporting issues on your release.fiend123 wrote:R28007
- phantumdragun
- Posts: 7
- Joined: 10 Sep 2014, 19:32
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by drdev » 23 Oct 2014, 00:03
This is fixed in r28057.nefigah wrote:r28052, I've been getting an IllegalComponentState exception, something to do with drawing targeting arcs. But I can't figure out exactly what's causing it. I'll report back when I'm able to reproduce consistently
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Re: Bug Reports (snapshot builds)
by nefigah » 23 Oct 2014, 00:15
Lol, and I was just about to post that I found a test case to reproduce it every time!! Oh well, glad you squashed it anywaydrdev wrote:This is fixed in r28057.nefigah wrote:r28052, I've been getting an IllegalComponentState exception, something to do with drawing targeting arcs. But I can't figure out exactly what's causing it. I'll report back when I'm able to reproduce consistently

(My test case, btw, was using Suspend on Knight of Sursi, putting the Suspend trigger on auto-yield the following upkeep, and then ending the turn)
Re: Bug Reports (snapshot builds)
by drdev » 23 Oct 2014, 00:31
Finally discovered the cause of this crash and fixed it in r28060.kubiac470 wrote:win with laboratory maniac in commander
thanks
Description: [describe what you were doing when the crash occurred]
- ArrayIndexOutOfBoundsException | Open
- Code: Select all
Forge Version: 1.5.29-SNAPSHOT-r28045 (mixed revisions detected; please update from the root directory)
Operating System: Windows 7 6.1 amd64
Java Version: 1.7.0_67 Oracle Corporation
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at java.util.Collections$UnmodifiableList.get(Unknown Source)
at forge.game.player.Player.getRegisteredPlayer(Player.java:2070)
at forge.achievement.ChallengeAchievements$DeckChallengeAchievement.eval(ChallengeAchievements.java:59)
at forge.achievement.ProgressiveAchievement.evaluate(ProgressiveAchievement.java:26)
at forge.achievement.Achievement.update(Achievement.java:156)
at forge.achievement.AchievementCollection.updateAll(AchievementCollection.java:112)
at forge.achievement.AchievementCollection$1.run(AchievementCollection.java:54)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Bounce Spells cause an error - Bug Reports (snapshot builds)
by bruizer » 23 Oct 2014, 03:26
Used Chain of Vapor on an opponent's creature.
Any type of bounce spell that I use seems to crash the game.
Any type of bounce spell that I use seems to crash the game.
- bruizer
- Posts: 2
- Joined: 14 Oct 2014, 21:14
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by Agetian » 23 Oct 2014, 04:17
I noticed that the stack targeting arrows do not seem to appear immediately. For instance, when I cast Destructive Revelry on the opponent's Mox Pearl, the effect went on the stack but there was no targeting arrow for it when I hovered my mouse over the stack item or over Mox Pearl. I started experimenting and cycled through the targeting arrow modes (off/on/mouse over), and it seems that after I cycled through them (and maybe hit Space afterwards but I don't think that mattered because that did not cause the stack item to resolve, I was still on the "Dock" panel) and was back at the "mouse over" mode, the targeting arrow from Destructive Revelry on the stack to Mox Pearl appeared (when I moused over it again).
- 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 Snowstorm » 23 Oct 2014, 04:32
Can anyone please tell me how to update to the newest snapshot? I asked some pages back when I was posting a bug but no one replied and I noticed some others asked as well but I didn't see anyone reply to them either. Currently I am running the one Chris posted a page back but other than that the autoupdate site is outdated so I have no idea where and how to download the new ones and I don't know if the bugs I found were already fixed because of that. So can someone please help!!! 

Re: Bug Reports (snapshot builds)
by fiend123 » 23 Oct 2014, 06:10
Yeah, I had actually went to http://www.krazyweb.net/forge/ for the latest build immediately prior to making any bug reports to make sure that I wasn't on an older build. How was I suppose to know that the auto update site is broken.phantumdragun wrote:As of the time of this post, the auto update site is stuck on r28007. He probably thinks he's on the latest build for that reason.friarsol wrote:You seem to be on a pretty old revision (as far as snapshot builds go). A lot of things were fixed in the last 50 checkins, you'd be better off upgrading to the latest snapshot than reporting issues on your release.fiend123 wrote:R28007
Who is online
Users browsing this forum: No registered users and 42 guests