{"action":"created","issue":{"url":"https://api.github.com/repos/magarena/magarena/issues/384","labels_url":"https://api.github.com/repos/magarena/magarena/issues/384/labels{/name}","comments_url":"https://api.github.com/repos/magarena/magarena/issues/384/comments","events_url":"https://api.github.com/repos/magarena/magarena/issues/384/events","html_url":"https://github.com/magarena/magarena/issues/384","id":92008546,"number":384,"title":"crash when activating Volrath the Fallen","user":{"login":"melvinzhang","id":1620634,"avatar_url":"https://avatars.githubusercontent.com/u/1620634?v=3","gravatar_id":"","url":"https://api.github.com/users/melvinzhang","html_url":"https://github.com/melvinzhang","followers_url":"https://api.github.com/users/melvinzhang/followers","following_url":"https://api.github.com/users/melvinzhang/following{/other_user}","gists_url":"https://api.github.com/users/melvinzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/melvinzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melvinzhang/subscriptions","organizations_url":"https://api.github.com/users/melvinzhang/orgs","repos_url":"https://api.github.com/users/melvinzhang/repos","events_url":"https://api.github.com/users/melvinzhang/events{/privacy}","received_events_url":"https://api.github.com/users/melvinzhang/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magarena/magarena/labels/AI","name":"AI","color":"0052cc"},{"url":"https://api.github.com/repos/magarena/magarena/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-30T07:03:31Z","updated_at":"2015-07-14T23:24:03Z","closed_at":null,"body":"```\r\n65. UntapAction (Blood Crypt) = -5\r\n66. UntapAction (Crosis's Catacombs) = -5\r\n67. UntapAction (Mountain) = -5\r\n68. UntapAction (Mountain) = -5\r\n69. UntapAction (Mountain) = -5\r\n70. UntapAction (Swamp) = -5\r\n71. ChangeStateAction = 0\r\n72. ChangeStateAction = 0\r\n73. DrawAction = -300\r\n74. AddEventAction (EVENT: NONE  ...) = 0\r\n75. ExecuteFirstEventAction = 0\r\n76. AddEventAction (EVENT: NONE  Play a card or ability.) = 0\r\n77. ExecuteFirstEventAction = 0\r\n78. AddEventAction (EVENT: Volrath the Fallen Pay {1}{B}$. Choose how to pay the mana cost.) = 0\r\n79. AddEventAction (EVENT: Volrath the Fallen MMABC discards a creature card$. Choose a creature card from your hand.) = 0\r\n80. AddEventAction (EVENT: Volrath the Fallen Play activated ability of Volrath the Fallen. ) = 0\r\n81. ExecuteFirstEventAction = 0\r\n82. TapAction (Crosis's Catacombs) = 5\r\n83. TapAction (Swamp) = 5\r\n84. ExecuteFirstEventAction = 0\r\n85. ExecuteFirstEventAction = 0\r\n86. PutItemOnStackAction (MagicAbilityOnStack,Volrath the Fallen) = 1\r\n87. AddEventAction (EVENT: NONE  Play a card or ability.) = 0\r\n88. ExecuteFirstEventAction = 0\r\n89. AddEventAction (EVENT: NONE  Play a card or ability.) = 0\r\n90. ExecuteFirstEventAction = 0\r\n91. StackResolveAction = 0\r\nScore = 265\r\n\r\nException from controller.runGame: java.lang.ClassCastException: magic.model.target.MagicTargetNone cannot be cast to magic.model.MagicCard\r\nmagic.exception.GameException: java.lang.ClassCastException: magic.model.target.MagicTargetNone cannot be cast to magic.model.MagicCard\r\n        at magic.model.MagicGame.doAction(MagicGame.java:566)\r\n        at magic.model.phase.MagicPhase.executePhase(MagicPhase.java:43)\r\n        at magic.model.MagicGame.executePhase(MagicGame.java:480)\r\n        at magic.model.MagicGame.advanceToNextEventWithChoice(MagicGame.java:794)\r\n        at magic.ai.MCTSAI.runSimulation(MCTSAI.java:452)\r\n        at magic.ai.MCTSAI.randomPlay(MCTSAI.java:428)\r\n        at magic.ai.MCTSAI.access$000(MCTSAI.java:63)\r\n        at magic.ai.MCTSAI$2.run(MCTSAI.java:189)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n        at java.lang.Thread.run(Thread.java:744)\r\nCaused by: java.lang.ClassCastException: magic.model.target.MagicTargetNone cannot be cast to magic.model.MagicCard\r\n        at magic.model.event.MagicEvent.getRefCard(MagicEvent.java:357)\r\n        at Volrath_the_Fallen$1.executeEvent(Volrath_the_Fallen.groovy:26)\r\n        at magic.model.event.MagicEvent.executeEvent(MagicEvent.java:659)\r\n        at magic.model.MagicGame.executeEvent(MagicGame.java:775)\r\n        at magic.model.stack.MagicItemOnStack.resolve(MagicItemOnStack.java:122)\r\n        at magic.model.action.StackResolveAction.doAction(StackResolveAction.java:13)\r\n        at magic.model.MagicGame.doAction(MagicGame.java:564)\r\n        ... 10 more\r\n```"},"comment":{"url":"https://api.github.com/repos/magarena/magarena/issues/comments/121425723","html_url":"https://github.com/magarena/magarena/issues/384#issuecomment-121425723","issue_url":"https://api.github.com/repos/magarena/magarena/issues/384","id":121425723,"user":{"login":"lodici","id":2443519,"avatar_url":"https://avatars.githubusercontent.com/u/2443519?v=3","gravatar_id":"","url":"https://api.github.com/users/lodici","html_url":"https://github.com/lodici","followers_url":"https://api.github.com/users/lodici/followers","following_url":"https://api.github.com/users/lodici/following{/other_user}","gists_url":"https://api.github.com/users/lodici/gists{/gist_id}","starred_url":"https://api.github.com/users/lodici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lodici/subscriptions","organizations_url":"https://api.github.com/users/lodici/orgs","repos_url":"https://api.github.com/users/lodici/repos","events_url":"https://api.github.com/users/lodici/events{/privacy}","received_events_url":"https://api.github.com/users/lodici/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T23:24:03Z","updated_at":"2015-07-14T23:24:03Z","body":"see also [failed Jenkins build #1497](https://buildhive.cloudbees.com/job/magarena/job/magarena/1497/consoleText)."}}