It is currently 20 May 2025, 03:22
   
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 lujo » 03 Dec 2013, 21:51

Description: This one happened when I let a Mana Tithe resolve to counter my Bone Shredder.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.7-SNAPSHOT-r${forge.revision}${forge.specialStatus} (mixed revisions detected; please update from the root directory)
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_17 Oracle Corporation

java.lang.NullPointerException
   at forge.ai.ComputerUtilMana.adjustManaCostToAvoidNegEffects(ComputerUtilMana.java:345)
   at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:101)
   at forge.ai.ComputerUtilMana.canPayManaCost(ComputerUtilMana.java:54)
   at forge.gui.input.InputPayMana$3.evaluate(InputPayMana.java:317)
   at forge.gui.input.InputPayMana$3.evaluate(InputPayMana.java:314)
   at forge.util.Evaluator.run(Evaluator.java:8)
   at forge.game.player.Player.runWithController(Player.java:2953)
   at forge.gui.input.InputPayMana.runAsAi(InputPayMana.java:55)
   at forge.gui.input.InputPayMana.updateMessage(InputPayMana.java:320)
   at forge.gui.input.InputPayMana$4.run(InputPayMana.java:355)
   at forge.FThreads.invokeInEdtNowOrLater(FThreads.java:46)
   at forge.gui.input.InputPayMana.onStateChanged(InputPayMana.java:352)
   at forge.gui.input.InputPayMana.showMessage(InputPayMana.java:343)
   at forge.gui.input.InputBase.showMessageInitial(InputBase.java:50)
   at forge.gui.InputProxy$1.run(InputProxy.java:69)
   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 lujo » 03 Dec 2013, 23:02

Both bugs had something weird happen - the game "took over" after them Instead of truly crashing, the AI started playing everything for me.
---

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 » 03 Dec 2013, 23:26

Description: Again, what was supposed to happen next was me paying echo for Bone Shredder and the crash report came up. Whe I pressed "close", instead of crashing, the game took over and played the match out for me. It still prompted me to make the "yes/no decisions" and I even won.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.7-SNAPSHOT-r${forge.revision}${forge.specialStatus} (mixed revisions detected; please update from the root directory)
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_17 Oracle Corporation

java.lang.NullPointerException
   at forge.ai.ComputerUtilMana.adjustManaCostToAvoidNegEffects(ComputerUtilMana.java:345)
   at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:101)
   at forge.ai.ComputerUtilMana.canPayManaCost(ComputerUtilMana.java:54)
   at forge.gui.input.InputPayMana$3.evaluate(InputPayMana.java:317)
   at forge.gui.input.InputPayMana$3.evaluate(InputPayMana.java:314)
   at forge.util.Evaluator.run(Evaluator.java:8)
   at forge.game.player.Player.runWithController(Player.java:2953)
   at forge.gui.input.InputPayMana.runAsAi(InputPayMana.java:55)
   at forge.gui.input.InputPayMana.updateMessage(InputPayMana.java:320)
   at forge.gui.input.InputPayMana$4.run(InputPayMana.java:355)
   at forge.FThreads.invokeInEdtNowOrLater(FThreads.java:46)
   at forge.gui.input.InputPayMana.onStateChanged(InputPayMana.java:352)
   at forge.gui.input.InputPayMana.showMessage(InputPayMana.java:343)
   at forge.gui.input.InputBase.showMessageInitial(InputBase.java:50)
   at forge.gui.InputProxy$1.run(InputProxy.java:69)
   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 drdev » 04 Dec 2013, 01:35

The reason the AI took over is your player is given a temporary human controller and when the exception is thrown, the old controller is never restored.

I've fixed that in r23870 by trapping any exception thrown while running as AI and ensuring the old controller is restored before re-throwing the exception.

I've also figured out the underlying cause of these reported exceptions is a SpellAbility with no source card, which suggests a bigger problem I'm currently investigating.

EDIT: I fixed the underlying issue in r23872.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby swordshine » 04 Dec 2013, 10:15

