It is currently 17 May 2025, 12:45
   
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 Fizanko » 16 Sep 2014, 20:43

on r27408 i tried my first planechase game, but i noticed some problems regarding the card display when you alternate between the Hand and the Command

By example sometime the Command display correctly :
Image
And the Hand will display black instead of the correct pictures :
Image

While sometime it's the opposite (Hand display correct picture but Command will display black).

On the right panel of the screen, when you move the mouse over a blackened card, you can see the correct picture being displayed.
probably outdated by now so you should avoid : Innistrad world for Forge (updated 17/11/2014)
Duel Decks for Forge - Forge custom decks (updated 25/10/2014)
User avatar
Fizanko
Tester
 
Posts: 780
Joined: 07 Feb 2014, 11:24
Has thanked: 155 times
Been thanked: 94 times

Re: Bug Reports (snapshot builds)

Postby elcnesh » 16 Sep 2014, 21:05

Agetian wrote:1) Got this NPE when playing a game in Human vs. Human hot seat mode, most likely related to the GUI not handling the drawing of cards in the "other player's hand" correctly (or something like that). This NPE happens at every card draw (e.g. the draw step). Also, the side effect of this error is visible in that the card picture is not visible once you switch over to the hand of the player who drew the card.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.28-SNAPSHOT-r27449u (mixed revisions detected; please update from the root directory)
Operating System: Linux 3.8.0-26-generic amd64
Java Version:     1.7.0_51 Oracle Corporation

java.lang.NullPointerException
   at forge.toolbox.FSkin.drawImage(FSkin.java:405)
   at forge.toolbox.CardFaceSymbols.drawSymbol(CardFaceSymbols.java:231)
   at forge.toolbox.CardFaceSymbols.draw(CardFaceSymbols.java:166)
   at forge.view.arcane.CardPanel.drawManaCost(CardPanel.java:347)
   at forge.view.arcane.CardPanel.displayIconOverlay(CardPanel.java:437)
   at forge.view.arcane.CardPanel.doLayout(CardPanel.java:389)
   at forge.view.arcane.CardPanel.repaintOverlays(CardPanel.java:813)
   at forge.screens.match.CMatchUI.repaintCardOverlays(CMatchUI.java:478)
   at forge.GuiDesktop.updateTurn(GuiDesktop.java:250)
   at forge.control.FControlGameEventHandler$3.run(FControlGameEventHandler.java:125)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:694)
   at java.awt.EventQueue$3.run(EventQueue.java:692)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
2) Also, it looks like something is still up with the attacker icons. At least in Human vs. Human mode, the "second human player"'s attacker icons are not visualized/removed correctly (for instance, after alpha strike is declared the attacker icons do not disappear when the cards are right clicked to call the attacker(s) back).

3) And one more issue, a rather unpleasant one: it looks like cards' mana costs "flicker" between phases (every time a phase is switched, it looks like an additional representation of the card's mana cost appears for a fraction of a second on the card and then disappears). Might be more apparent on tapped cards, and also on cards with "attachments" (auras, equipment) on them. This is true for any game mode, both Human vs. AI and Human vs. Human.

- Agetian
I think I fixed the first two, although getting it right when the GUI has to update what is a real pain... Will get more stable over time as I figure it out. The third I really don't see, but I removed what I think causes it because it's no longer necessary thanks to the other update.

After this project I'll never want to see another CardPanel again :P
elcnesh
 
Posts: 290
Joined: 16 May 2014, 15:11
Location: Netherlands
Has thanked: 34 times
Been thanked: 92 times

Re: Bug Reports (snapshot builds)

Postby KrazyTheFox » 16 Sep 2014, 22:12

cc-drake wrote:I just won a draft of "Portal Second Age" (PO2) in quest mode and am asked to select a rare as price. When I scroll down and reach Norwood Priestess, I get the following exception. Seems as if Piracy is missing.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.28-SNAPSHOT-r-1u
Operating System: Windows 8.1 6.3 x86
Java Version:     1.7.0_67 Oracle Corporation

