Page 98 of 487

Re: Bug Reports (snapshot builds)

PostPosted: 06 Mar 2013, 18:44
by mark
Playing Rampant Growth twice in one turn causes the card selection Window to freeze (it does not draw it's content) the second time. It can be closed though.

Re: Bug Reports (snapshot builds)

PostPosted: 06 Mar 2013, 20:48
by mark
Description: I attacked with Child of Alara and the AI casts Hydrosurge, does not block, gets one damage, then this exception occured:

NullPointerException | Open
Code: Select all
Forge Version:    1.3.10-SNAPSHOT-r20150
Operating System: Linux 3.9.0-rc1 amd64
Java Version:     1.7.0_13 Oracle Corporation

java.lang.NullPointerException
   at java.util.ArrayList.<init>(ArrayList.java:151)
   at forge.game.phase.Combat.getBlockers(Combat.java:506)
   at forge.gui.match.TargetingOverlay.assembleArcs(TargetingOverlay.java:192)
   at forge.gui.match.TargetingOverlay.access$2(TargetingOverlay.java:79)
   at forge.gui.match.TargetingOverlay$OverlayPanel.paintComponent(TargetingOverlay.java:298)
   at javax.swing.JComponent.paint(JComponent.java:1045)
   at javax.swing.JComponent.paintChildren(JComponent.java:878)
   at javax.swing.JComponent.paint(JComponent.java:1054)
   at javax.swing.JLayeredPane.paint(JLayeredPane.java:585)
   at javax.swing.JComponent.paintChildren(JComponent.java:878)
   at javax.swing.JComponent.paint(JComponent.java:1054)
   at javax.swing.JLayeredPane.paint(JLayeredPane.java:585)
   at javax.swing.JComponent.paintChildren(JComponent.java:878)
   at javax.swing.JComponent.paint(JComponent.java:1054)
   at javax.swing.JComponent.paintToOffscreen(JComponent.java:5212)
   at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:295)
   at javax.swing.RepaintManager.paint(RepaintManager.java:1236)
   at javax.swing.JComponent._paintImmediately(JComponent.java:5160)
   at javax.swing.JComponent.paintImmediately(JComponent.java:4971)
   at javax.swing.RepaintManager$3.run(RepaintManager.java:796)
   at javax.swing.RepaintManager$3.run(RepaintManager.java:784)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:784)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:757)
   at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:706)
   at javax.swing.RepaintManager.access$1000(RepaintManager.java:62)
   at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1651)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:688)
   at java.awt.EventQueue$3.run(EventQueue.java:686)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:697)
   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)

Re: Bug Reports (snapshot builds)

PostPosted: 06 Mar 2013, 21:41
by Kapoue
Lightning Mauler always soulbonds with my Plant. I guess it always soulbinds with the first creature that entered the battlefield.

Also, Firemane Avenger doesn't trigger his battalion ability.

Re: Bug Reports (snapshot builds)

PostPosted: 07 Mar 2013, 02:34
by friarsol
Kapoue wrote:Lightning Mauler always soulbonds with my Plant. I guess it always soulbinds with the first creature that entered the battlefield.
I believe someone already fixed that, what version are you using?

Re: Bug Reports (snapshot builds)