AI cast Hinder to counter my Peek, I got such an NPE(r23876):
NPE | Open
Game-0 > java.lang.NullPointerException
at forge.game.player.PlayerControllerHuman.mayBeYou(PlayerControllerHuman.java:797)
at forge.game.player.PlayerControllerHuman.formatNotificationMessage(PlayerControllerHuman.java:792)
at forge.game.player.PlayerControllerHuman.notifyOfValue(PlayerControllerHuman.java:770)
at forge.game.GameAction.nofityOfValue(GameAction.java:1432)
at forge.game.player.PlayerControllerAi.chooseSomeType(PlayerControllerAi.java:326)
at forge.game.ability.effects.CounterEffect.removeFromStack(CounterEffect.java:158)
at forge.game.ability.effects.CounterEffect.resolve(CounterEffect.java:107)
at forge.game.ability.SpellApiBased.resolve(SpellApiBased.java:56)
at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1112)
at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1094)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:574)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1008)
at forge.game.GameAction.startGame(GameAction.java:1468)
at forge.game.Match$1.run(Match.java:118)
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:744)
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Bug Reports (snapshot builds)

Postby lujo » 04 Dec 2013, 21:11

Description: I was going to let a Runeboggle counter my Parallax Nexus and the game crashed.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.7-SNAPSHOT-r${forge.revision}${forge.specialStatus} (mixed revisions detected; please update from the root directory)
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_17 Oracle Corporation

java.lang.NullPointerException
   at forge.ai.ComputerUtilMana.adjustManaCostToAvoidNegEffects(ComputerUtilMana.java:345)
   at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:101)
   at forge.ai.ComputerUtilMana.canPayManaCost(ComputerUtilMana.java:54)
   at forge.gui.input.InputPayMana$3.evaluate(InputPayMana.java:317)
   at forge.gui.input.InputPayMana$3.evaluate(InputPayMana.java:314)
   at forge.util.Evaluator.run(Evaluator.java:8)
   at forge.game.player.Player.runWithController(Player.java:2953)
   at forge.gui.input.InputPayMana.runAsAi(InputPayMana.java:55)
   at forge.gui.input.InputPayMana.updateMessage(InputPayMana.java:320)
   at forge.gui.input.InputPayMana$4.run(InputPayMana.java:355)
   at forge.FThreads.invokeInEdtNowOrLater(FThreads.java:46)
   at forge.gui.input.InputPayMana.onStateChanged(InputPayMana.java:352)
   at forge.gui.input.InputPayMana.showMessage(InputPayMana.java:343)
   at forge.gui.input.InputBase.showMessageInitial(InputBase.java:50)
   at forge.gui.InputProxy$1.run(InputProxy.java:69)
   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 drdev » 05 Dec 2013, 00:06

lujo wrote:Description: I was going to let a Runeboggle counter my Parallax Nexus and the game crashed.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.7-SNAPSHOT-r${forge.revision}${forge.specialStatus} (mixed revisions detected; please update from the root directory)
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_17 Oracle Corporation

java.lang.NullPointerException
   at forge.ai.ComputerUtilMana.adjustManaCostToAvoidNegEffects(ComputerUtilMana.java:345)
   at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:101)
   at forge.ai.ComputerUtilMana.canPayManaCost(ComputerUtilMana.java:54)
   at forge.gui.input.InputPayMana$3.evaluate(InputPayMana.java:317)
   at forge.gui.input.InputPayMana$3.evaluate(InputPayMana.java:314)
   at forge.util.Evaluator.run(Evaluator.java:8)
   at forge.game.player.Player.runWithController(Player.java:2953)
   at forge.gui.input.InputPayMana.runAsAi(InputPayMana.java:55)
   at forge.gui.input.InputPayMana.updateMessage(InputPayMana.java:320)
   at forge.gui.input.InputPayMana$4.run(InputPayMana.java:355)
   at forge.FThreads.invokeInEdtNowOrLater(FThreads.java:46)
   at forge.gui.input.InputPayMana.onStateChanged(InputPayMana.java:352)
   at forge.gui.input.InputPayMana.showMessage(InputPayMana.java:343)
   at forge.gui.input.InputBase.showMessageInitial(InputBase.java:50)
   at forge.gui.InputProxy$1.run(InputProxy.java:69)
   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)
This looks like the issue I just mentioned fixing in r23872 above. Updating your local checkout should fix this.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby oskarolw » 05 Dec 2013, 08:27

Description: I played a spell with a mix of mana from Elvish Spirit Guide, Simian Spirit Guide, Lotus Petal and Chrome Mox
r23889

