It is currently 19 Apr 2024, 04:34
   
Text Size

Bug Reports (snapshot builds)

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Bug Reports (snapshot builds)

Postby stormcat » 22 May 2017, 05:18

:r34060
Descent into Madness's triggered ability can't cancel.
But it can now.
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby xbon » 26 May 2017, 07:02

http://i.imgur.com/3oAangY.jpg
Description: going into m1 after drawing for draw phase (a card I don't have the image of, probably)

IIOException | Open
Code: Select all
Forge Version:    34084
Operating System: Windows 10 10.0 amd64
Java Version:     1.8.0_131 Oracle Corporation

EDT > Could not read image file C:\Users\FiR3Pho3niX\AppData\Local\Forge\Cache\pics\cards\SHM\Mountain2.full.jpg
javax.imageio.IIOException: Can't create an ImageInputStream!
   at javax.imageio.ImageIO.read(Unknown Source)
   at forge.ImageLoader.load(ImageLoader.java:18)
   at forge.ImageLoader.load(ImageLoader.java:1)
   at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524)
   at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317)
   at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280)
   at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195)
   at com.google.common.cache.LocalCache.get(LocalCache.java:3934)
   at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938)
   at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821)
   at forge.ImageCache.getImage(ImageCache.java:220)
   at forge.ImageCache.getOriginalImage(ImageCache.java:147)
   at forge.ImageCache.scaleImage(ImageCache.java:173)
   at forge.ImageCache.getImage(ImageCache.java:88)
   at forge.CachedCardImage.getImage(CachedCardImage.java:27)
   at forge.view.arcane.CardPanel.updateImage(CardPanel.java:179)
   at forge.view.arcane.CardPanel.setCard(CardPanel.java:544)
   at forge.view.arcane.util.Animation$3$1$1.run(Animation.java:275)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$500(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$JavaSecurityAccessImpl.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)
xbon
 
Posts: 123
Joined: 04 Jun 2013, 22:52
Has thanked: 18 times
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Dracontes » 26 May 2017, 16:19

Bugs found so far on snapshot r34033:
- Cho-Manno, Revolutionary's damage prevention (pseudo)ability apparently doesn't work. It was blocked by a 3/3 creature and still it died.

- Having an issue with the multiplayer layout after a good bout of one-on-one play:
Snap 2017-05-19 at 03.44.06.jpg

Went to play as Archenemy against 3 AI players and hit a roadblock since I couldn't for the life of me find the tabs for the battlefield sections of the other two, thus being unable to choose between them for Your Inescapable Doom's effect. However, going directly to Archenemy play on my next session showed no such issue.

- I was a bit clumsy with the multiple selection of random color deck options and this error message showed up which didn't go away even after persistent clicking on the most likely areas.
Snap 2017-05-26 at 16.43.19.jpg

Killed the pertinent process on the Task Manager and got this crash report for my temerity when I started Forge afterward.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.63-SNAPSHOT-r-1
Operating System: Windows 7 6.1 x86
Java Version:     1.8.0_121 Oracle Corporation

java.lang.NullPointerException
   at forge.toolbox.FSkin$SkinFont.measureTextWidth(FSkin.java:957)
   at forge.view.FTitleBar.updatePreferredSize(FTitleBar.java:53)
   at forge.view.FTitleBar.setTitle(FTitleBar.java:38)
   at forge.view.FTitleBar.<init>(FTitleBar.java:20)
   at forge.view.FDialog.<init>(FDialog.java:94)
   at forge.view.FDialog.<init>(FDialog.java:78)
   at forge.toolbox.FOptionPane.<init>(FOptionPane.java:141)
   at forge.toolbox.FOptionPane.showOptionDialog(FOptionPane.java:82)
   at forge.GuiDesktop.showOptionDialog(GuiDesktop.java:148)
   at forge.util.gui.SOptionPane.showOptionDialog(SOptionPane.java:63)
   at forge.util.gui.SOptionPane.showMessageDialog(SOptionPane.java:33)
   at forge.deck.DeckgenUtil.colorCheck(DeckgenUtil.java:401)
   at forge.deck.ColorDeckGenerator.getDeck(ColorDeckGenerator.java:64)
   at forge.deckchooser.FDeckChooser.getDeck(FDeckChooser.java:202)
   at forge.screens.home.VLobby.selectMainDeck(VLobby.java:425)
   at forge.screens.home.VLobby.access$200(VLobby.java:71)
   at forge.screens.home.VLobby$3.run(VLobby.java:337)
   at forge.itemmanager.DeckManager$1.valueChanged(DeckManager.java:84)
   at forge.itemmanager.views.ItemView.onSelectionChange(ItemView.java:278)
   at forge.itemmanager.views.ItemListView$ItemTableModel$1.valueChanged(ItemListView.java:620)
   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.addSelectionInterval(Unknown Source)
   at javax.swing.JTable.addRowSelectionInterval(Unknown Source)
   at forge.itemmanager.views.ItemListView.onSetSelectedIndices(ItemListView.java:306)
   at forge.itemmanager.views.ItemView.setSelectedItems(ItemView.java:216)
   at forge.itemmanager.views.ItemView.setSelectedItems(ItemView.java:205)
   at forge.itemmanager.ItemManager.setSelectedItems(ItemManager.java:583)
   at forge.itemmanager.ItemManager.setSelectedStrings(ItemManager.java:636)
   at forge.deckchooser.FDeckChooser.restoreSavedState(FDeckChooser.java:382)
   at forge.deckchooser.FDeckChooser.populate(FDeckChooser.java:228)
   at forge.screens.home.CLobby.initialize(CLobby.java:78)
   at forge.screens.home.sanctioned.CSubmenuConstructed.initialize(CSubmenuConstructed.java:44)
   at forge.view.FView.initialize(FView.java:147)
   at forge.control.FControl$3.run(FControl.java:262)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$500(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$JavaSecurityAccessImpl.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)
