Page 83 of 487

Re: Bug Reports (snapshot builds)

PostPosted: 04 Feb 2013, 13:36
by moomarc
Thanks max. That was fast! Confirmed working!

Re: Bug Reports (snapshot builds)

PostPosted: 04 Feb 2013, 13:48
by Chris H.
moomarc wrote:Thanks max. That was fast! Confirmed working!
 
1.3.6 is built and deployed to cardforge but I will not advertise this buggy release.

I will update my local copy and will then will release 1.3.7 to the user base.

Re: Bug Reports (snapshot builds)

PostPosted: 04 Feb 2013, 14:49
by ArsenalNut
Max mtg wrote:
ArsenalNut wrote:r19335, I am not sure if this behavior is really a bug but the sideboard changes are getting reset between 2nd and 3rd game. I just clicked OK between the 2nd and 3rd games and was surprised to find cards that I know I had sided out for the 2nd game appeared in my hand and library for game 3.
The changes to deck were applied to the second match and discarded afterwards, this is a bug.

Was adressed by r19359 - see if it works for you.
I tested sideboarding in r19378 and appears not to be working at all. After game one I sideboard out three of the same card but when I look at my library at the start of game two, the three cards are still there and my sideboard cards are not.

Re: Bug Reports (snapshot builds)

PostPosted: 04 Feb 2013, 15:32
by friarsol
I noticed someone was gussying up CardDetailPanel from commit logs. There was a minor bug with cards that have both X and a colorless value in the casting cost, where the colorless value appears before the X (like in the card Mind Warp 3 X B instead of X 3 B), if you want to resolve that while you are in there.

Re: Bug Reports (snapshot builds)

PostPosted: 04 Feb 2013, 15:41
by Max mtg
Uhh, looks like I've spoiled another release.
19380 does fix the sideboarding problem, but 1.3.7 is out already

Sol, I think that bug is settled deeper in manacost to string. Must be mine as well

Re: Bug Reports (snapshot builds)

PostPosted: 04 Feb 2013, 16:15
by goonjamin
r19380

In the deck editor I accidently added 4 of a card to a new deck (so the current deck pane showed only 4 Intervention Pact in the deck). I then clicked the remove 4 of a card button to get rid of them. The cards were removed but I also got this error. Note if I remove the cards one by one I don't get this error.

Code: Select all
This is a Crash Report. An error has occurred. Please save this message to a file.
Please follow the instructions at this address to submit this Crash Report, plus what you were doing at the time:
   http://tinyurl.com/3zzrnyb
Reporting bugs in Forge is very important. We thank you for your time.

Row index out of range


Version:
Forge version 1.3.8-SNAPSHOT-r0000

OS: Windows 7 Version: 6.1 Architecture: x86

Java Version: 1.6.0_35 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.IllegalArgumentException: Row index out of range
   at javax.swing.JTable.boundRow(Unknown Source)
   at javax.swing.JTable.setRowSelectionInterval(Unknown Source)
   at forge.gui.deckeditor.tables.EditorTableView$3.run(EditorTableView.java:261)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$400(Unknown Source)
   at java.awt.EventQueue$2.run(Unknown Source)
   at java.awt.EventQueue$2.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$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)

PostPosted: 04 Feb 2013, 16:20
by myk
this bug is undoubtedly mine. I'll get it. Edit: fixed in r19381. Thanks for the report!

Re: Bug Reports (snapshot builds)

PostPosted: 04 Feb 2013, 19:08
by Max mtg
Where do we post data-related errors?

There's an error in a deck file - see viewtopic.php?p=109045#p109045

Re: Bug Reports (snapshot builds)

PostPosted: 05 Feb 2013, 06:14
by ArsenalNut
I get the following crash everytime I try to play Unburial Rites
Unburial Rites Crash | Open
java.lang.NullPointerException
at forge.gui.CardDetailPanel.setCard(CardDetailPanel.java:186)
at forge.gui.match.controllers.CDetail.showCard(CDetail.java:51)
at forge.gui.match.CMatchUI.setCard(CMatchUI.java:235)
at forge.gui.GuiChoose$1.valueChanged(GuiChoose.java:193)
at javax.swing.JList.fireSelectionValueChanged(Unknown Source)
at javax.swing.JList$ListSelectionHandler.valueChanged(Unknown Source)
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 forge.gui.ListChooser.show(ListChooser.java:201)
at forge.gui.ListChooser.show(ListChooser.java:181)
at forge.gui.GuiChoose.getChoices(GuiChoose.java:203)
at forge.gui.GuiChoose.getChoices(GuiChoose.java:184)
at forge.gui.GuiChoose.oneOrNone(GuiChoose.java:51)
at forge.card.spellability.TargetSelection.chooseCardFromList(TargetSelection.java:516)
at forge.card.spellability.TargetSelection.chooseValidInput(TargetSelection.java:330)
at forge.card.spellability.TargetSelection.chooseTargets(TargetSelection.java:226)
at forge.card.spellability.SpellAbilityRequirements.fillRequirements(SpellAbilityRequirements.java:130)
at forge.card.spellability.SpellAbilityRequirements.fillRequirements(SpellAbilityRequirements.java:96)
at forge.GameAction.playSpellAbility(GameAction.java:1859)
at forge.game.player.Player.playSpellAbility(Player.java:3140)
at forge.control.input.InputPassPriority.selectCard(InputPassPriority.java:87)
at forge.gui.GuiInput.selectCard(GuiInput.java:115)
at forge.gui.match.nonsingleton.CHand.cardclickAction(CHand.java:188)
at forge.gui.match.nonsingleton.CHand.access$0(CHand.java:182)
at forge.gui.match.nonsingleton.CHand$1.mousePressed(CHand.java:60)
at java.awt.AWTEventMulticaster.mousePressed(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$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$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)