IllegalStateException | Open
Code: Select all
Forge Version:    SVN
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_45 Oracle Corporation

java.lang.IllegalStateException: forge.game.GameAction.moveTo may not be accessed from the event dispatch thread.
   at forge.FThreads.assertExecutedByEdt(FThreads.java:29)
   at forge.game.GameAction.moveTo(GameAction.java:393)
   at forge.game.GameAction.moveTo(GameAction.java:389)
   at forge.game.GameAction.moveToGraveyard(GameAction.java:510)
   at forge.game.GameAction.sacrificeDestroy(GameAction.java:1374)
   at forge.game.GameAction.sacrifice(GameAction.java:1217)
   at forge.game.cost.CostSacrifice.doPayment(CostSacrifice.java:178)
   at forge.game.cost.CostPartWithList.executePayment(CostPartWithList.java:96)
   at forge.game.cost.CostPartWithList.executePayment(CostPartWithList.java:108)
   at forge.game.cost.CostPartWithList.payAI(CostPartWithList.java:125)
   at forge.game.cost.CostPayment.payComputerCosts(CostPayment.java:190)
   at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:208)
   at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:58)
   at forge.gui.input.InputPayMana$2.run(InputPayMana.java:294)
   at forge.game.player.Player.runWithController(Player.java:2955)
   at forge.gui.input.InputPayMana.runAsAi(InputPayMana.java:283)
   at forge.gui.input.InputPayMana.onOk(InputPayMana.java:297)
   at forge.gui.input.InputBase.selectButtonOK(InputBase.java:70)
   at forge.gui.InputProxy.selectButtonOK(InputProxy.java:83)
   at forge.gui.match.controllers.CPrompt$2.actionPerformed(CPrompt.java:61)
   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$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.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
oskarolw
 
Posts: 39
Joined: 06 Jul 2012, 08:51
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby oskarolw » 05 Dec 2013, 08:31

r23889, Sutured Ghoul exiles entire graveyard no matter what creatures are selected.
oskarolw
 
Posts: 39
Joined: 06 Jul 2012, 08:51
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby oskarolw » 05 Dec 2013, 09:09

r23889
Description: AI attacking me with an Ash Zealot (played in first mainphase) and a Firedrinker Satyr

ConcurrentModificationException | Open
Code: Select all
Forge Version:    SVN
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_45 Oracle Corporation

java.util.ConcurrentModificationException
   at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
   at java.util.ArrayList$Itr.next(Unknown Source)
   at com.google.common.collect.AbstractMapBasedMultimap$Itr.next(AbstractMapBasedMultimap.java:1150)
   at forge.game.combat.Combat.getAttackers(Combat.java:197)
   at forge.gui.match.TargetingOverlay.assembleArcs(TargetingOverlay.java:243)
   at forge.gui.match.TargetingOverlay.access$4(TargetingOverlay.java:80)
   at forge.gui.match.TargetingOverlay$OverlayPanel.paintComponent(TargetingOverlay.java:350)
   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.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$3.run(Unknown Source)
   at javax.swing.RepaintManager$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(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$1100(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)
oskarolw
 
Posts: 39
Joined: 06 Jul 2012, 08:51
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby oskarolw » 05 Dec 2013, 09:15

Description: I had played and activated Mindslaver, this caused the window-layout to remove the playing-fields, player-information etc. and only left Player Hand and AI hand tabs. I then selected the "Dock" tab at the bottom left and tried the "refresh the layout"-button. Crash.
r23889

InvalidLayoutFileException | Open
Code: Select all
Forge Version:    SVN
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_45 Oracle Corporation

forge.gui.framework.InvalidLayoutFileException
   at forge.gui.framework.SLayoutIO.loadLayout(SLayoutIO.java:355)
   at forge.gui.match.controllers.CDock$1.run(CDock.java:95)
   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)
oskarolw
 
Posts: 39
Joined: 06 Jul 2012, 08:51
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby lujo » 05 Dec 2013, 14:48

Description: I payed the initial cost for a multikicker card, Joraga War-caller, and the game wouldn't let me pay the kicker (or in fact do anything) and instead kept locked while it asked me to pay the original price untill I pressed "cancel". Then the game "took over".

