{"action":"created","issue":{"url":"https://api.github.com/repos/Trudko/advanced-new-file/issues/16","labels_url":"https://api.github.com/repos/Trudko/advanced-new-file/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/Trudko/advanced-new-file/issues/16/comments","events_url":"https://api.github.com/repos/Trudko/advanced-new-file/issues/16/events","html_url":"https://github.com/Trudko/advanced-new-file/issues/16","id":69643855,"number":16,"title":"Uncaught TypeError: Cannot read property 'getSelection' of undefined","user":{"login":"htekgulds","id":6371054,"avatar_url":"https://avatars.githubusercontent.com/u/6371054?v=3","gravatar_id":"","url":"https://api.github.com/users/htekgulds","html_url":"https://github.com/htekgulds","followers_url":"https://api.github.com/users/htekgulds/followers","following_url":"https://api.github.com/users/htekgulds/following{/other_user}","gists_url":"https://api.github.com/users/htekgulds/gists{/gist_id}","starred_url":"https://api.github.com/users/htekgulds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htekgulds/subscriptions","organizations_url":"https://api.github.com/users/htekgulds/orgs","repos_url":"https://api.github.com/users/htekgulds/repos","events_url":"https://api.github.com/users/htekgulds/events{/privacy}","received_events_url":"https://api.github.com/users/htekgulds/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Trudko/advanced-new-file/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-20T17:53:48Z","updated_at":"2015-04-23T07:53:42Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\n1. Press Ctrl + Alt + N\r\n\r\n**Atom Version**: 0.192.0\r\n**System**: Microsoft Windows 8.1 Pro\r\n**Thrown From**: [advanced-new-file](https://github.com/Trudko/advanced-new-file) package, v0.4.0\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'getSelection' of undefined\r\n\r\n```\r\nAt /C:/Users/Hasan/.atom/packages/advanced-new-file/lib/advanced-new-file-view.coffee:326\r\n\r\nTypeError: Cannot read property 'getSelection' of undefined\r\n  at AdvancedFileView.module.exports.AdvancedFileView.attach (C:\\Users\\Hasan\\.atom\\packages\\advanced-new-file\\lib\\advanced-new-file-view.coffee:206:9)\r\n  at AdvancedFileView.module.exports.AdvancedFileView.toggle (C:\\Users\\Hasan\\.atom\\packages\\advanced-new-file\\lib\\advanced-new-file-view.coffee:9:3)\r\n  at atom-workspace.<anonymous> (C:\\Users\\Hasan\\.atom\\packages\\advanced-new-file\\lib\\advanced-new-file-view.coffee:9:3)\r\n  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\\Users\\Hasan\\AppData\\Local\\atom\\app-0.192.0\\resources\\app\\src\\command-registry.js:238:29)\r\n  at C:\\Users\\Hasan\\AppData\\Local\\atom\\app-0.192.0\\resources\\app\\src\\command-registry.js:3:61\r\n  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\\Users\\Hasan\\AppData\\Local\\atom\\app-0.192.0\\resources\\app\\node_modules\\atom-keymap\\lib\\keymap-manager.js:519:16)\r\n  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\\Users\\Hasan\\AppData\\Local\\atom\\app-0.192.0\\resources\\app\\node_modules\\atom-keymap\\lib\\keymap-manager.js:354:22)\r\n  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (C:\\Users\\Hasan\\AppData\\Local\\atom\\app-0.192.0\\resources\\app\\src\\window-event-handler.js:180:20)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -0:03.5 advanced-new-file:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"themes\": [\r\n      \"seti-ui\",\r\n      \"solarized-dark-syntax\"\r\n    ],\r\n    \"autoHideMenuBar\": true\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nachievements, v0.7.1\r\nadvanced-new-file, v0.4.0\r\nautocomplete-plus, v2.11.0\r\nemmet, v2.3.7\r\nlanguage-docker, v1.1.3\r\nseti-ui, v0.6.3\r\nterminal-status, v1.6.4\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Trudko/advanced-new-file/issues/comments/95480105","html_url":"https://github.com/Trudko/advanced-new-file/issues/16#issuecomment-95480105","issue_url":"https://api.github.com/repos/Trudko/advanced-new-file/issues/16","id":95480105,"user":{"login":"Trudko","id":3289225,"avatar_url":"https://avatars.githubusercontent.com/u/3289225?v=3","gravatar_id":"","url":"https://api.github.com/users/Trudko","html_url":"https://github.com/Trudko","followers_url":"https://api.github.com/users/Trudko/followers","following_url":"https://api.github.com/users/Trudko/following{/other_user}","gists_url":"https://api.github.com/users/Trudko/gists{/gist_id}","starred_url":"https://api.github.com/users/Trudko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trudko/subscriptions","organizations_url":"https://api.github.com/users/Trudko/orgs","repos_url":"https://api.github.com/users/Trudko/repos","events_url":"https://api.github.com/users/Trudko/events{/privacy}","received_events_url":"https://api.github.com/users/Trudko/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T07:53:41Z","updated_at":"2015-04-23T07:53:41Z","body":"Are you able to reproduce this consistently?"}}