{"action":"created","issue":{"url":"https://api.github.com/repos/magarena/magarena/issues/347","labels_url":"https://api.github.com/repos/magarena/magarena/issues/347/labels{/name}","comments_url":"https://api.github.com/repos/magarena/magarena/issues/347/comments","events_url":"https://api.github.com/repos/magarena/magarena/issues/347/events","html_url":"https://github.com/magarena/magarena/issues/347","id":85959640,"number":347,"title":"Crash to desktop with no log","user":{"login":"ShawnieBoy","id":2363180,"avatar_url":"https://avatars.githubusercontent.com/u/2363180?v=3","gravatar_id":"","url":"https://api.github.com/users/ShawnieBoy","html_url":"https://github.com/ShawnieBoy","followers_url":"https://api.github.com/users/ShawnieBoy/followers","following_url":"https://api.github.com/users/ShawnieBoy/following{/other_user}","gists_url":"https://api.github.com/users/ShawnieBoy/gists{/gist_id}","starred_url":"https://api.github.com/users/ShawnieBoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShawnieBoy/subscriptions","organizations_url":"https://api.github.com/users/ShawnieBoy/orgs","repos_url":"https://api.github.com/users/ShawnieBoy/repos","events_url":"https://api.github.com/users/ShawnieBoy/events{/privacy}","received_events_url":"https://api.github.com/users/ShawnieBoy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-07T22:56:24Z","updated_at":"2015-06-08T02:05:35Z","closed_at":null,"body":"I'm having this with a couple of new groovy files, even in test scenarios. I know it's to do with the looping of lists, and made some adjustments, but I'm not sure exactly what's causing the problem as there's no error report or crash log and they parse ok.\r\n\r\n[Mark of Eviction](http://magiccards.info/rav/en/58.html)\r\n```groovy\r\n[\r\n    new MagicAtYourUpkeepTrigger() {\r\n        @Override\r\n        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPlayer upkeepPlayer) {\r\n            final MagicPermanent enchanted = permanent.getEnchantedPermanent()\r\n            return enchanted.isValid() ? \r\n                new MagicEvent(\r\n                    permanent,\r\n                    enchanted,\r\n                    this,\r\n                    \"Return RN and all Auras attached to that creature to their owners' hands.\"\r\n                ) :\r\n            MagicEvent.NONE;\r\n        }\r\n\r\n        @Override\r\n        public void executeEvent(final MagicGame game, final MagicEvent event) {\r\n            final MagicPermanent enchanted = event.getRefPermanent();\r\n            final Set<MagicPermanent> auras = enchanted.getAuraPermanents();\r\n            for (final MagicPermanent aura : auras) {\r\n                game.doAction(new RemoveFromPlayAction(aura, MagicLocationType.OwnersHand));\r\n            }\r\n            game.doAction(new RemoveFromPlayAction(enchanted, MagicLocationType.OwnersHand));\r\n        }\r\n    }\r\n]\r\n```\r\n[Bloodbond March](http://magiccards.info/rav/en/58.html)\r\n```groovy\r\n[\r\n    new MagicWhenOtherSpellIsCastTrigger() {\r\n        @Override\r\n        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicCardOnStack cardOnStack) {  \r\n            return cardOnStack.hasType(MagicType.Creature) ?\r\n                new MagicEvent(\r\n                    permanent,\r\n                    cardOnStack,\r\n                    this,\r\n                    \"Each player returns all cards with the same name as (${cardOnStack.getName()}) from his or her graveyard to the battlefield.\"\r\n                ):\r\n                MagicEvent.NONE;\r\n        }\r\n        @Override\r\n        public void executeEvent(final MagicGame game, final MagicEvent event) {\r\n            final String name = event.getRefCard().getName();\r\n            for (final MagicPlayer player : game.getAPNAP()) {\r\n                final List<MagicCard> graveyard = cardName(name).from(MagicTargetType.Graveyard).filter(player);\r\n                for (final MagicCard card : graveyard) {\r\n                    game.doAction(new ReanimateAction(card, player));\r\n                }\r\n            }\r\n        }\r\n    }\r\n]\r\n```"},"comment":{"url":"https://api.github.com/repos/magarena/magarena/issues/comments/109826958","html_url":"https://github.com/magarena/magarena/issues/347#issuecomment-109826958","issue_url":"https://api.github.com/repos/magarena/magarena/issues/347","id":109826958,"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},"created_at":"2015-06-08T02:05:34Z","updated_at":"2015-06-08T02:05:34Z","body":"The part about \"no log\" is something to be concerned about, crash.log should be updated. There could be a bug in the log generation as well."}}