NullPointerException | Open
Code: Select all
Forge Version:    1.5.7-SNAPSHOT-r${forge.revision}${forge.specialStatus} (mixed revisions detected; please update from the root directory)
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_17 Oracle Corporation

java.lang.NullPointerException
   at forge.ai.ComputerUtilMana.adjustManaCostToAvoidNegEffects(ComputerUtilMana.java:345)
   at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:101)
   at forge.ai.ComputerUtilMana.canPayManaCost(ComputerUtilMana.java:54)
   at forge.gui.input.InputPayMana$3.evaluate(InputPayMana.java:317)
   at forge.gui.input.InputPayMana$3.evaluate(InputPayMana.java:314)
   at forge.util.Evaluator.run(Evaluator.java:8)
   at forge.game.player.Player.runWithController(Player.java:2953)
   at forge.gui.input.InputPayMana.runAsAi(InputPayMana.java:55)
   at forge.gui.input.InputPayMana.updateMessage(InputPayMana.java:320)
   at forge.gui.input.InputPayMana$4.run(InputPayMana.java:355)
   at forge.FThreads.invokeInEdtNowOrLater(FThreads.java:46)
   at forge.gui.input.InputPayMana.onStateChanged(InputPayMana.java:352)
   at forge.gui.input.InputPayMana.showMessage(InputPayMana.java:343)
   at forge.gui.input.InputBase.showMessageInitial(InputBase.java:50)
   at forge.gui.InputProxy$1.run(InputProxy.java:69)
   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 drdev » 05 Dec 2013, 15:01

lujo wrote:Description: I payed the initial cost for a multikicker card, Joraga War-caller, and the game wouldn't let me pay the kicker (or in fact do anything) and instead kept locked while it asked me to pay the original price untill I pressed "cancel". Then the game "took over".

NullPointerException | Open
Code: Select all
Forge Version:    1.5.7-SNAPSHOT-r${forge.revision}${forge.specialStatus} (mixed revisions detected; please update from the root directory)
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_17 Oracle Corporation

java.lang.NullPointerException
   at forge.ai.ComputerUtilMana.adjustManaCostToAvoidNegEffects(ComputerUtilMana.java:345)
   at forge.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:101)
   at forge.ai.ComputerUtilMana.canPayManaCost(ComputerUtilMana.java:54)
   at forge.gui.input.InputPayMana$3.evaluate(InputPayMana.java:317)
   at forge.gui.input.InputPayMana$3.evaluate(InputPayMana.java:314)
   at forge.util.Evaluator.run(Evaluator.java:8)
   at forge.game.player.Player.runWithController(Player.java:2953)
   at forge.gui.input.InputPayMana.runAsAi(InputPayMana.java:55)
   at forge.gui.input.InputPayMana.updateMessage(InputPayMana.java:320)
   at forge.gui.input.InputPayMana$4.run(InputPayMana.java:355)
   at forge.FThreads.invokeInEdtNowOrLater(FThreads.java:46)
   at forge.gui.input.InputPayMana.onStateChanged(InputPayMana.java:352)
   at forge.gui.input.InputPayMana.showMessage(InputPayMana.java:343)
   at forge.gui.input.InputBase.showMessageInitial(InputBase.java:50)
   at forge.gui.InputProxy$1.run(InputProxy.java:69)
   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)
If the game took over, I'm guessing you haven't updated your source, as that bug was fixed awhile back. I think the exception you're seeing has also been fixed, but if it's still broken after you update, let me know.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 05 Dec 2013, 15:13

drdev wrote:If the game took over, I'm guessing you haven't updated your source, as that bug was fixed awhile back. I think the exception you're seeing has also been fixed, but if it's still broken after you update, let me know.
I believe lujo is using a snapshot build so he doesn't have any source to update. He needs to grab the most recent snapshot build (assuming one was created after you fixed the bug)

lujo, please make sure to report what version you are using so we can know what the deal is.
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 lujo » 05 Dec 2013, 21:13

Ok, np. Err, I'm a bit of an idiot, but where do I find the snapshot directory link? I'm sure I've seen it before but can't seem to find it? It's the last time I ask, I promise.

NVM - dug it up ^^ Ok, I'll post version number in the future.
---

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: Google [Bot] and 41 guests


Who is online

In total there are 42 users online :: 1 registered, 0 hidden and 41 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: Google [Bot] and 41 guests

Login Form