java.lang.NullPointerException
   at forge.game.card.CardFactory.getCard(CardFactory.java:232)
   at forge.game.card.CardFactory.getCard(CardFactory.java:228)
   at forge.game.card.Card.fromPaperCard(Card.java:9114)
   at forge.game.card.Card.getCardForUi(Card.java:9127)
   at forge.gui.CardListChooser$SelListener.valueChanged(CardListChooser.java:175)
   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.plaf.basic.BasicListUI$Actions.changeSelection(Unknown Source)
   at javax.swing.plaf.basic.BasicListUI$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$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.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:160)
   at forge.screens.home.quest.CSubmenuQuestDraft.endTournamentAndAwardPrizes(CSubmenuQuestDraft.java:215)
   at forge.screens.home.quest.CSubmenuQuestDraft.access$300(CSubmenuQuestDraft.java:52)
   at forge.screens.home.quest.CSubmenuQuestDraft$4.run(CSubmenuQuestDraft.java:84)
   at forge.toolbox.FLabel._doMouseAction(FLabel.java:291)
   at forge.toolbox.FLabel.access$1300(FLabel.java:35)
   at forge.toolbox.FLabel$6.onLeftClick(FLabel.java:329)
   at forge.toolbox.FMouseAdapter.mouseReleased(FMouseAdapter.java:245)
   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)
Managed to reproduce and fix this. Also fixed the massive number of duplicate cards being added to that list. Cards that Forge doesn't have will no longer be added to the prize pool, which was causing the crash.
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 17 Sep 2014, 01:22

The Phyrexian Mana symbol in the CardDetailPanel for Rage Extractor is broken. I'm guessing it's related to the UI Refactor.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Bug Reports (snapshot builds)

Postby drdev » 17 Sep 2014, 02:44

friarsol wrote:The Phyrexian Mana symbol in the CardDetailPanel for Rage Extractor is broken. I'm guessing it's related to the UI Refactor.
That's always been that way, because there is no colorless phyrexian mana symbol defined in our images. It's the only card that would need it, so I guess we never saw the need to add it.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 17 Sep 2014, 03:31

elcnesh wrote:I think I fixed the first two, although getting it right when the GUI has to update what is a real pain... Will get more stable over time as I figure it out. The third I really don't see, but I removed what I think causes it because it's no longer necessary thanks to the other update.
I can confirm that there is no more NPE and I can also confirm that the annoying "mana cost flicker" issue is gone too, thanks! :) Also, the attacker icons appear to be fixed as well. Thank you for fixing!

I noticed two more things with the newest (r27476) codebase in mind:

1) Some "repaint" issues still exist in Human vs. Human mode when it comes to displaying cards in the players' hands: in particular, if your visual layout shows only one hand at a time (you have to switch between hands, which is the default layout), then the cards newly drawn by players will not be visualized in the hand (they will be black or white rectangles, no card image will be drawn on them). This *might* be related to the repaint issues reported by Fizanko above, which I can also confirm (noticed a similar situation in a Human vs. Human match - but this might affect Human vs. AI too when you have to switch between zones, e.g. hand and command, etc.).

2) I had this NPE continuously bug me while watching an AI vs. AI match (like, every other turn), and after this NPE happened for the first time, visualization of one of the players' hands became messed up.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.28-SNAPSHOT-r27476u
Operating System: Linux 3.8.0-26-generic amd64
Java Version:     1.7.0_51 Oracle Corporation

java.lang.NullPointerException
   at forge.view.arcane.CardPanel.doLayout(CardPanel.java:381)
   at forge.view.arcane.CardPanel.setCard(CardPanel.java:659)
   at forge.view.arcane.util.Animation$4$1$1.run(Animation.java:385)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:694)
   at java.awt.EventQueue$3.run(EventQueue.java:692)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
- Agetian
Agetian
Programmer
 
Posts: 3486
Joined: 14 Mar 2011, 05:58
Has thanked: 683 times
Been thanked: 569 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 17 Sep 2014, 04:40