Seems to be working satisfactorily enough now that I closed and opened Forge once more.
User avatar
Dracontes
 
Posts: 44
Joined: 29 Nov 2010, 17:51
Has thanked: 2 times
Been thanked: 7 times

Re: Bug Reports (snapshot builds)

Postby AtogMaster » 30 May 2017, 22:28

Description: AI played Ahn-Crop Crasher and attacked. I did have a tapped creature on my side, which might have freaked it out?

NullPointerException | Open
Code: Select all
Forge Version:    1.5.63-SNAPSHOT-r-1
Operating System: Mac OS X 10.12.5 x86_64
Java Version:     1.8.0_66 Oracle Corporation

java.lang.NullPointerException
   at forge.game.card.CardUtil.getValidCardsToTarget(CardUtil.java:512)
   at forge.ai.AiAttackController.exertAttackers(AiAttackController.java:1138)
   at forge.ai.PlayerControllerAi.exertAttackers(PlayerControllerAi.java:237)
   at forge.game.phase.PhaseHandler.declareAttackersTurnBasedAction(PhaseHandler.java:519)
   at forge.game.phase.PhaseHandler.onPhaseBegin(PhaseHandler.java:269)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:996)
   at forge.game.GameAction.startGame(GameAction.java:1497)
   at forge.game.Match.startGame(Match.java:100)
   at forge.match.HostedMatch$2.run(HostedMatch.java:224)
   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)
AtogMaster
 
Posts: 21
Joined: 16 Sep 2015, 17:52
Has thanked: 2 times
Been thanked: 1 time

Re: Bug Reports (snapshot builds)

Postby war-dog » 01 Jun 2017, 15:45

Not sure what triggered the exception, but I would say that AI tried to play ability of Planeswalker's Mischief
and I had no cards in hand.

Screenshot: http://imgur.com/ZeS1nQu

NoSuchElementException | Open
Code: Select all
Forge Version:    [b]1.5.63-SNAPSHOT-r-1[/b]
Operating System: Windows 10 10.0 amd64
Java Version:     1.8.0_131 Oracle Corporation

java.util.NoSuchElementException
   at java.util.ArrayList$Itr.next(Unknown Source)
   at java.util.Collections.max(Unknown Source)
   at forge.ai.ability.RevealAiBase.revealHandTargetAI(RevealAiBase.java:32)
   at forge.ai.ability.RevealAi.checkApiLogic(RevealAi.java:20)
   at forge.ai.SpellAbilityAi.canPlayWithoutRestrict(SpellAbilityAi.java:76)
   at forge.ai.SpellAbilityAi.canPlayAI(SpellAbilityAi.java:49)
   at forge.ai.SpellAbilityAi.canPlayAIWithSubs(SpellAbilityAi.java:32)
   at forge.ai.AiController.canPlaySa(AiController.java:638)
   at forge.ai.AiController.canPlayAndPayFor(AiController.java:622)
   at forge.ai.AiController.chooseSpellAbilityToPlayFromList(AiController.java:1121)
   at forge.ai.AiController.getSpellAbilityToPlay(AiController.java:1093)
   at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1073)
   at forge.ai.PlayerControllerAi.chooseSpellAbilityToPlay(PlayerControllerAi.java:395)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:944)
   at forge.game.GameAction.startGame(GameAction.java:1497)
   at forge.game.Match.startGame(Match.java:100)
   at forge.match.HostedMatch$2.run(HostedMatch.java:224)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
war-dog
 
Posts: 16
Joined: 02 Feb 2014, 15:29
Has thanked: 2 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby stormcat » 03 Jun 2017, 08:15

:r34122
Land Tax is broken.
It can search any lands.

