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 | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    ChangeStateAction cannot be cast MagicPermanent

    GitHub | 9 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

    Help:basic RMI question

    Google Groups | 2 decades ago | Paolo De Lutiis
    java.lang.ClassCastException: serverPackage.ServerClass_Stub at clientPackage.myApplet.init(myApplet.java:line#) at sun.applet.AppletPanel.run(AppletPanel.java:273) at java.lang.Thread.
  3. 0

    Shared hosting Bungeecord problems.

    GitHub | 3 years ago | Arksenu
    java.lang.ClassCastException: bka cannot be cast to fs All my servers are set to onlinemode: false Here is my config.yml groups: arksenu: - admin disabled_commands: - find player_limit: -1 stats: 347d1d62-6fb6-4869-bd43-7d0745de8e3c permissions: default: - bungeecord.command.server - bungeecord.command.list admin: - bungeecord.command.ip - bungeecord.command.alert - bungeecord.command.end - bungeecord.command.reload listeners: - max_players: 18 fallback_server: hub host: 0.0.0.0:35289 bind_local_address: true ping_passthrough: false tab_list: GLOBAL_PING default_server: hub forced_hosts: pvp.md-5.net: hub tab_size: 60 force_default_server: true motd: ’Network’ query_enabled: false query_port: 25565 timeout: 30000 connection_throttle: 4000 servers: hub: address: 108.170.8.146:35289 restricted: false motd: test UvGames: address: 66.85.165.170:26200 restricted: false motd: test UvPrison: address: 66.85.128.90:25928 restricted: false motd: test ip_forward: false online_mode: true And here is my console message -> UpstreamBridge has disconnected disconnected with: Exception Connecting:RuntimeException : Server is online mode! @ net.md_5.bungee.ServerConnector:188
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Shared hosting Bungeecord problems.

    GitHub | 3 years ago | Arksenu
    java.lang.ClassCastException: bka cannot be cast to fs All my servers are set to onlinemode: false Here is my config.yml groups: arksenu: - admin disabled_commands: - find player_limit: -1 stats: 347d1d62-6fb6-4869-bd43-7d0745de8e3c permissions: default: - bungeecord.command.server - bungeecord.command.list admin: - bungeecord.command.ip - bungeecord.command.alert - bungeecord.command.end - bungeecord.command.reload listeners: - max_players: 18 fallback_server: hub host: 0.0.0.0:35289 bind_local_address: true ping_passthrough: false tab_list: GLOBAL_PING default_server: hub forced_hosts: pvp.md-5.net: hub tab_size: 60 force_default_server: true motd: ’Network’ query_enabled: false query_port: 25565 timeout: 30000 connection_throttle: 4000 servers: hub: address: 108.170.8.146:35289 restricted: false motd: test UvGames: address: 66.85.165.170:26200 restricted: false motd: test UvPrison: address: 66.85.128.90:25928 restricted: false motd: test ip_forward: false online_mode: true And here is my console message -> UpstreamBridge has disconnected disconnected with: Exception Connecting:RuntimeException : Server is online mode! @ net.md_5.bungee.ServerConnector:188
  6. 0

    SWTBot/Troubleshooting - Eclipsepedia

    eclipse.org | 1 year ago
    java.lang.ClassCastException: org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner .run(EclipseTestRunner.java:331) at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner .run(EclipseTestRunner.java:208) at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication .runTests(UITestApplication.java:115) at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work benchTestable.java:68)

    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