magic.exception.GameException: magic.exception.GameException: magic.exception.GameException: java.lang.ClassCastException: magic.model.action.ChangeStateAction cannot be cast to magic.model.MagicPermanent

GitHub | melvinzhang | 5 months ago
  1. 0

    ChangeStateAction cannot be cast MagicPermanent

    GitHub | 5 months ago | melvinzhang
    magic.exception.GameException: magic.exception.GameException: magic.exception.GameException: java.lang.ClassCastException: magic.model.action.ChangeStateAction cannot be cast to magic.model.MagicPermanent
  2. 0

    activating Manacles of Decay {R} ability causes crash

    GitHub | 1 year ago | melvinzhang
    magic.exception.GameException: java.lang.ClassCastException: magic.model.MagicCard$1 cannot be cast to magic.model.MagicPermanent
  3. 0

    "you have hexproof" should fail during ability loading

    GitHub | 6 months ago | melvinzhang
    magic.exception.GameException: magic.exception.GameException: java.lang.ClassCastException: magic.model.MagicPermanent cannot be cast to magic.model.MagicPlayer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Memcached Java客户端2.6.1发布 - 编程语言 - ITeye资讯

    iteye.com | 1 year ago
    java.lang.ClassCastException: cannot be cast to
  6. 0

    cannot be cast to javax.servlet.Filter

    Oracle Community | 6 years ago | YE
    java.lang.ClassCastException: cannot be cast to javax.servlet.Filter

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      magic.model.action.ChangeStateAction cannot be cast to magic.model.MagicPermanent

      at magic.model.trigger.ThisBecomesBlockedTrigger.accept()
    2. magic.model.trigger
      ThisBecomesBlockedTrigger.accept
      1. magic.model.trigger.ThisBecomesBlockedTrigger.accept(ThisBecomesBlockedTrigger.java:8)
      1 frame
    3. magic.model
      MagicGame.executeTrigger
      1. magic.model.MagicGame.executeTrigger(MagicGame.java:1343)
      2. magic.model.MagicGame.executeTrigger(MagicGame.java:1379)
      2 frames
    4. magic.model.action
      ChangeStateAction.doAction
      1. magic.model.action.ChangeStateAction.doAction(ChangeStateAction.java:35)
      1 frame
    5. magic.model
      MagicGame.doAction
      1. magic.model.MagicGame.doAction(MagicGame.java:553)
      1 frame
    6. magic.model.action
      PlayCardFromStackAction.doAction
      1. magic.model.action.PlayCardFromStackAction.doAction(PlayCardFromStackAction.java:61)
      1 frame
    7. magic.model
      MagicGame.doAction
      1. magic.model.MagicGame.doAction(MagicGame.java:553)
      1 frame
    8. magic.model.event
      MagicEvent.executeEvent
      1. magic.model.event.MagicPlayCardEvent$1.executeEvent(MagicPlayCardEvent.java:27)
      2. magic.model.event.MagicEvent.executeEvent(MagicEvent.java:746)
      2 frames
    9. magic.model
      MagicGame.executeEvent
      1. magic.model.MagicGame.executeEvent(MagicGame.java:775)
      1 frame
    10. magic.model.stack
      MagicCardOnStack.resolve
      1. magic.model.stack.MagicItemOnStack.resolve(MagicItemOnStack.java:129)
      2. magic.model.stack.MagicCardOnStack.resolve(MagicCardOnStack.java:112)
      2 frames
    11. magic.model.action
      StackResolveAction.doAction
      1. magic.model.action.StackResolveAction.doAction(StackResolveAction.java:13)
      1 frame
    12. magic.model
      MagicGame.doAction
      1. magic.model.MagicGame.doAction(MagicGame.java:553)
      1 frame
    13. magic.model.phase
      MagicPhase.executePhase
      1. magic.model.phase.MagicPhase.executePhase(MagicPhase.java:43)
      1 frame
    14. magic.model
      MagicGame.advanceToNextEventWithChoice
      1. magic.model.MagicGame.executePhase(MagicGame.java:469)
      2. magic.model.MagicGame.advanceToNextEventWithChoice(MagicGame.java:794)
      2 frames
    15. magic.ai
      VegasWorker.run
      1. magic.ai.VegasWorker.runGame(VegasWorker.java:26)
      2. magic.ai.VegasWorker.run(VegasWorker.java:43)
      2 frames
    16. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3. java.lang.Thread.run(Unknown Source)
      3 frames