P.S:
I can't reproduce this bug.
AI played it, and search 3 lands include Tundra.
I missed take a screenshot.
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby Dracontes » 03 Jun 2017, 14:18

Again on r34033:

- Forge still takes quite a bit to load the ~170'000 deck collection I obtained from the pertinent subforum. I've clocked it at 19 minutes from clicking on the program icon to being able to play.

- Some Archenemy scheme card effects could be more clear on labeling objects affected by them. My Crushing Masterstroke and The Dead Shall Serve only place some generic reminder text on the pertinent creatures instead of stating who of the AI instances is forcibly attacked if able like what happens with Rotted Ones, Lay Siege, which, with enough creatures moving back and forth on the board, can be a bit confusing.

- Also on Archenemy, here's some shenanigans compounded by having the forum deck collection I mentioned above loaded. I played the Prismatic Multiplayer deck (found here) against 4 AI opponents with random color decks (set to "Random 1 and Random 2") and after a while the AI starts noticeably lagging in its responsiveness and then Forge hangs completely. As usual I've resorted to killing the process in the Task Manager.

1st bout — After a long bout of one-on-one play, I managed to be clumsy again when selecting options for random color decks to set up an Archenemy match, but this time more frenetic clicking managed to salvage the situation and I carried on with my intent, that is, until I noticed I had misclicked and one of the heroes was now controlled by me. Didn't care at all for the situation so I conceded and corrected the set up. Played for a while, it hanged and then after a few tricks to get things going didn't work, I killed the process. On the next start up Forge crashed. The resulting crash report is appended.
2017-06-01-00.txt
(1.32 KiB) Downloaded 218 times

2nd bout — Set up the Archenemy match right away and started playing. The program hanged after a bit and I killed the process. However before starting it again, I moved the deck collection out of the pertinent folders to make things a bit less time-consuming. There was no crash for this start up.

3rd bout — Just to check if deck size was any trouble, I played again with the same match set up. No crashes or lagging the first time around, though when I continued with a rematch, Forge started acting up again which resulted in me killing its process.

4th bout — Afterward, I wondered if number of AI players was an issue and repeated the setup with 3 players, which resulted in no issues for three matches.

- The AI apparently likes doing the equivalent of twiddling its thumbs with two Aphetto Alchemists on the battlefield, using one to repeatedly and unexpectedly untap the other and vice-versa, after initially having used the latter to untap some other creature. A behavior that didn't accomplish much beyond annoying me.
User avatar
Dracontes
 
Posts: 44
Joined: 29 Nov 2010, 17:51
Has thanked: 2 times
Been thanked: 7 times

Re: Bug Reports (snapshot builds)

Postby Dracontes » 03 Jun 2017, 17:43

Went to poke around the puzzle section in r34033. Tried one for a change of pace and managed to solve it. I was however fairly surprised to garner about three achievements in Constructed format from my successful foray (Mythic level for Mana Screwed and Rare level for Need For Speed among them) which I'm not sure is the intended result. Time to nuke the achievement logs and start over, I guess.
User avatar
Dracontes
 
Posts: 44
Joined: 29 Nov 2010, 17:51
Has thanked: 2 times
Been thanked: 7 times

Re: Bug Reports (snapshot builds)

Postby fmartel » 03 Jun 2017, 18:33

Game froze when I killed an AI, plan of the BF follows. (V.1.5.63-S.-r34122)
Capture.PNG
BF_Frozen
fmartel
 
Posts: 281
Joined: 31 Dec 2013, 19:27
Location: Québec City
Has thanked: 8 times
Been thanked: 4 times

Re: Bug Reports (snapshot builds)

Postby tjtillman » 04 Jun 2017, 21:01

r34135

Minor bug, not a gameplay bug but I've seen it a few times before:

In sealed, if I start a Gauntlet, but then quit that gauntlet in the middle of it, and then start a single match against a single opponent, it actually starts a new guantlet. Weirdly, the first opponent in the new gauntlet is the proper opponent instead of opponent #1 (e.g. If I chose CPU opponent 3 it does match me against CPU opponent 3).
tjtillman
 
Posts: 202
Joined: 16 Sep 2013, 17:47
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Marek14 » 05 Jun 2017, 09:24

I used Snapcaster Mage to give flashback to Lingering Souls since I didn't have spare black mana. Result was that I couldn't cast it at all.

Krark's Thumb gives choice to lose or win a flip with Mana Clash, which doesn't really have winning or losing flips.
Marek14
Tester
 
Posts: 2759
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 296 times

Re: Bug Reports (snapshot builds)

Postby Dracontes » 06 Jun 2017, 14:57

Now for r34127:

- On the Deck Editor's card list, when set to image view, double-faced cards show up twice but with the same image for each instance when I'd expect that the two sides would be shown in turn.

