It is currently 17 May 2025, 17:10
   
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 bevryde » 15 Aug 2014, 03:55

When I click "Alpha strike" the attack icons do not appear immediately. I have to hover over the cards. r26925

Clock in the title bar will forever be wrong, if you wake up PC from standby mode.
User avatar
bevryde
 
Posts: 109
Joined: 06 Aug 2014, 04:01
Has thanked: 3 times
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Hanmac » 15 Aug 2014, 10:56

two Laboratory Maniac on the field block each other while winning
----
while doing scry(1) it does not show the right artwork of the card
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Bug Reports (snapshot builds)

Postby drdev » 16 Aug 2014, 14:30

The last release broke searching so that only names are searched and not type, text, and mana cost. I've fixed this in r27082 and would recommend a snapshot build be done.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby KrazyTheFox » 16 Aug 2014, 14:34

drdev wrote:The last release broke searching so that only names are searched and not type, text, and mana cost. I've fixed this in r27082 and would recommend a snapshot build be done.
Thanks! I was just about to go fix this, myself. Sorry about that one, guys. :oops:

And that also reminded me to switch my Forge project to spaces in IntelliJ.
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 Chris H. » 16 Aug 2014, 16:17

User avatar
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)

Postby excessum » 17 Aug 2014, 09:13

I am not sure which revision exactly causes this but AI matches randomly hang with "Waiting for opponent...". It is still possible to concede the match and resume the game.

I have not ever encountered this problem and I am quite sure this popped up somewhere over the previous week.
Attachments
wait.jpg
excessum
 
Posts: 177
Joined: 21 Oct 2013, 02:30
Has thanked: 0 time
Been thanked: 19 times

Re: Bug Reports (snapshot builds)

Postby kmg » 17 Aug 2014, 15:00

Description: While playing turn 3 of a Challenge game with Beastmaster Ascension and Grand Melee on the table, received the following exception.

This is my first time posting on these fora - let me know if this is the kind of report you want. I experienced similar (possibly the same) errors on a different machine in the same Challenge game, but at a different point in the game.

EDIT: Currently on Mac OS X 10.7.5 with the Linux version of Forge (because the app version ran into the segmentation faults listed above); previously encountered exceptions using the app version on Mac 10.9 on a different machine.

ConcurrentModificationException | Open
Code: Select all
Forge Version:    1.5.25-SNAPSHOT-r27084 (mixed revisions detected; please update from the root directory)
Operating System: Mac OS X 10.7.5 x86_64
Java Version:     1.7.0_67 Oracle Corporation

java.util.ConcurrentModificationException
   at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:859)
   at java.util.ArrayList$Itr.next(ArrayList.java:831)
   at forge.game.card.Card.getHiddenExtrinsicKeyword(Card.java:4802)
   at forge.game.card.Card.getKeyword(Card.java:4426)
   at forge.game.card.Card.hasKeyword(Card.java:5281)
   at forge.game.card.Card.isSick(Card.java:3167)
   at forge.view.arcane.CardPanel.paintChildren(CardPanel.java:395)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at forge.view.arcane.CardPanel.paint(CardPanel.java:291)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JViewport.paint(JViewport.java:731)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at forge.toolbox.FScrollPane.paint(FScrollPane.java:83)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JLayeredPane.paint(JLayeredPane.java:585)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JLayeredPane.paint(JLayeredPane.java:585)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintToOffscreen(JComponent.java:5219)
   at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1529)
   at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1452)
   at javax.swing.RepaintManager.paint(RepaintManager.java:1249)
   at javax.swing.JComponent._paintImmediately(JComponent.java:5167)
   at javax.swing.JComponent.paintImmediately(JComponent.java:4978)
   at javax.swing.RepaintManager$3.run(RepaintManager.java:808)
   at javax.swing.RepaintManager$3.run(RepaintManager.java:796)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:769)
   at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:718)
   at javax.swing.RepaintManager.access$1100(RepaintManager.java:62)
   at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1677)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
   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)
kmg
 
Posts: 1
Joined: 17 Aug 2014, 14:56
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby drdev » 17 Aug 2014, 15:01

excessum wrote:I am not sure which revision exactly causes this but AI matches randomly hang with "Waiting for opponent...". It is still possible to concede the match and resume the game.

