It is currently 18 May 2025, 15:26
   
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 drdev » 06 Oct 2014, 05:47

Agetian wrote:r27841: Got this crash when choosing a card to add to play from a list (I used the dev mode "Add Card Into Play" feature and was searching for Deflecting Palm, I managed to type "def" and then the game NPE'ed):

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

java.lang.NullPointerException
   at forge.game.card.CardView$CardStateView.updateName(CardView.java:471)
   at forge.game.card.CardView.updateState(CardView.java:411)
   at forge.game.card.CardView.updateState(CardView.java:377)
   at forge.game.card.Card.setState(Card.java:318)
   at forge.game.card.CardFactory.readCard(CardFactory.java:365)
   at forge.game.card.CardFactory.getCard(CardFactory.java:233)
   at forge.game.card.CardFactory.getCard(CardFactory.java:228)
   at forge.game.card.Card.fromPaperCard(Card.java:6446)
   at forge.game.card.Card.getCardForUi(Card.java:6454)
   at forge.view.ViewUtil.getCardForUi(ViewUtil.java:131)
   at forge.screens.match.controllers.CDetail.showCard(CDetail.java:61)
   at forge.screens.match.CMatchUI.setCard(CMatchUI.java:242)
   at forge.gui.GuiChoose$1$1.valueChanged(GuiChoose.java:225)
   at javax.swing.JList.fireSelectionValueChanged(JList.java:1798)
   at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1812)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
   at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
   at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
   at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:459)
   at javax.swing.JList.setSelectedIndex(JList.java:2212)
   at javax.swing.plaf.basic.BasicListUI$Handler.keyTyped(BasicListUI.java:2407)
   at java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:240)
   at java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:239)
   at java.awt.Component.processKeyEvent(Component.java:6460)
   at javax.swing.JComponent.processKeyEvent(JComponent.java:2819)
   at java.awt.Component.processEvent(Component.java:6282)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4861)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1895)
   at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:762)
   at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1027)
   at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:899)
   at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:727)
   at java.awt.Component.dispatchEventImpl(Component.java:4731)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
   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.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:708)
   at java.awt.EventQueue$4.run(EventQueue.java:706)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
   at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
   at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
   at java.awt.Dialog.show(Dialog.java:1082)
   at java.awt.Component.show(Component.java:1651)
   at java.awt.Component.setVisible(Component.java:1603)
   at java.awt.Window.setVisible(Window.java:1014)
   at java.awt.Dialog.setVisible(Dialog.java:1005)
   at forge.view.FDialog.setVisible(FDialog.java:160)
   at forge.toolbox.FOptionPane.setVisible(FOptionPane.java:272)
   at forge.gui.ListChooser.show(ListChooser.java:178)
   at forge.gui.ListChooser.show(ListChooser.java:152)
   at forge.gui.GuiChoose$1.call(GuiChoose.java:234)
   at forge.gui.GuiChoose$1.call(GuiChoose.java:201)
   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
   at forge.GuiDesktop.invokeInEdtAndWait(GuiDesktop.java:83)
   at forge.FThreads.invokeInEdtAndWait(FThreads.java:52)
   at forge.gui.GuiChoose.getChoices(GuiChoose.java:243)
   at forge.GuiDesktop.getChoices(GuiDesktop.java:172)
   at forge.util.gui.SGuiChoose.getChoices(SGuiChoose.java:191)
   at forge.util.gui.SGuiChoose.getChoices(SGuiChoose.java:187)
   at forge.util.gui.SGuiChoose.oneOrNone(SGuiChoose.java:46)
   at forge.player.PlayerControllerHuman$DevModeCheats.addCardToBattlefield(PlayerControllerHuman.java:2051)
   at forge.screens.match.controllers.CDev.addCardToBattlefield(CDev.java:142)
   at forge.screens.match.controllers.CDev$12.mousePressed(CDev.java:138)
   at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
   at java.awt.Component.processMouseEvent(Component.java:6502)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3311)
   at java.awt.Component.processEvent(Component.java:6270)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4861)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4489)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
   at java.awt.Container.dispatchEventImpl(Container.java:2273)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
   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.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:708)
   at java.awt.EventQueue$4.run(EventQueue.java:706)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
   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
