{"action":"created","issue":{"url":"https://api.github.com/repos/edenvidal/States/issues/15","repository_url":"https://api.github.com/repos/edenvidal/States","labels_url":"https://api.github.com/repos/edenvidal/States/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/edenvidal/States/issues/15/comments","events_url":"https://api.github.com/repos/edenvidal/States/issues/15/events","html_url":"https://github.com/edenvidal/States/issues/15","id":169997343,"number":15,"title":"Sketch crashes after deleting all States in an Artboard","user":{"login":"alienresident","id":673563,"avatar_url":"https://avatars.githubusercontent.com/u/673563?v=3","gravatar_id":"","url":"https://api.github.com/users/alienresident","html_url":"https://github.com/alienresident","followers_url":"https://api.github.com/users/alienresident/followers","following_url":"https://api.github.com/users/alienresident/following{/other_user}","gists_url":"https://api.github.com/users/alienresident/gists{/gist_id}","starred_url":"https://api.github.com/users/alienresident/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alienresident/subscriptions","organizations_url":"https://api.github.com/users/alienresident/orgs","repos_url":"https://api.github.com/users/alienresident/repos","events_url":"https://api.github.com/users/alienresident/events{/privacy}","received_events_url":"https://api.github.com/users/alienresident/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/edenvidal/States/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":{"login":"rodionovd","id":5719520,"avatar_url":"https://avatars.githubusercontent.com/u/5719520?v=3","gravatar_id":"","url":"https://api.github.com/users/rodionovd","html_url":"https://github.com/rodionovd","followers_url":"https://api.github.com/users/rodionovd/followers","following_url":"https://api.github.com/users/rodionovd/following{/other_user}","gists_url":"https://api.github.com/users/rodionovd/gists{/gist_id}","starred_url":"https://api.github.com/users/rodionovd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodionovd/subscriptions","organizations_url":"https://api.github.com/users/rodionovd/orgs","repos_url":"https://api.github.com/users/rodionovd/repos","events_url":"https://api.github.com/users/rodionovd/events{/privacy}","received_events_url":"https://api.github.com/users/rodionovd/received_events","type":"User","site_admin":false},"assignees":[{"login":"rodionovd","id":5719520,"avatar_url":"https://avatars.githubusercontent.com/u/5719520?v=3","gravatar_id":"","url":"https://api.github.com/users/rodionovd","html_url":"https://github.com/rodionovd","followers_url":"https://api.github.com/users/rodionovd/followers","following_url":"https://api.github.com/users/rodionovd/following{/other_user}","gists_url":"https://api.github.com/users/rodionovd/gists{/gist_id}","starred_url":"https://api.github.com/users/rodionovd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodionovd/subscriptions","organizations_url":"https://api.github.com/users/rodionovd/orgs","repos_url":"https://api.github.com/users/rodionovd/repos","events_url":"https://api.github.com/users/rodionovd/events{/privacy}","received_events_url":"https://api.github.com/users/rodionovd/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-08-08T18:54:19Z","updated_at":"2016-08-09T17:37:18Z","closed_at":null,"body":"Hi,\r\n\r\nGreat Plugin!\r\n\r\nI found a bug that causes Sketch to crash. If I duplicate an Artboard with States, then select all of the States and delete them, Sketch deletes them but then crashes. \r\n\r\nIf I select all but one and delete them it's fine.\r\n\r\n[States-Crash.txt](https://github.com/edenvidal/States/files/407480/States-Crash.txt)\r\n\r\nAttaching Crash log.\r\n\r\n```\r\nApplication Specific Information:\r\n*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: self.defaultState == nil'\r\n```\r\n\r\nThanks,\r\nMark  "},"comment":{"url":"https://api.github.com/repos/edenvidal/States/issues/comments/238630113","html_url":"https://github.com/edenvidal/States/issues/15#issuecomment-238630113","issue_url":"https://api.github.com/repos/edenvidal/States/issues/15","id":238630113,"user":{"login":"alienresident","id":673563,"avatar_url":"https://avatars.githubusercontent.com/u/673563?v=3","gravatar_id":"","url":"https://api.github.com/users/alienresident","html_url":"https://github.com/alienresident","followers_url":"https://api.github.com/users/alienresident/followers","following_url":"https://api.github.com/users/alienresident/following{/other_user}","gists_url":"https://api.github.com/users/alienresident/gists{/gist_id}","starred_url":"https://api.github.com/users/alienresident/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alienresident/subscriptions","organizations_url":"https://api.github.com/users/alienresident/orgs","repos_url":"https://api.github.com/users/alienresident/repos","events_url":"https://api.github.com/users/alienresident/events{/privacy}","received_events_url":"https://api.github.com/users/alienresident/received_events","type":"User","site_admin":false},"created_at":"2016-08-09T17:37:17Z","updated_at":"2016-08-09T17:37:17Z","body":"I updated to 0.99 (from 0.98) and it's not crashing anymore!\r\nThanks,\r\nMark  "}}
{"actor":{"display_login":"alienresident"}}