{"action":"closed","issue":{"url":"https://api.github.com/repos/atom-haskell/haskell-ghc-mod/issues/36","labels_url":"https://api.github.com/repos/atom-haskell/haskell-ghc-mod/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/atom-haskell/haskell-ghc-mod/issues/36/comments","events_url":"https://api.github.com/repos/atom-haskell/haskell-ghc-mod/issues/36/events","html_url":"https://github.com/atom-haskell/haskell-ghc-mod/issues/36","id":97262218,"number":36,"title":"Uncaught TypeError: Cannot read property 'getUri' of null","user":{"login":"edwardIshaq","id":356324,"avatar_url":"https://avatars.githubusercontent.com/u/356324?v=3","gravatar_id":"","url":"https://api.github.com/users/edwardIshaq","html_url":"https://github.com/edwardIshaq","followers_url":"https://api.github.com/users/edwardIshaq/followers","following_url":"https://api.github.com/users/edwardIshaq/following{/other_user}","gists_url":"https://api.github.com/users/edwardIshaq/gists{/gist_id}","starred_url":"https://api.github.com/users/edwardIshaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edwardIshaq/subscriptions","organizations_url":"https://api.github.com/users/edwardIshaq/orgs","repos_url":"https://api.github.com/users/edwardIshaq/repos","events_url":"https://api.github.com/users/edwardIshaq/events{/privacy}","received_events_url":"https://api.github.com/users/edwardIshaq/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom-haskell/haskell-ghc-mod/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"lierdakil","id":7275622,"avatar_url":"https://avatars.githubusercontent.com/u/7275622?v=3","gravatar_id":"","url":"https://api.github.com/users/lierdakil","html_url":"https://github.com/lierdakil","followers_url":"https://api.github.com/users/lierdakil/followers","following_url":"https://api.github.com/users/lierdakil/following{/other_user}","gists_url":"https://api.github.com/users/lierdakil/gists{/gist_id}","starred_url":"https://api.github.com/users/lierdakil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lierdakil/subscriptions","organizations_url":"https://api.github.com/users/lierdakil/orgs","repos_url":"https://api.github.com/users/lierdakil/repos","events_url":"https://api.github.com/users/lierdakil/events{/privacy}","received_events_url":"https://api.github.com/users/lierdakil/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/atom-haskell/haskell-ghc-mod/milestones/4","html_url":"https://github.com/atom-haskell/haskell-ghc-mod/milestones/v0.8.5","labels_url":"https://api.github.com/repos/atom-haskell/haskell-ghc-mod/milestones/4/labels","id":1234977,"number":4,"title":"v0.8.5","description":null,"creator":{"login":"lierdakil","id":7275622,"avatar_url":"https://avatars.githubusercontent.com/u/7275622?v=3","gravatar_id":"","url":"https://api.github.com/users/lierdakil","html_url":"https://github.com/lierdakil","followers_url":"https://api.github.com/users/lierdakil/followers","following_url":"https://api.github.com/users/lierdakil/following{/other_user}","gists_url":"https://api.github.com/users/lierdakil/gists{/gist_id}","starred_url":"https://api.github.com/users/lierdakil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lierdakil/subscriptions","organizations_url":"https://api.github.com/users/lierdakil/orgs","repos_url":"https://api.github.com/users/lierdakil/repos","events_url":"https://api.github.com/users/lierdakil/events{/privacy}","received_events_url":"https://api.github.com/users/lierdakil/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"closed","created_at":"2015-07-31T10:45:01Z","updated_at":"2015-09-16T18:40:01Z","due_on":null,"closed_at":"2015-08-06T01:00:57Z"},"comments":1,"created_at":"2015-07-25T22:16:07Z","updated_at":"2015-09-16T18:40:01Z","closed_at":"2015-09-16T18:40:01Z","body":"[Enter steps to reproduce below:]\r\n\r\n1. ...\r\n2. ...\r\n\r\n**Atom Version**: 1.0.2\r\n**System**: Mac OS X 10.10.4\r\n**Thrown From**: [haskell-ghc-mod](https://github.com/atom-haskell/haskell-ghc-mod) package, v0.8.4\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'getUri' of null\r\n\r\n```\r\nAt /Users/edward/.atom/packages/haskell-ghc-mod/lib/util.coffee:14\r\n\r\nTypeError: Cannot read property 'getUri' of null\r\n  at /Users/edward/.atom/packages/haskell-ghc-mod/lib/util.coffee:14:26\r\n  at Array.filter (native)\r\n  at Object.module.exports.Util.getRootDir (/Users/edward/.atom/packages/haskell-ghc-mod/lib/util.coffee:13:43)\r\n  at CompletionBackend.module.exports.CompletionBackend.getModuleMap (/Users/edward/.atom/packages/haskell-ghc-mod/lib/completion-backend.coffee:61:21)\r\n  at CompletionBackend.getModuleMap (/Users/edward/.atom/packages/haskell-ghc-mod/lib/completion-backend.coffee:1:1)\r\n  at CompletionBackend.module.exports.CompletionBackend.getSymbolsForBuffer (/Users/edward/.atom/packages/haskell-ghc-mod/lib/completion-backend.coffee:35:29)\r\n  at CompletionBackend.getSymbolsForBuffer (/Users/edward/.atom/packages/haskell-ghc-mod/lib/completion-backend.coffee:1:1)\r\n  at CompletionBackend.module.exports.CompletionBackend.getCompletionsForSymbol (/Users/edward/.atom/packages/haskell-ghc-mod/lib/completion-backend.coffee:177:6)\r\n  at /Users/edward/.atom/packages/haskell-ghc-mod/lib/completion-backend.coffee:1:1\r\n  at SuggestionBuilder.module.exports.SuggestionBuilder.processSuggestions (/Users/edward/.atom/packages/autocomplete-haskell/lib/suggestion-builder.coffee:51:5)\r\n  at SuggestionBuilder.processSuggestions (/Users/edward/.atom/packages/autocomplete-haskell/lib/suggestion-builder.coffee:1:1)\r\n  at SuggestionBuilder.module.exports.SuggestionBuilder.symbolSuggestions (/Users/edward/.atom/packages/autocomplete-haskell/lib/suggestion-builder.coffee:55:6)\r\n  at SuggestionBuilder.symbolSuggestions (/Users/edward/.atom/packages/autocomplete-haskell/lib/suggestion-builder.coffee:1:1)\r\n  at SuggestionBuilder.module.exports.SuggestionBuilder.getSuggestions (/Users/edward/.atom/packages/autocomplete-haskell/lib/suggestion-builder.coffee:94:10)\r\n  at SuggestionBuilder.getSuggestions (/Users/edward/.atom/packages/autocomplete-haskell/lib/suggestion-builder.coffee:1:1)\r\n  at Object.getSuggestions (/Users/edward/.atom/packages/autocomplete-haskell/lib/autocomplete-haskell.coffee:43:49)\r\n  at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:255:56\r\n  at Array.forEach (native)\r\n  at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:234:17)\r\n  at AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61)\r\n  at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:221:19)\r\n  at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -2:29.9.0 core:copy (atom-text-editor.editor.is-focused)\r\n  2x -2:28.1.0 pane:show-previous-item (atom-text-editor.editor.is-focused)\r\n     -2:23.1.0 core:paste (atom-text-editor.editor.is-focused)\r\n     -2:22.1.0 core:move-up (atom-text-editor.editor.is-focused)\r\n  2x -2:21.1.0 editor:indent-selected-rows (atom-text-editor.editor.is-focused)\r\n 12x -2:20.6.0 editor:outdent-selected-rows (atom-text-editor.editor.is-focused)\r\n     -2:18.5.0 editor:newline (atom-text-editor.editor.is-focused)\r\n     -2:18.1.0 core:move-down (atom-text-editor.editor.is-focused)\r\n     -2:17.8.0 core:delete (atom-text-editor.editor.is-focused)\r\n     -2:17.5.0 core:save (atom-text-editor.editor.is-focused)\r\n     -2:17.5.0 ide-haskell:check-file (atom-text-editor.editor.is-focused)\r\n     -2:17.5.0 ide-haskell:lint-file (atom-text-editor.editor.is-focused)\r\n     -0:19.1.0 editor:newline (atom-text-editor.editor.is-focused)\r\n     -0:14.9.0 core:copy (atom-text-editor.editor.is-focused)\r\n     -0:13.6.0 editor:newline (atom-text-editor.editor.is-focused)\r\n     -0:13.3.0 core:paste (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"themes\": [\r\n      \"atom-light-ui\",\r\n      \"one-light-syntax\"\r\n    ]\r\n  },\r\n  \"haskell-ghc-mod\": {}\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nautocomplete-haskell, v0.4.5\r\nhaskell-ghc-mod, v0.8.4\r\nide-haskell, v0.6.2\r\nlanguage-haskell, v1.2.0\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"}}