Fixed in r27843. Thanks again for your help catching these issues quickly.
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 » 06 Oct 2014, 05:55

drdev wrote:
Agetian wrote:r27841: Got this crash when choosing a card to add to play from a list (I used the dev mode "Add Card Into Play" feature and was searching for Deflecting Palm, I managed to type "def" and then the game NPE'ed):

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

java.lang.NullPointerException
   at forge.game.card.CardView$CardStateView.updateName(CardView.java:471)
   at forge.game.card.CardView.updateState(CardView.java:411)
   at forge.game.card.CardView.updateState(CardView.java:377)
   at forge.game.card.Card.setState(Card.java:318)
   at forge.game.card.CardFactory.readCard(CardFactory.java:365)
   at forge.game.card.CardFactory.getCard(CardFactory.java:233)
   at forge.game.card.CardFactory.getCard(CardFactory.java:228)
   at forge.game.card.Card.fromPaperCard(Card.java:6446)
   at forge.game.card.Card.getCardForUi(Card.java:6454)
   at forge.view.ViewUtil.getCardForUi(ViewUtil.java:131)
   at forge.screens.match.controllers.CDetail.showCard(CDetail.java:61)
   at forge.screens.match.CMatchUI.setCard(CMatchUI.java:242)
   at forge.gui.GuiChoose$1$1.valueChanged(GuiChoose.java:225)
   at javax.swing.JList.fireSelectionValueChanged(JList.java:1798)
   at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1812)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
   at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
   at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
   at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:459)
   at javax.swing.JList.setSelectedIndex(JList.java:2212)
   at javax.swing.plaf.basic.BasicListUI$Handler.keyTyped(BasicListUI.java:2407)
   at java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:240)
   at java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:239)
   at java.awt.Component.processKeyEvent(Component.java:6460)
   at javax.swing.JComponent.processKeyEvent(JComponent.java:2819)
   at java.awt.Component.processEvent(Component.java:6282)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4861)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1895)
   at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:762)
   at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1027)
   at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:899)
   at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:727)
   at java.awt.Component.dispatchEventImpl(Component.java:4731)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
   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.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:708)
   at java.awt.EventQueue$4.run(EventQueue.java:706)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
   at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
   at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
   at java.awt.Dialog.show(Dialog.java:1082)
   at java.awt.Component.show(Component.java:1651)
   at java.awt.Component.setVisible(Component.java:1603)
   at java.awt.Window.setVisible(Window.java:1014)
   at java.awt.Dialog.setVisible(Dialog.java:1005)
   at forge.view.FDialog.setVisible(FDialog.java:160)
   at forge.toolbox.FOptionPane.setVisible(FOptionPane.java:272)
   at forge.gui.ListChooser.show(ListChooser.java:178)
   at forge.gui.ListChooser.show(ListChooser.java:152)
   at forge.gui.GuiChoose$1.call(GuiChoose.java:234)
   at forge.gui.GuiChoose$1.call(GuiChoose.java:201)
   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
   at forge.GuiDesktop.invokeInEdtAndWait(GuiDesktop.java:83)
   at forge.FThreads.invokeInEdtAndWait(FThreads.java:52)
   at forge.gui.GuiChoose.getChoices(GuiChoose.java:243)
   at forge.GuiDesktop.getChoices(GuiDesktop.java:172)
   at forge.util.gui.SGuiChoose.getChoices(SGuiChoose.java:191)
   at forge.util.gui.SGuiChoose.getChoices(SGuiChoose.java:187)
   at forge.util.gui.SGuiChoose.oneOrNone(SGuiChoose.java:46)
   at forge.player.PlayerControllerHuman$DevModeCheats.addCardToBattlefield(PlayerControllerHuman.java:2051)
   at forge.screens.match.controllers.CDev.addCardToBattlefield(CDev.java:142)
   at forge.screens.match.controllers.CDev$12.mousePressed(CDev.java:138)
   at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
   at java.awt.Component.processMouseEvent(Component.java:6502)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3311)
   at java.awt.Component.processEvent(Component.java:6270)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4861)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4489)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
   at java.awt.Container.dispatchEventImpl(Container.java:2273)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
   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.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:708)
   at java.awt.EventQueue$4.run(EventQueue.java:706)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
   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
