{"action":"created","issue":{"url":"https://api.github.com/repos/faceair/atom-goto-definition/issues/3","repository_url":"https://api.github.com/repos/faceair/atom-goto-definition","labels_url":"https://api.github.com/repos/faceair/atom-goto-definition/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/faceair/atom-goto-definition/issues/3/comments","events_url":"https://api.github.com/repos/faceair/atom-goto-definition/issues/3/events","html_url":"https://github.com/faceair/atom-goto-definition/issues/3","id":134814093,"number":3,"title":"Uncaught TypeError: Cannot read property '0' of undefined","user":{"login":"Dundee","id":27106,"avatar_url":"https://avatars.githubusercontent.com/u/27106?v=3","gravatar_id":"","url":"https://api.github.com/users/Dundee","html_url":"https://github.com/Dundee","followers_url":"https://api.github.com/users/Dundee/followers","following_url":"https://api.github.com/users/Dundee/following{/other_user}","gists_url":"https://api.github.com/users/Dundee/gists{/gist_id}","starred_url":"https://api.github.com/users/Dundee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dundee/subscriptions","organizations_url":"https://api.github.com/users/Dundee/orgs","repos_url":"https://api.github.com/users/Dundee/repos","events_url":"https://api.github.com/users/Dundee/events{/privacy}","received_events_url":"https://api.github.com/users/Dundee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-19T09:26:21Z","updated_at":"2016-02-19T12:13:48Z","closed_at":null,"body":"**Atom Version**: 1.5.3\r\n**System**: linux 4.4.1-2-ARCH\r\n**Thrown From**: [goto-definition](https://github.com/faceair/atom-goto-definition) package, v1.1.10\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property '0' of undefined\r\n\r\n```\r\nAt /home/dundee/.atom/packages/goto-definition/lib/goto-definition.coffee:72\r\n\r\nTypeError: Cannot read property '0' of undefined\r\n    at /home/dundee/.atom/packages/goto-definition/lib/goto-definition.coffee:72:32\r\n    at Array.map (native)\r\n    at /home/dundee/.atom/packages/goto-definition/lib/goto-definition.coffee:68:30\r\n    at Workspace.module.exports.Workspace.scan (/usr/share/atom/resources/app.asar/src/workspace.js:938:11)\r\n    at Object.module.exports.go (/home/dundee/.atom/packages/goto-definition/lib/goto-definition.coffee:67:20)\r\n    at atom-text-editor.<anonymous> (/home/dundee/.atom/packages/goto-definition/lib/goto-definition.coffee:31:8)\r\n    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:260:29)\r\n    at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61\r\n    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:544:16)\r\n    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:363:22)\r\n    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/usr/share/atom/resources/app.asar/src/window-event-handler.js:97:36)\r\n    at HTMLDocument.<anonymous> (/usr/share/atom/resources/app.asar/src/window-event-handler.js:3:61)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -2:05.4.0 core:delete (atom-text-editor.editor.is-focused)\r\n     -2:05.1.0 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)\r\n  2x -2:04.8.0 core:backspace (atom-text-editor.editor.is-focused)\r\n     -2:03.8.0 core:save (atom-text-editor.editor.is-focused)\r\n     -1:30.7.0 autocomplete-plus:activate (atom-text-editor.editor.is-focused)\r\n     -1:29.2.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused.autocomplete-active)\r\n     -1:27.7.0 goto-definition:go (atom-text-editor.editor.is-focused)\r\n     -1:25.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n 29x -1:23.6.0 core:move-right (atom-text-editor.editor.is-focused)\r\n  2x -1:21.1.0 goto-definition:go (atom-text-editor.editor.is-focused)\r\n     -0:48.7.0 core:cancel (a.stack-toggle)\r\n     -0:44.8.0 command-palette:toggle (atom-workspace.workspace.scrollbars-visible-always.theme-atom-dark-syntax.theme-atom-dark-ui)\r\n 22x -0:37.1.0 core:backspace (atom-text-editor.editor.mini.is-focused)\r\n     -0:15.8.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)\r\n     -0:15.8.0 core:cancel (atom-text-editor.editor.mini.is-focused)\r\n  2x -0:06.4.0 goto-definition:go (atom-workspace.workspace.scrollbars-visible-always.theme-atom-dark-syntax.theme-atom-dark-ui)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"themes\": [\r\n      \"atom-dark-ui\",\r\n      \"atom-dark-syntax\"\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nautocomplete-python, v1.6.1\r\ncustom-title, v1.0.1\r\nfile-icons, v1.6.14\r\ngoto-definition, v1.1.10\r\nhighlight-selected, v0.11.2\r\nlinter, v1.11.3\r\nlinter-flake8, v1.10.1\r\nlinter-pep8, v1.2.1\r\nminimap, v4.19.0\r\nproject-manager, v2.7.6\r\ntree-ignore, v0.6.1\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/faceair/atom-goto-definition/issues/comments/186192742","html_url":"https://github.com/faceair/atom-goto-definition/issues/3#issuecomment-186192742","issue_url":"https://api.github.com/repos/faceair/atom-goto-definition/issues/3","id":186192742,"user":{"login":"Dundee","id":27106,"avatar_url":"https://avatars.githubusercontent.com/u/27106?v=3","gravatar_id":"","url":"https://api.github.com/users/Dundee","html_url":"https://github.com/Dundee","followers_url":"https://api.github.com/users/Dundee/followers","following_url":"https://api.github.com/users/Dundee/following{/other_user}","gists_url":"https://api.github.com/users/Dundee/gists{/gist_id}","starred_url":"https://api.github.com/users/Dundee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dundee/subscriptions","organizations_url":"https://api.github.com/users/Dundee/orgs","repos_url":"https://api.github.com/users/Dundee/repos","events_url":"https://api.github.com/users/Dundee/events{/privacy}","received_events_url":"https://api.github.com/users/Dundee/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T12:13:48Z","updated_at":"2016-02-19T12:13:48Z","body":"Yes, it works now. Thanks!"}}