I have not ever encountered this problem and I am quite sure this popped up somewhere over the previous week.
Do you have specific steps that reproduce this consistently?
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby excessum » 18 Aug 2014, 00:07

drdev wrote:Do you have specific steps that reproduce this consistently?
Unfortunately no. It is possible that it is related to the delay between each phase that was added recently.

When I play my hyper-aggressive quest deck where the AI has few decisions or options before dying, it seems to occur less. For the three draft tournaments I have played, I have encountered this crash at least once over the three games I played, sometimes even two matches in the same game.
excessum
 
Posts: 177
Joined: 21 Oct 2013, 02:30
Has thanked: 0 time
Been thanked: 19 times

Re: Bug Reports (snapshot builds)

Postby Zirbert » 18 Aug 2014, 03:24

Description: The AI fired a Rain of Blades at my attackers, which included a Black Cat, and this happened. My Prompt window shows the Black Cat's ability waiting for target selection. The Rain of Blades is the last thing listed in the log. I'm attaching a screen capture of the board state.

ConcurrentModificationException | Open
Code: Select all
Forge Version:    1.5.25-SNAPSHOT-r27084 (mixed revisions detected; please update from the root directory)
Operating System: Linux 3.8.0-32-lowlatency amd64
Java Version:     1.7.0_55 Oracle Corporation

java.util.ConcurrentModificationException
   at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:859)
   at java.util.ArrayList$Itr.next(ArrayList.java:831)
   at forge.game.card.Card.getHiddenExtrinsicKeyword(Card.java:4802)
   at forge.game.card.Card.getKeyword(Card.java:4426)
   at forge.game.card.Card.hasStartOfKeyword(Card.java:5294)
   at forge.game.zone.PlayerZone$AlienCardsActivationFilter.apply(PlayerZone.java:45)
   at forge.game.zone.PlayerZone$AlienCardsActivationFilter.apply(PlayerZone.java:41)
   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 com.google.common.collect.Iterators.addAll(Iterators.java:356)
   at com.google.common.collect.Lists.newArrayList(Lists.java:147)
   at com.google.common.collect.Lists.newArrayList(Lists.java:129)
   at forge.game.zone.PlayerZone.getCardsPlayerCanActivate(PlayerZone.java:132)
   at forge.game.player.Player.getCardsActivableInExternalZones(Player.java:1546)
   at forge.toolbox.special.PlayerDetailsPanel.updateZones(PlayerDetailsPanel.java:130)
   at forge.screens.match.CMatchUI.updateZones(CMatchUI.java:352)
   at forge.GuiDesktop.updateZones(GuiDesktop.java:436)
   at forge.control.FControlGameEventHandler$8.run(FControlGameEventHandler.java:181)
   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)
Attachments
Forge Screencap.png
Zirbert
 
Posts: 512
Joined: 13 Oct 2010, 16:04
Has thanked: 104 times
Been thanked: 19 times

Re: Bug Reports (snapshot builds)

Postby tchiseen » 18 Aug 2014, 10:24

Description: I imported a decklist as a commander decklist, and included a [commander] card, the cards seemed to import correctly. i then tried to start a 2 player commander game and this error occurred and did not let me progress.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.24-r27072
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_60 Oracle Corporation

java.lang.NullPointerException
   at forge.game.player.RegisteredPlayer.forVariants(RegisteredPlayer.java:144)
   at forge.screens.home.sanctioned.CSubmenuConstructed.startGame(CSubmenuConstructed.java:347)
   at forge.screens.home.sanctioned.CSubmenuConstructed.access$100(CSubmenuConstructed.java:46)
   at forge.screens.home.sanctioned.CSubmenuConstructed$2.actionPerformed(CSubmenuConstructed.java:158)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(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)
tchiseen
 
Posts: 69
Joined: 30 May 2009, 15:37
Has thanked: 1 time
Been thanked: 7 times

Re: Bug Reports (snapshot builds)

Postby mastroego » 18 Aug 2014, 11:52

The "Waiting for opponent..." hang affected me as well a couple of times.

I couldn't save the log as I often skip phases fast and click on "close" buttons rather mechanically, sorry. Will keep an eye on that.
mastroego
 
Posts: 236
Joined: 22 Sep 2013, 14:04
Has thanked: 28 times
Been thanked: 16 times

Re: Bug Reports (snapshot builds)

Postby PowerClaws » 18 Aug 2014, 11:56