Fixed in r27843. Thanks again for your help catching these issues quickly.
No problem, thanks for your prompt response! I'll let you know if anything else shows up ;)

- 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 » 06 Oct 2014, 05:59

r27843: When the AI attacks with Springjack Knight, it seems to be unable to properly use its "clash" ability - it always shows "Targeting ERROR", possibly because the AI is unable to choose the target card for the double strike ability. The card seems to work normally when used by the human player.

- 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 drdev » 06 Oct 2014, 06:00

Agetian wrote:r27843: When the AI attacks with Springjack Knight, it seems to be unable to properly use its "clash" ability - it always shows "Targeting ERROR", possibly because the AI is unable to choose the target card for the double strike ability. The card seems to work normally when used by the human player.

- Agetian
Is that new? I think I've seen that before my recent changes.
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 » 06 Oct 2014, 06:13

drdev wrote:
Agetian wrote:r27843: When the AI attacks with Springjack Knight, it seems to be unable to properly use its "clash" ability - it always shows "Targeting ERROR", possibly because the AI is unable to choose the target card for the double strike ability. The card seems to work normally when used by the human player.

- Agetian
Is that new? I think I've seen that before my recent changes.
I don't think this is related to your changes, so it may not be new, but at least it's the first time I came across this issue, so I thought it's a good idea to report it :) It's still an issue nonetheless.

- Agetian
Last edited by Agetian on 06 Oct 2014, 09:33, edited 1 time in total.
Agetian
Programmer
 
Posts: 3486
Joined: 14 Mar 2011, 05:58
Has thanked: 683 times
Been thanked: 569 times

Re: Bug Reports (snapshot builds)

Postby Hanmac » 06 Oct 2014, 07:09

Scapeshift and Valakut, the Molten Pinnacle does not work together.

if i control Valakut and i sacifice 6 lands with Scapeshift to let 6 Mountains enter the battle field, the Effect does not trigger but it should

----

Descendants' Path does not reveal the card to me, so i am unsure why it did not enter the field
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Bug Reports (snapshot builds)

Postby Sloth » 06 Oct 2014, 07:10

Using r27843:
The performance is much better than before. Very smooth game play. =D>

But when i had Crusade und a white creature i still see P/T flickering and sometimes it rested on the wrong P/T.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Bug Reports (snapshot builds)

Postby drdev » 06 Oct 2014, 13:07

Sloth wrote:Using r27843:
The performance is much better than before. Very smooth game play. =D>

But when i had Crusade und a white creature i still see P/T flickering and sometimes it rested on the wrong P/T.
I haven't actually made the changes yet, so I'm surprised you're already seeing improvement. Hopefully the P/T flickering will be fixed once I actually change things over.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby Marek14 » 06 Oct 2014, 17:20

27844:
AI returned a Soldier token to my hand, and it was actually visible there for some time, only disappeared when my turn started.
Also, it seems I can't cast morph creatures face-down: they enter the battlefield normally. They show up face-down at times, but then they turn back again. The creatuers don't trigger Trail of Mystery, showing that they are, in fact, face-up.
Card returned to hand with Kor Skyfisher shows as (Unknown card).
Marek14
Tester
 
Posts: 2771
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 302 times

Re: Bug Reports (snapshot builds)

Postby ndlarsen » 06 Oct 2014, 17:35

Description: End step exile of Aetherling after being targeted by Chandra's Fury caused NPE.
Used forge-gui-desktop-1.5.29-SNAPSHOT-r27844.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.29-SNAPSHOT-r-1u
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_67 Oracle Corporation

java.lang.NullPointerException
   at forge.game.trigger.TriggerType.smartValueOf(TriggerType.java:83)
   at forge.game.trigger.TriggerHandler.parseTrigger(TriggerHandler.java:122)
   at forge.game.ability.effects.DelayedTriggerEffect.resolve(DelayedTriggerEffect.java:52)
   at forge.game.spellability.AbilitySub.resolve(AbilitySub.java:119)
   at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1238)
   at forge.game.ability.AbilityUtils.resolveSubAbilities(AbilityUtils.java:1231)
   at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1245)
   at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1220)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:584)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1077)
   at forge.game.GameAction.startGame(GameAction.java:1570)
   at forge.game.Match.startGame(Match.java:81)
   at forge.match.MatchUtil$2.run(MatchUtil.java:231)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Attachments