r27480: Another regression (but probably not related to refactoring, but to something else): I noticed that in the recent snapshots, card abilities that have CARDNAME in them no longer appear with their correct names when choosing the ability to play from a menu. This is noticeable, e.g., on AEtherling (but this is only a demo, I've seen this happen to other cards as well) - when you click it and a pop-up menu appears asking you to choose which ability to play, it'll now show "CARDNAME" instead of "AEtherling" on all abilities, but a while ago it used to show "AEtherling" correctly (e.g. "AEtherling gets +1/-1 until end of turn" instead of "CARDNAME gets +1/-1 until end of turn").

- Agetian
Agetian
Programmer
 
Posts: 3486
Joined: 14 Mar 2011, 05:58
Has thanked: 683 times
Been thanked: 569 times

Re: Bug Reports (snapshot builds)

Postby excessum » 17 Sep 2014, 04:58

Play with top card revealed ability of Courser of Kruphix is broken in r27480. The creature itself no longer shows the top card and if said card is playable, the flashback card area shows (Unknown Card).
excessum
 
Posts: 177
Joined: 21 Oct 2013, 02:30
Has thanked: 0 time
Been thanked: 19 times

Re: Bug Reports (snapshot builds)

Postby Hanmac » 17 Sep 2014, 06:24

Enemy has Gideon's Avenger
i have Vorel of the Hull Clade
i wanted to activate Vorels effect, but then i pressed Cancel, because i wanted to active another first ..
but Gideon's Avenger still got the +1/+1 counters
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Bug Reports (snapshot builds)

Postby elcnesh » 17 Sep 2014, 08:49

Agetian wrote:1) Some "repaint" issues still exist in Human vs. Human mode when it comes to displaying cards in the players' hands: in particular, if your visual layout shows only one hand at a time (you have to switch between hands, which is the default layout), then the cards newly drawn by players will not be visualized in the hand (they will be black or white rectangles, no card image will be drawn on them). This *might* be related to the repaint issues reported by Fizanko above, which I can also confirm (noticed a similar situation in a Human vs. Human match - but this might affect Human vs. AI too when you have to switch between zones, e.g. hand and command, etc.).
You're not the first to report it, and I can reproduce it, but I have no idea how to fix it at this time... :(

Agetian wrote:2) I had this NPE continuously bug me while watching an AI vs. AI match (like, every other turn), and after this NPE happened for the first time, visualization of one of the players' hands became messed up.
Fixed!

Agetian wrote:r27480: Another regression (but probably not related to refactoring, but to something else): I noticed that in the recent snapshots, card abilities that have CARDNAME in them no longer appear with their correct names when choosing the ability to play from a menu. This is noticeable, e.g., on AEtherling (but this is only a demo, I've seen this happen to other cards as well) - when you click it and a pop-up menu appears asking you to choose which ability to play, it'll now show "CARDNAME" instead of "AEtherling" on all abilities, but a while ago it used to show "AEtherling" correctly (e.g. "AEtherling gets +1/-1 until end of turn" instead of "CARDNAME gets +1/-1 until end of turn").
Definitely refactoring – fixed!

excessum wrote:Play with top card revealed ability of Courser of Kruphix is broken in r27480. The creature itself no longer shows the top card and if said card is playable, the flashback card area shows (Unknown Card).
Also fixed ;)
elcnesh
 
Posts: 290
Joined: 16 May 2014, 15:11
Location: Netherlands
Has thanked: 34 times
Been thanked: 92 times

Re: Bug Reports (snapshot builds)

Postby lujo » 17 Sep 2014, 10:45

Description: Used Johira of the Ghitu to exile Bogardan Hellkite and then tried to pass priority with mana floating in the pool.

RuntimeException | Open
Code: Select all
Forge Version:    1.5.27-SNAPSHOT-r-1u
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_25 Oracle Corporation