PostPosted: 07 Mar 2013, 04:00
by Agetian
myk wrote:ok, I can reproduce this easily by hitting space a bunch of times quickly when the start button is focused. I'll take care of it.
edit: fixed in r20150
Thanks for the fix, myk! By the way, do you have any ideas about what can be the cause of the card selection window not drawing itself properly from time to time? (at least two reports seem to indicate this problem - one is mine and the other is Mark's related to Rampant Growth - both are just slightly above this post; they appear to be the same issue (or at least similar in their nature) - it happens very rarely to me but when it does happen, it's gamebreaking because it doesn't let you complete the desired effect.

- Agetian

Re: Bug Reports (snapshot builds)

PostPosted: 07 Mar 2013, 08:19
by myk
It has happened to me in the past as well, though I don't remember the specifics. At the time I thought it was due to some other bug that was being squashed by one of the devs. I'll keep an eye out for it.

Re: Bug Reports (snapshot builds)

PostPosted: 07 Mar 2013, 10:15
by FabioFLX
FabioFLX wrote:I've replicated the error of a Computer controlled Frontline Medic countering an Human Aurelia's Fury that hangs the program.
The user interface seems to respond but no buttons are working, even the quit button in the program window or the ESC key.
Does anybody noticed this issue yet? You can easly replicate it because it happens all the times.

Re: Bug Reports (snapshot builds)

PostPosted: 07 Mar 2013, 13:16
by friarsol
So Max, I see you got rid of the InputMulligan (which is fine, I wasn't that happy with it to begin with), but it doesn't seem like the Mulligan state is being reset on a RestartGameEffect (unless I'm missing something). That means that Karn's Ultimate ability won't let players Mulligan as they should.

Re: Bug Reports (snapshot builds)

PostPosted: 07 Mar 2013, 15:00
by Max mtg
Even the "update input" thread was recreated on game restart (that should not happen)
So thanks for pointing at this place, sol!

Re: Bug Reports (snapshot builds)

PostPosted: 07 Mar 2013, 15:04
by Max mtg
Found another issue now - it I play first, a card is given on draw step in my 1st turn!!!
Is that an old bug, or did it just appear after my recent changes?

Re: Bug Reports (snapshot builds)

PostPosted: 07 Mar 2013, 15:17
by friarsol
Max mtg wrote:Found another issue now - it I play first, a card is given on draw step in my 1st turn!!!
Is that an old bug, or did it just appear after my recent changes?
Nope that had been working.

Playing first would skip your initial draw (IIRC it was even skipping your whole first draw step, as the rules are written).

Re: Bug Reports (snapshot builds)

PostPosted: 07 Mar 2013, 16:56
by Chris H.
I played a match using today's snapshot build and noticed that the first time the damage assignment window was displayed that the card pics were not, the second time the damage assignment window was displayed in this same match the card pics were displayed.
 

Re: Bug Reports (snapshot builds)

PostPosted: 07 Mar 2013, 19:02
by Agetian
The above-mentioned bug with the contents of dialog windows asking to select card(s) not drawing their contents happened three times to me today, and with different cards, too - I don't remember the first card it happened with, but the next two times it happened with Enlistment Officer when it asked me to "put the rest on the bottom of the library". The game hung at that point because I couldn't close the window (cause it was waiting for my input) and, at the same time, I couldn't enter any valid input because the dialog window was completely empty.

Steps to reproduce:
Add Enlistment Officer to play via a dev mode.
Click through the appearing dialog windows as fast as possible. It doesn't happen every time, but in my opinion it might have something to do with the second dialog window appearing fast enough after the first one is closed. Also, it might be the case that it works for the first Enlistment Officer played, but then has a very high probability to fail if you play the card again. So, if the bug doesn't appear the first time around, add another Enlistment Officer to play and try again.

P.S. I just deliberately reproduced the bug three more times in a row with that method above. It's a game-breaking bug.

- Agetian

Re: Bug Reports (snapshot builds)

PostPosted: 07 Mar 2013, 19:10
by Max mtg
friarsol wrote:
Max mtg wrote:Found another issue now - it I play first, a card is given on draw step in my 1st turn!!!
Is that an old bug, or did it just appear after my recent changes?
Nope that had been working.

Playing first would skip your initial draw (IIRC it was even skipping your whole first draw step, as the rules are written).
First turn number was assigned 0, now it's 1.
20160 addresses this one.

Re: Bug Reports (snapshot builds)

PostPosted: 07 Mar 2013, 21:09
by Max mtg
20161 - monocolored deck generation.
The deck quality is poor, but that's better than showing 3 errors in a row.