magic.exception.GameException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • magic.exception.GameException: magic.exception.GameException: magic.exception.GameException: java.lang.ClassCastException: magic.model.action.ChangeStateAction cannot be cast to magic.model.MagicPermanent at magic.model.MagicGame.doAction(MagicGame.java:555) at magic.model.phase.MagicPhase.executePhase(MagicPhase.java:43) at magic.model.MagicGame.executePhase(MagicGame.java:469) at magic.model.MagicGame.advanceToNextEventWithChoice(MagicGame.java:794) at magic.ai.VegasWorker.runGame(VegasWorker.java:26) at magic.ai.VegasWorker.run(VegasWorker.java:43) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: magic.exception.GameException: magic.exception.GameException: java.lang.ClassCastException: magic.model.action.ChangeStateAction cannot be cast to magic.model.MagicPermanent at magic.model.MagicGame.doAction(MagicGame.java:555) at magic.model.event.MagicPlayCardEvent$1.executeEvent(MagicPlayCardEvent.java:27) at magic.model.event.MagicEvent.executeEvent(MagicEvent.java:746) at magic.model.MagicGame.executeEvent(MagicGame.java:775) at magic.model.stack.MagicItemOnStack.resolve(MagicItemOnStack.java:129) at magic.model.stack.MagicCardOnStack.resolve(MagicCardOnStack.java:112) at magic.model.action.StackResolveAction.doAction(StackResolveAction.java:13) at magic.model.MagicGame.doAction(MagicGame.java:553) ... 8 more Caused by: magic.exception.GameException: java.lang.ClassCastException: magic.model.action.ChangeStateAction cannot be cast to magic.model.MagicPermanent at magic.model.MagicGame.doAction(MagicGame.java:555) at magic.model.action.PlayCardFromStackAction.doAction(PlayCardFromStackAction.java:61) at magic.model.MagicGame.doAction(MagicGame.java:553) ... 15 more Caused by: java.lang.ClassCastException: magic.model.action.ChangeStateAction cannot be cast to magic.model.MagicPermanent at magic.model.trigger.ThisBecomesBlockedTrigger.accept(ThisBecomesBlockedTrigger.java:8) at magic.model.MagicGame.executeTrigger(MagicGame.java:1343) at magic.model.MagicGame.executeTrigger(MagicGame.java:1379) at magic.model.action.ChangeStateAction.doAction(ChangeStateAction.java:35) at magic.model.MagicGame.doAction(MagicGame.java:553) ... 17 more
    No Bugmate found.