- Triskaidekaphobia is missing on the alternate win achievements.

- On the Preferences page, there's a truncated sentence at the bottom of the "Graphic Options" section.
User avatar
Dracontes
 
Posts: 44
Joined: 29 Nov 2010, 17:51
Has thanked: 2 times
Been thanked: 7 times

Re: Bug Reports (snapshot builds)

Postby fmartel » 06 Jun 2017, 15:01

Description: [At AI's turn, he dropped a land to activate Hedron Crab landfall ability]

NullPointerException | Open
Code: Select all
Forge Version:    1.5.63-SNAPSHOT-r-1
Operating System: Windows 7 6.1 amd64
Java Version:     1.8.0_101 Oracle Corporation

java.lang.NullPointerException
   at forge.game.card.Card.hasProperty(Card.java:5370)
   at forge.game.card.Card.isValid(Card.java:3828)
   at forge.game.GameObject.isValid(GameObject.java:27)
   at forge.game.spellability.SpellAbility.canTarget(SpellAbility.java:947)
   at forge.game.card.CardPredicates$7.apply(CardPredicates.java:99)
   at forge.game.card.CardPredicates$7.apply(CardPredicates.java:96)
   at com.google.common.collect.Iterators$7.computeNext(Iterators.java:647)
   at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
   at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
   at forge.util.collect.FCollection.<init>(FCollection.java:90)
   at forge.game.card.CardCollection.<init>(CardCollection.java:115)
   at forge.game.card.CardLists.filter(CardLists.java:259)
   at forge.game.card.CardLists.getTargetableCards(CardLists.java:213)
   at forge.ai.ability.DestroyAi.canPlayAI(DestroyAi.java:106)
   at forge.ai.SpellAbilityAi.canPlayAIWithSubs(SpellAbilityAi.java:32)
   at forge.ai.AiController.canPlaySa(AiController.java:638)
   at forge.ai.AiController.canPlayAndPayFor(AiController.java:622)
   at forge.ai.AiController.chooseSpellAbilityToPlayFromList(AiController.java:1121)
   at forge.ai.AiController.getSpellAbilityToPlay(AiController.java:1093)
   at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1073)
   at forge.ai.PlayerControllerAi.chooseSpellAbilityToPlay(PlayerControllerAi.java:395)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:944)
   at forge.game.GameAction.startGame(GameAction.java:1512)
   at forge.game.Match.startGame(Match.java:100)
   at forge.match.HostedMatch$2.run(HostedMatch.java:224)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
fmartel
 
Posts: 281
Joined: 31 Dec 2013, 19:27
Location: Québec City
Has thanked: 8 times
Been thanked: 4 times

Re: Bug Reports (snapshot builds)

Postby stormcat » 08 Jun 2017, 10:13

:r34172
In 4 player Commander Game.
AI "Ann" cast Pact of Negation.It countered my spell.
Then Upkeep of AI "Belinda", Ann's Pact of Negation is triggered, and Ann lost.
Please refer to attachment.
Attachments
capture_001_08062017_190611.jpg
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby fmartel » 08 Jun 2017, 17:46

Description: [in a momir game, at CL phase of AI, game jammed]

ConcurrentModificationException | Open
Code: Select all
Forge Version:    1.5.64-SNAPSHOT-r-1
Operating System: Windows 7 6.1 amd64
Java Version:     1.8.0_101 Oracle Corporation

java.util.ConcurrentModificationException
   at java.util.LinkedList$ListItr.checkForComodification(Unknown Source)
   at java.util.LinkedList$ListItr.next(Unknown Source)
   at forge.game.card.CardView.getCollection(CardView.java:48)
   at forge.game.player.PlayerView.updateZone(PlayerView.java:351)
   at forge.game.player.Player.updateZoneForView(Player.java:1350)
   at forge.game.zone.PlayerZone.onChanged(PlayerZone.java:95)
   at forge.game.zone.Zone.remove(Zone.java:128)
   at forge.game.card.Card.ceaseToExist(Card.java:7022)
   at forge.game.Game.onPlayerLost(Game.java:617)
   at forge.game.GameAction.checkGameOverCondition(GameAction.java:1151)
   at forge.game.GameAction.checkStateEffects(GameAction.java:839)
   at forge.game.phase.PhaseHandler.checkStateBasedEffects(PhaseHandler.java:1021)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:932)
   at forge.game.GameAction.startGame(GameAction.java:1528)
   at forge.game.Match.startGame(Match.java:100)
   at forge.match.HostedMatch$2.run(HostedMatch.java:224)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
fmartel
 
Posts: 281
Joined: 31 Dec 2013, 19:27
Location: Québec City
Has thanked: 8 times
Been thanked: 4 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 45 guests


Who is online

In total there are 45 users online :: 0 registered, 0 hidden and 45 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 45 guests

Login Form