exile2.gif
exile.gif
ndlarsen
 
Posts: 23
Joined: 12 Sep 2013, 12:43
Has thanked: 4 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby kubiac470 » 06 Oct 2014, 19:20

with end game laboratory maniac
thanks

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

ArrayIndexOutOfBoundsException | Open
Code: Select all
Forge Version:    1.5.29-SNAPSHOT-r-1u
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_67 Oracle Corporation

java.lang.ArrayIndexOutOfBoundsException: -1
   at java.util.ArrayList.elementData(Unknown Source)
   at java.util.ArrayList.get(Unknown Source)
   at java.util.Collections$UnmodifiableList.get(Unknown Source)
   at forge.game.player.Player.getRegisteredPlayer(Player.java:2982)
   at forge.achievement.ChallengeAchievements$DeckChallengeAchievement.eval(ChallengeAchievements.java:59)
   at forge.achievement.ProgressiveAchievement.evaluate(ProgressiveAchievement.java:26)
   at forge.achievement.Achievement.update(Achievement.java:157)
   at forge.achievement.AchievementCollection.updateAll(AchievementCollection.java:114)
   at forge.achievement.AchievementCollection$1.run(AchievementCollection.java:56)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
kubiac470
 
Posts: 25
Joined: 19 Sep 2012, 18:47
Has thanked: 8 times
Been thanked: 1 time

Re: Bug Reports (snapshot builds)

Postby lujo » 06 Oct 2014, 22:05

Description: I started game no 2. vs someone and it crashed.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.29-SNAPSHOT-r-1u
Operating System: Windows XP 5.1 x86
Java Version:     1.8.0_20 Oracle Corporation

java.lang.NullPointerException
   at forge.view.ViewUtil.writeNonDependentCardViewProperties(ViewUtil.java:37)
   at forge.view.LocalGameView.writeCardToView(LocalGameView.java:478)
   at forge.view.LocalGameView.updateCards(LocalGameView.java:436)
   at forge.control.FControlGameEventHandler$1.run(FControlGameEventHandler.java:93)
   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$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 swordshine » 07 Oct 2014, 06:35

r27848, I got an NPE when trying to apply the planeswalker rule:
Code: Select all
Game-0 > java.lang.NullPointerException
   at forge.game.spellability.SpellAbility.toUnsuppressedString(SpellAbility.java:500)
   at forge.game.spellability.SpellAbilityView.updateDescription(SpellAbilityView.java:32)
   at forge.game.spellability.SpellAbilityView.<init>(SpellAbilityView.java:12)
   at forge.game.spellability.SpellAbility.<init>(SpellAbility.java:145)
   at forge.game.spellability.SpellAbility.<init>(SpellAbility.java:138)
   at forge.game.spellability.AbilitySub.<init>(AbilitySub.java:85)
   at forge.game.GameAction.handlePlaneswalkerRule(GameAction.java:1205)
   at forge.game.GameAction.checkStateEffects(GameAction.java:920)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1011)
   at forge.game.GameAction.startGame(GameAction.java:1570)
   at forge.game.Match.startGame(Match.java:81)
   at forge.match.MatchUtil$2.run(MatchUtil.java:231)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:745)

swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Bug Reports (snapshot builds)

Postby Marek14 » 07 Oct 2014, 12:01

War-Name Aspirant is wrong -- it's implemented as a triggered ability (like most of other raid creatures), but it's actually supposed to be a replacement effect on entering the battlefield like, say, Benalish Lancer.

The ability of Knight of the Reliquary displays with inconsistent capitalization -- "forest", but "Plains".
Marek14
Tester
 
Posts: 2771
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 302 times

Re: Bug Reports (snapshot builds)

Postby lujo » 07 Oct 2014, 20:46

I can't seem to redirect damage from attacking creatures to plainswalkers (damage spells work all right though).
---

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

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 61 guests


Who is online

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

Login Form