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 Agetian » 29 Jun 2013, 15:19
r22329: NPE right after the AI played a Morph card as face down 2/2. Was fatal, had to restart Forge to continue playing.
- NullPointerException | Open
- Code: Select all
Forge Version: 1.4.3-SNAPSHOT-r22329
Operating System: Windows 7 6.1 x86
Java Version: 1.7.0_09 Oracle Corporation
java.lang.NullPointerException
at forge.card.cardfactory.CardFactoryUtil$1.canPlay(CardFactoryUtil.java:180)
at forge.game.ai.AiController.canPlayAndPayFor(AiController.java:474)
at forge.game.ai.AiController.chooseSpellAbilyToPlay(AiController.java:462)
at forge.game.ai.AiController.getSpellAbilityToPlay(AiController.java:816)
at forge.game.ai.AiController.playSpellAbilities(AiController.java:790)
at forge.game.ai.AiController.onPriorityRecieved(AiController.java:738)
at forge.game.player.PlayerControllerAi.takePriority(PlayerControllerAi.java:344)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:847)
at forge.game.GameAction.startGame(GameAction.java:1465)
at forge.game.Match$1.run(Match.java:105)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
- Agetian
- Programmer
- Posts: 3486
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 569 times
Re: Bug Reports (snapshot builds)
by Haytrid » 29 Jun 2013, 15:27
So is this the correct way to report this? Using 1.4.1-r22075.
Description: This crash regularly when transitioning to deck editor from anywhere.
Description: This crash regularly when transitioning to deck editor from anywhere.
- InvalidLayoutFileException | Open
- Code: Select all
Forge Version: 1.4.1-r22075
Operating System: Windows 7 6.1 x86
Java Version: 1.7.0_25 Oracle Corporation
forge.gui.framework.InvalidLayoutFileException
at forge.gui.framework.SLayoutIO.loadLayout(SLayoutIO.java:191)
at forge.gui.deckeditor.VDeckEditorUI.populate(VDeckEditorUI.java:35)
at forge.control.FControl.changeState(FControl.java:248)
at forge.gui.toolbox.DeckLister.editDeck(DeckLister.java:438)
at forge.gui.toolbox.DeckLister.access$7(DeckLister.java:422)
at forge.gui.toolbox.DeckLister$EditButton$1.mouseClicked(DeckLister.java:255)
at java.awt.AWTEventMulticaster.mouseClicked(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$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 timmermac » 29 Jun 2013, 15:45
Close... It probably should've gone in the 1.4.1 Beta thread. To fix the error you experienced, there are buttons on one of the menu screens that will reset the layouts.Haytrid wrote:So is this the correct way to report this? Using 1.4.1-r22075.
Description: This crash regularly when transitioning to deck editor from anywhere.
- InvalidLayoutFileException | Open
- Code: Select all
Forge Version: 1.4.1-r22075
Operating System: Windows 7 6.1 x86
Java Version: 1.7.0_25 Oracle Corporation
forge.gui.framework.InvalidLayoutFileException
at forge.gui.framework.SLayoutIO.loadLayout(SLayoutIO.java:191)
at forge.gui.deckeditor.VDeckEditorUI.populate(VDeckEditorUI.java:35)
at forge.control.FControl.changeState(FControl.java:248)
at forge.gui.toolbox.DeckLister.editDeck(DeckLister.java:438)
at forge.gui.toolbox.DeckLister.access$7(DeckLister.java:422)
at forge.gui.toolbox.DeckLister$EditButton$1.mouseClicked(DeckLister.java:255)
at java.awt.AWTEventMulticaster.mouseClicked(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$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)
Edit: ignore the last part of that. The buttons that I was referring to didn't exist in the last beta.

"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 Chris H. » 29 Jun 2013, 16:00
Haytrid wrote:So is this the correct way to report this? Using 1.4.1-r22075.
Forge beta 1.4.1 is based on the SVN version 22075. Bug reports for this version should be made to the topic:Forge Beta: 06-14-2013 ver 1.4.1
This topic is for the daily snapshot builds. If you look at the filename of the jar file for the version that you are using you should notice that it does not include "snapshot" in the file name.
You are using an older version of Forge, please update to version 1.4.2.
-
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 Haytrid » 29 Jun 2013, 17:06
Crazy on my version, I just downloaded this for the first time yesterday, I wonder how I grabbed an old version? Thank you for the clarification, I will download the latest and try to post errors in the correct thread next time.
Re: Bug Reports (snapshot builds)
by Max mtg » 29 Jun 2013, 17:17
It could be the lastest at that moment.
Versions are updated bi-weekly on Fridays, about 13:00 GMT
Versions are updated bi-weekly on Fridays, about 13:00 GMT
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 Agetian » 29 Jun 2013, 17:34
r22330: In addition to my previous report related to hotseat, I played a bit more in hotseat mode and can say that it breaks consistently on the second match of the duel if the first match ends with one of the players winning. Easy to reproduce by entering a hotseat match and setting one of the players' life to 0 via dev mode. Forge will crash as soon as you click "Continue" to initiate the second match. The players get to sideboard before the crash if there are sideboards available. Interestingly, if the game is interrupted via conceding (Alt+F4), it is considered a draw and then Forge does not crash when advancing to the next match.
- 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 Kapoue » 01 Jul 2013, 14:17
Description: I'm loading my quest game. I've been having real trouble with this savegame. I lost progress many times.
- NullPointerException | Open
- Code: Select all
Forge Version: 1.4.2-r22320
Operating System: Windows 7 6.1 x86
Java Version: 1.7.0_25 Oracle Corporation
java.lang.NullPointerException
at forge.quest.QuestEventDifficulty.fromString(QuestEventDifficulty.java:25)
at forge.quest.io.QuestDuelReader.read(QuestDuelReader.java:33)
at forge.quest.io.QuestDuelReader.read(QuestDuelReader.java:18)
at forge.util.storage.StorageReaderFolder.readAll(StorageReaderFolder.java:99)
at forge.util.storage.StorageView.<init>(StorageView.java:51)
at forge.quest.QuestEventDuelManager.<init>(QuestEventDuelManager.java:52)
at forge.quest.QuestController.resetDuelsManager(QuestController.java:384)
at forge.quest.QuestController.load(QuestController.java:198)
at forge.gui.home.quest.CSubmenuQuestData.changeQuest(CSubmenuQuestData.java:274)
at forge.gui.home.quest.CSubmenuQuestData.access$000(CSubmenuQuestData.java:40)
at forge.gui.home.quest.CSubmenuQuestData$1.run(CSubmenuQuestData.java:51)
at forge.gui.home.quest.QuestFileLister.selectHandler(QuestFileLister.java:292)
at forge.gui.home.quest.QuestFileLister.access$1000(QuestFileLister.java:31)
at forge.gui.home.quest.QuestFileLister$RowPanel$1.mousePressed(QuestFileLister.java:218)
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$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 Bundy » 01 Jul 2013, 14:23
Description: Computer plays a morph creature. I can't continue the game, so i have no idea what the morph card is. Morph card is only played, the computer has no mana to turn it face up.
- NullPointerException | Open
- Code: Select all
Forge Version: 1.4.3-SNAPSHOT-r22348
Operating System: Windows 8 6.2 x86
Java Version: 1.7.0_25 Oracle Corporation
java.lang.NullPointerException
at forge.card.cardfactory.CardFactoryUtil$1.canPlay(CardFactoryUtil.java:180)
at forge.game.ai.AiController.canPlayAndPayFor(AiController.java:474)
at forge.game.ai.AiController.chooseSpellAbilyToPlay(AiController.java:462)
at forge.game.ai.AiController.getSpellAbilityToPlay(AiController.java:816)
at forge.game.ai.AiController.playSpellAbilities(AiController.java:790)
at forge.game.ai.AiController.onPriorityRecieved(AiController.java:738)
at forge.game.player.PlayerControllerAi.takePriority(PlayerControllerAi.java:344)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:847)
at forge.game.GameAction.startGame(GameAction.java:1467)
at forge.game.Match$1.run(Match.java:105)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
- Bundy
- Posts: 348
- Joined: 17 Dec 2010, 17:32
- Location: The netherlands
- Has thanked: 23 times
- Been thanked: 3 times
Re: Bug Reports (snapshot builds)
by xbon » 01 Jul 2013, 16:47
Description: used morph
- NullPointerException | Open
- Code: Select all
Forge Version: r22369
Operating System: Windows 8 6.2 x86
Java Version: 1.7.0_25 Oracle Corporation
java.lang.NullPointerException
at forge.card.cardfactory.CardFactoryUtil$1.canPlay(CardFactoryUtil.java:176)
at forge.game.ai.AiController.canPlayAndPayFor(AiController.java:474)
at forge.game.ai.AiController.chooseSpellAbilyToPlay(AiController.java:462)
at forge.game.ai.AiController.getSpellAbilityToPlay(AiController.java:816)
at forge.game.ai.AiController.playSpellAbilities(AiController.java:790)
at forge.game.ai.AiController.onPriorityRecieved(AiController.java:738)
at forge.game.player.PlayerControllerAi.takePriority(PlayerControllerAi.java:344)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:847)
at forge.game.GameAction.startGame(GameAction.java:1467)
at forge.game.Match$1.run(Match.java:105)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Last edited by xbon on 02 Jul 2013, 21:56, edited 1 time in total.
Re: Bug Reports (snapshot builds)
by Agetian » 01 Jul 2013, 17:06
r22370: Another random InputPayManaOfCostPayment crash when casting a spell (Loxodon Warhammer this time, probably it doesn't matter though).
- RuntimeException | Open
- Code: Select all
Forge Version: 1.4.3-SNAPSHOT-r22370
Operating System: Windows 7 6.1 x86
Java Version: 1.7.0_09 Oracle Corporation
java.lang.RuntimeException: Cannot remove input InputPayManaOfCostPayment because it's not on top of stack. Stack = []
at forge.control.InputQueue.removeInput(InputQueue.java:55)
at forge.gui.input.InputSyncronizedBase.stop(InputSyncronizedBase.java:35)
at forge.gui.input.InputPayMana.onStateChanged(InputPayMana.java:261)
at forge.gui.input.InputPayMana$1.run(InputPayMana.java:189)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
- Agetian
- Programmer
- Posts: 3486
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 569 times
Re: Bug Reports (snapshot builds)
by Agetian » 02 Jul 2013, 18:46
r22374:
1) For some reason Vivid Creek and Vivid Marsh (and maybe the other similar lands if they exist?) show two options to the player when entering the battlefield - "...enters the game tapped with 2 charge counters" (correct) and "...enters the game tapped". I think there should be no choice at all and it should just enter the game with 2 charge counters?
2) Also, it seems like the AI cast Imperiosaur using mana from a nonbasic land while it should only be cast with mana coming from basic lands.
- Agetian
1) For some reason Vivid Creek and Vivid Marsh (and maybe the other similar lands if they exist?) show two options to the player when entering the battlefield - "...enters the game tapped with 2 charge counters" (correct) and "...enters the game tapped". I think there should be no choice at all and it should just enter the game with 2 charge counters?
2) Also, it seems like the AI cast Imperiosaur using mana from a nonbasic land while it should only be cast with mana coming from basic lands.
- 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 Agetian » 03 Jul 2013, 09:52
r22383: 1) the UI is not properly updated when declaring an attack (the attack icon does not appear on the creature declared as an attacker immediately upon left click; it appears only after mouse is moved). Same applies to the blocker declared icon, it does not appear until you hover your mouse over the blocker.
2) (something new I've never noticed before) when selecting a deck to play with (e.g. on the Constructed screen when selecting the AI/player's deck), the selected deck is reset to the default one (e.g. random1/random2 for the random color deck) if you select a deck and then move the mouse cursor up (e.g. into the area with the radio button choices).
- Agetian
2) (something new I've never noticed before) when selecting a deck to play with (e.g. on the Constructed screen when selecting the AI/player's deck), the selected deck is reset to the default one (e.g. random1/random2 for the random color deck) if you select a deck and then move the mouse cursor up (e.g. into the area with the radio button choices).
- 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 Max mtg » 03 Jul 2013, 10:53
1. You are reporting these ui-related bugs in a wrong thread. Use correct one: viewtopic.php?f=52&t=11012
2. Stupid doublestrike... fixed
2. Stupid doublestrike... fixed
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 Agetian » 03 Jul 2013, 11:42
@ Max: Oh, sorry, didn't realize there was a separate thread for it... anyhoo, thanks for fixing!
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3486
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 569 times
Who is online
Users browsing this forum: Google [Bot], RoverTrump and 15 guests