java.lang.RuntimeException: Cannot remove input InputPassPriority because it's not on top of stack. Stack = []
   at forge.match.input.InputQueue.removeInput(InputQueue.java:54)
   at forge.match.input.InputSyncronizedBase.stop(InputSyncronizedBase.java:49)
   at forge.match.input.InputPassPriority$1.run(InputPassPriority.java:73)
   at forge.match.input.InputPassPriority$3.run(InputPassPriority.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)
---

My Shandalar deck pack folder is avaliable here:Dropbox
Leave feedback on particular decks here: Google doc
Ask for instructions, give feedback and complaints here: Thread
User avatar
lujo
 
Posts: 557
Joined: 20 Nov 2013, 13:17
Has thanked: 224 times
Been thanked: 70 times

Re: Bug Reports (snapshot builds)

Postby lujo » 17 Sep 2014, 11:49

Description: I downladed this snapshot build, and it works fine in constructed but the limited AI vs AI matches have cards flying all over the screen and reports popping up all the time.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.28-SNAPSHOT-r-1u
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_25 Oracle Corporation

java.lang.NullPointerException
   at forge.view.arcane.CardPanel.doLayout(CardPanel.java:381)
   at forge.view.arcane.CardPanel.setCard(CardPanel.java:659)
   at forge.view.arcane.util.Animation$4$1$1.run(Animation.java:385)
   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)
---

My Shandalar deck pack folder is avaliable here:Dropbox
Leave feedback on particular decks here: Google doc
Ask for instructions, give feedback and complaints here: Thread
User avatar
lujo
 
Posts: 557
Joined: 20 Nov 2013, 13:17
Has thanked: 224 times
Been thanked: 70 times

Re: Bug Reports (snapshot builds)

Postby Fizanko » 17 Sep 2014, 12:09

Just downloaded r27471 from KrazyTheFox snapshots and testing a preconstructed , i play Churning Eddy and return the AI Plateau and Hellfire Mongrel to the AI hand, resulting in :

NullPointerException | Open
Code: Select all
Forge Version:    1.5.28-SNAPSHOT-r-1u
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_10 Oracle Corporation

java.lang.NullPointerException
   at forge.screens.match.TargetingOverlay.addArcsForCard(TargetingOverlay.java:172)
   at forge.screens.match.TargetingOverlay.assembleArcs(TargetingOverlay.java:146)
   at forge.screens.match.TargetingOverlay.access$100(TargetingOverlay.java:55)
   at forge.screens.match.TargetingOverlay$OverlayPanel.paintComponent(TargetingOverlay.java:366)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JLayeredPane.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JLayeredPane.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JComponent.paintToOffscreen(Unknown Source)
   at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
   at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
   at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
   at javax.swing.RepaintManager.paint(Unknown Source)
   at javax.swing.JComponent._paintImmediately(Unknown Source)
   at javax.swing.JComponent.paintImmediately(Unknown Source)
   at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
   at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
   at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
   at javax.swing.RepaintManager.access$700(Unknown Source)
   at javax.swing.RepaintManager$ProcessingRunnable.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)
probably outdated by now so you should avoid : Innistrad world for Forge (updated 17/11/2014)
Duel Decks for Forge - Forge custom decks (updated 25/10/2014)
User avatar
Fizanko
Tester
 
Posts: 780
Joined: 07 Feb 2014, 11:24
Has thanked: 155 times
Been thanked: 94 times

Re: Bug Reports (snapshot builds)

Postby lujo » 17 Sep 2014, 12:17

Description: Latest KrazyTheFox snapshot (1.5.28-SNAPSHOT-r-1u), I killed Flowstone Channeller with Deathspore Thallid, and I'm not sure what the AI did to end up with some cards in his graveyard but it crashed the game.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.28-SNAPSHOT-r-1u
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_25 Oracle Corporation