PostPosted: 05 Feb 2013, 08:06
by myk
ArsenalNut wrote:I get the following crash everytime I try to play Unburial Rites
Fixed in r19397. Thanks!

Re: Bug Reports (snapshot builds)

PostPosted: 05 Feb 2013, 10:44
by RumbleBBU
A new bug related to the card picture panel and spell shop.

When I sell the highlighted card to the spell shop, the card picture panel display switches over from your inventory to the highlighted card in the spell shop - instead of moving over to the next highlighted card in your inventory (like it used to).

This is actually more serious than you'd think. I've just accidentally sold several cards from a booster I won thinking they were Ali Babas - because the card picture display had switched over from my inventory to the spell shop, which happened to have Ali Baba at the top of the list. In fact, I have no idea what cards I sold...I only looked at the card picture panel and thought that I was selling an Ali Baba next.

Re: Bug Reports (snapshot builds)

PostPosted: 05 Feb 2013, 11:03
by moomarc
Crash when Vexing Devil's ETB trigger resolves:
Vexing Devil crash | Open
forge.game.player.HumanPlayer cannot be cast to forge.game.player.AIPlayer


Version:
Forge version SVN

OS: Windows 7 Version: 6.1 Architecture: x86

Java Version: 1.6.0_35 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.ClassCastException: forge.game.player.HumanPlayer cannot be cast to forge.game.player.AIPlayer
at forge.card.abilityfactory.CommonAbility.doTrigger(CommonAbility.java:72)
at forge.card.trigger.WrappedAbility.resolve(WrappedAbility.java:500)
at forge.card.abilityfactory.AbilityFactory.resolve(AbilityFactory.java:1526)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:893)
at forge.game.phase.PhaseHandler.passPriority(PhaseHandler.java:735)
at forge.game.player.PlayerController.passPriority(PlayerController.java:72)
at forge.game.ai.AiInputCommon.showMessage(AiInputCommon.java:110)
at forge.gui.GuiInput.setInput(GuiInput.java:71)
at forge.gui.GuiInput.update(GuiInput.java:54)
at java.util.Observable.notifyObservers(Unknown Source)


Edit: Changing the OptionalDecider to TriggeredCardOpponent doesn't help.

Re: Bug Reports (snapshot builds)

PostPosted: 05 Feb 2013, 11:17
by Max mtg
moomarc wrote:Crash when Vexing Devil's ETB trigger resolves:

Detailed error trace:
java.lang.ClassCastException: forge.game.player.HumanPlayer cannot be cast to forge.game.player.AIPlayer
at forge.card.abilityfactory.CommonAbility.doTrigger(CommonAbility.java:72)
at forge.card.trigger.WrappedAbility.resolve(WrappedAbility.java:500)
at forge.card.abilityfactory.AbilityFactory.resolve(AbilityFactory.java:1526)

Edit: Changing the OptionalDecider to TriggeredCardOpponent doesn't help.
That's just wonderful!
Who is casting Vexing Devil? If human is, then AI should decide if it wants the devil to deal him 4 dmg and die.
But it turned out that doTrigger was called for human player who is controlling the ability, but cannot choose!

Re: Bug Reports (snapshot builds)

PostPosted: 05 Feb 2013, 11:20
by myk
RumbleBBU wrote:When I sell the highlighted card to the spell shop, the card picture panel display switches over from your inventory to the highlighted card in the spell shop - instead of moving over to the next highlighted card in your inventory (like it used to).
D'oh! Fixed in r19409. Thanks! I hope you were able to get your cards back..

Re: Bug Reports (snapshot builds)

PostPosted: 05 Feb 2013, 11:23
by moomarc
Max mtg wrote:
moomarc wrote:Crash when Vexing Devil's ETB trigger resolves:

Detailed error trace:
java.lang.ClassCastException: forge.game.player.HumanPlayer cannot be cast to forge.game.player.AIPlayer
at forge.card.abilityfactory.CommonAbility.doTrigger(CommonAbility.java:72)
at forge.card.trigger.WrappedAbility.resolve(WrappedAbility.java:500)
at forge.card.abilityfactory.AbilityFactory.resolve(AbilityFactory.java:1526)

Edit: Changing the OptionalDecider to TriggeredCardOpponent doesn't help.
That's just wonderful!
Who is casting Vexing Devil? If human is, then AI should decide if it wants the devil to deal him 4 dmg and die.
But it turned out that doTrigger was called for human player who is controlling the ability, but cannot choose!
My apologies for leaving out that detail. I was the one that cast the Vexing Devil. Works fine if the opponent casts it.