There appears to be an error with the interaction between Kurkesh, Onakke Ancient and Strionic Resonator, when resolving any Kurkesh trigger other then the first, it only allows for copying the resonator ability

As an example, using grindclock with the above, i hope its detailed enough :D
What Happens | Open
Activate grindclock, kurkesh's trigger immediately goes on the stack
  1. Kurkesh (target #2)
  2. Grindclock Ability
In response, activate resonator, targetting kurkesh's ability (only choice)
  1. Kurkesh (target #2)
  2. Resonator (target #3)
  3. Kurkesh (target #4)
  4. Grindclock Ability
Resolve kurkesh's ability to copy, two copies of kurkesh's ability appears, no visual difference between the two, causes a copy of resonators ability to go on the stack
  1. Resonator (target #3)
  2. Resonator (target #3)
  3. Kurkesh (target #4)
  4. Grindclock Ability
Resolving the resonator trigger gives us a copy of kurkeshs abilty
  1. Kurkesh (target #4)
  2. Resonator (target #3)
  3. Kurkesh (target #4)
  4. Grindclock Ability
Resolving this ability, however, puts a copy of resonators ability on the stack, causing a loop. Cancelling this iteration causes the stack to drop to the following
  1. Resonator (target #2)
  2. Kurkesh (target #3)
  3. Grindclock Ability
Resolving the resonator ability puts a copy of kurkeshs ability on the stack
  1. Kurkesh (target #3)
  2. Kurkesh (target #3)
  3. Grindclock Ability

However, resolving this trigger, causes the same loop as above. Cancelling this iteration makes the stack the following
  1. Kurkesh (target #2)
  2. Grindclock Ability
Resolving the remaining triggers proceeds as expected, kurkeshs trigger copies the grindclock, which resolves as normal.


When used with Scuttling Doom Engine, however, the stack resolves correctly. Although, the text for targetting the doom engines ability notes a targetting error at end of the pop-up box,
pop-up menu.png
the pop-up menu from kurkesh targetting a resonator copying doom engine
PowerClaws
 
Posts: 131
Joined: 30 Jan 2012, 11:33
Has thanked: 28 times
Been thanked: 8 times

Re: Bug Reports (snapshot builds)

Postby krevett » 18 Aug 2014, 12:22

Description: Happens everytime I cast Hinder!

NullPointerException | Open
Code: Select all
Forge Version:    1.5.25-SNAPSHOT-r27084 (mixed revisions detected; please update from the root directory)
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0 Oracle Corporation

java.lang.NullPointerException
   at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:213)
   at com.google.common.collect.Iterables.removeAll(Iterables.java:138)
   at forge.player.PlayerControllerHuman.chooseSomeType(PlayerControllerHuman.java:593)
   at forge.game.player.PlayerController.chooseSomeType(PlayerController.java:209)
   at forge.game.ability.effects.CounterEffect.removeFromStack(CounterEffect.java:166)
   at forge.game.ability.effects.CounterEffect.resolve(CounterEffect.java:115)
   at forge.game.ability.SpellApiBased.resolve(SpellApiBased.java:51)
   at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1240)
   at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1222)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:576)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1062)
   at forge.game.GameAction.startGame(GameAction.java:1558)
   at forge.game.Match.startGame(Match.java:81)
   at forge.control.FControl$4.run(FControl.java:442)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
krevett
 
Posts: 109
Joined: 21 Feb 2012, 22:24
Location: France
Has thanked: 18 times
Been thanked: 9 times

Re: Bug Reports (snapshot builds)

Postby Fizanko » 18 Aug 2014, 12:39

playing with r27084,

I had setup a quest with Starting Pool being limited to Innistrad, Dark Ascension and Avacyn Restored.
I setup the Prized option to be the same as the starting pool.

Then i started playing on main world.
Everything was fine, at each duel end and in the spellshop there were cards from ISD, DKA and AVR only, as i wanted.

After a while the AI difficulty increased and it became more obvious that ISD, DKA and AVR weren't balanced with main world broken cards.

So i decided to move to another world, by example Ravnica that i liked the balance so much when i played a Ravnica-only quest.

After my first duel victory, i was surprised to see the cards i earned :
Image

and i then checked the spellshop, and same thing :
Image

It does not respect what i setup for that quest.
Looks like only main world keep up with your quest settings
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

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 37 guests


Who is online

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

Login Form