java.lang.NullPointerException
   at forge.game.spellability.SpellAbilityRestriction.checkActivatorRestrictions(SpellAbilityRestriction.java:283)
   at forge.game.spellability.AbilityActivated.isPossible(AbilityActivated.java:127)
   at forge.ai.ComputerUtilMana$ManaProducingCard.<init>(ComputerUtilMana.java:115)
   at forge.ai.ComputerUtilMana.sortManaAbilities(ComputerUtilMana.java:139)
   at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:360)
   at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:79)
   at forge.ai.ComputerUtilMana.canPayManaCost(ComputerUtilMana.java:54)
   at forge.ai.ComputerUtilCost.canPayCost(ComputerUtilCost.java:378)
   at forge.ai.ComputerUtilCombat.predictPowerBonusOfAttacker(ComputerUtilCombat.java:1186)
   at forge.ai.ComputerUtilCombat.damageIfUnblocked(ComputerUtilCombat.java:127)
   at forge.ai.AiAttackController.declareAttackers(AiAttackController.java:801)
   at forge.ai.AiController.declareAttackers(AiController.java:1180)
   at forge.ai.PlayerControllerAi.declareAttackers(PlayerControllerAi.java:405)
   at forge.game.phase.PhaseHandler.declareAttackersTurnBasedAction(PhaseHandler.java:479)
   at forge.game.phase.PhaseHandler.onPhaseBegin(PhaseHandler.java:292)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1067)
   at forge.game.GameAction.startGame(GameAction.java:1559)
   at forge.game.Match.startGame(Match.java:81)
   at forge.control.FControl$4.run(FControl.java:496)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Same when trying to pay kicker for Citanul Woodreaders, immediate crash.

Description: [describe what you were doing when the crash occurred]

NullPointerException | Open
Code: Select all
Forge Version:    1.5.28-SNAPSHOT-r-1u
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_25 Oracle Corporation

java.lang.NullPointerException
   at forge.game.spellability.SpellAbilityRestriction.checkActivatorRestrictions(SpellAbilityRestriction.java:283)
   at forge.game.spellability.AbilityActivated.isPossible(AbilityActivated.java:127)
   at forge.ai.ComputerUtilMana$ManaProducingCard.<init>(ComputerUtilMana.java:115)
   at forge.ai.ComputerUtilMana.sortManaAbilities(ComputerUtilMana.java:139)
   at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:360)
   at forge.ai.ComputerUtilMana.canPayManaCost(ComputerUtilMana.java:46)
   at forge.match.input.InputPayMana$4.evaluate(InputPayMana.java:389)
   at forge.match.input.InputPayMana$4.evaluate(InputPayMana.java:386)
   at forge.util.Evaluator.run(Evaluator.java:8)
   at forge.game.player.Player.runWithController(Player.java:3098)
   at forge.match.input.InputPayMana.runAsAi(InputPayMana.java:347)
   at forge.match.input.InputPayMana.updateMessage(InputPayMana.java:392)
   at forge.match.input.InputPayMana$5.run(InputPayMana.java:419)
   at forge.FThreads.invokeInEdtNowOrLater(FThreads.java:33)
   at forge.match.input.InputPayMana.onStateChanged(InputPayMana.java:416)
   at forge.match.input.InputPayMana.showMessage(InputPayMana.java:407)
   at forge.match.input.InputBase.showMessageInitial(InputBase.java:112)
   at forge.match.input.InputProxy$2.run(InputProxy.java:99)
   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)
---

My Shandalar deck pack folder is avaliable here:Dropbox
Leave feedback on particular decks here: Google doc
Ask for instructions, give feedback and complaints here: Thread
User avatar
lujo
 
Posts: 557
Joined: 20 Nov 2013, 13:17
Has thanked: 224 times
Been thanked: 70 times

Re: Bug Reports (snapshot builds)

Postby elcnesh » 17 Sep 2014, 15:11

Fixed the black cards and NPE's related to CardPanels :)
elcnesh
 
Posts: 290
Joined: 16 May 2014, 15:11
Location: Netherlands
Has thanked: 34 times
Been thanked: 92 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 10 guests


Who is online

In total there are 10 users online :: 0 registered, 0 hidden and 10 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 10 guests

Login Form