{"action":"created","issue":{"url":"https://api.github.com/repos/atom/status-bar/issues/161","repository_url":"https://api.github.com/repos/atom/status-bar","labels_url":"https://api.github.com/repos/atom/status-bar/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/atom/status-bar/issues/161/comments","events_url":"https://api.github.com/repos/atom/status-bar/issues/161/events","html_url":"https://github.com/atom/status-bar/issues/161","id":168764655,"number":161,"title":"Uncaught TypeError: Cannot read property 'ahead' of null","user":{"login":"rochford77","id":10854970,"avatar_url":"https://avatars.githubusercontent.com/u/10854970?v=3","gravatar_id":"","url":"https://api.github.com/users/rochford77","html_url":"https://github.com/rochford77","followers_url":"https://api.github.com/users/rochford77/followers","following_url":"https://api.github.com/users/rochford77/following{/other_user}","gists_url":"https://api.github.com/users/rochford77/gists{/gist_id}","starred_url":"https://api.github.com/users/rochford77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rochford77/subscriptions","organizations_url":"https://api.github.com/users/rochford77/orgs","repos_url":"https://api.github.com/users/rochford77/repos","events_url":"https://api.github.com/users/rochford77/events{/privacy}","received_events_url":"https://api.github.com/users/rochford77/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/status-bar/labels/more-information-needed","name":"more-information-needed","color":"009800"},{"url":"https://api.github.com/repos/atom/status-bar/labels/uncaught-exception","name":"uncaught-exception","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-01T23:21:34Z","updated_at":"2016-08-02T00:43:08Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\n1. ...\r\n2. ...\r\n\r\n**Atom Version**: 1.9.0\r\n**System**: Mac OS X 10.11.6\r\n**Thrown From**: [status-bar](https://github.com/atom/status-bar) package, v1.4.0\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'ahead' of null\r\n\r\n```\r\nAt /Applications/Atom.app/Contents/Resources/app.asar/node_modules/status-bar/lib/git-view.js:213\r\n\r\nTypeError: Cannot read property 'ahead' of null\r\n    at status-bar-git.GitView.updateAheadBehindCount (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/status-bar/lib/git-view.js:213:78)\r\n    at status-bar-git.GitView.update (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/status-bar/lib/git-view.js:171:12)\r\n    at status-bar-git.GitView.subscribeToActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/status-bar/lib/git-view.js:81:19)\r\n    at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/status-bar/lib/git-view.js:24:24\r\n    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)\r\n    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)\r\n    at /Applications/Atom.app/Contents/Resources/app.asar/src/pane-container.js:346:27\r\n    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)\r\n    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)\r\n    at Pane.module.exports.Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:284:22)\r\n    at Pane.module.exports.Pane.activateItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:433:21)\r\n    at atom-tabs.TabBarView.onMouseDown (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:660:19)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -2:05.9.0 application:add-project-folder (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    \"disabledPackages\": [\r\n      \"linter-ruby\",\r\n      \"linter-pylint\",\r\n      \"linter-javac\",\r\n      \"linter-htmlhint\",\r\n      \"linter-csslint\"\r\n    ],\r\n    \"themes\": [\r\n      \"atom-dark-ui\",\r\n      \"monokai\"\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\natom-hg, v2.0.4 (active)\r\nfile-icons, v1.7.17 (active)\r\nlinter, v1.11.14 (active)\r\nlinter-csslint, v1.3.2 (inactive)\r\nlinter-htmlhint, v1.3.0 (inactive)\r\nlinter-javac, v1.9.4 (inactive)\r\nlinter-jshint, v2.1.0 (active)\r\nlinter-pylint, v1.2.1 (inactive)\r\nlinter-ruby, v1.2.2 (inactive)\r\nminimap, v4.24.7 (active)\r\nmonokai, v0.18.0 (active)\r\npigments, v0.31.2 (active)\r\nZen, v0.16.4 (inactive)\r\natom-dark-syntax, v0.27.0 (inactive)\r\natom-dark-ui, v0.51.0 (active)\r\natom-light-syntax, v0.28.0 (inactive)\r\natom-light-ui, v0.43.0 (inactive)\r\nbase16-tomorrow-dark-theme, v1.1.0 (inactive)\r\nbase16-tomorrow-light-theme, v1.1.1 (inactive)\r\none-dark-ui, v1.3.2 (inactive)\r\none-light-ui, v1.3.2 (inactive)\r\none-dark-syntax, v1.2.0 (inactive)\r\none-light-syntax, v1.2.0 (inactive)\r\nsolarized-dark-syntax, v1.0.2 (inactive)\r\nsolarized-light-syntax, v1.0.2 (inactive)\r\nabout, v1.5.2 (active)\r\narchive-view, v0.61.1 (active)\r\nautocomplete-atom-api, v0.10.0 (active)\r\nautocomplete-css, v0.11.1 (active)\r\nautocomplete-html, v0.7.2 (active)\r\nautocomplete-plus, v2.31.0 (active)\r\nautocomplete-snippets, v1.11.0 (active)\r\nautoflow, v0.27.0 (inactive)\r\nautosave, v0.23.1 (active)\r\nbackground-tips, v0.26.0 (active)\r\nbookmarks, v0.41.0 (active)\r\nbracket-matcher, v0.82.1 (active)\r\ncommand-palette, v0.38.0 (inactive)\r\ndeprecation-cop, v0.54.1 (active)\r\ndev-live-reload, v0.47.0 (active)\r\nencoding-selector, v0.22.0 (active)\r\nexception-reporting, v0.38.1 (active)\r\nfuzzy-finder, v1.3.0 (active)\r\ngit-diff, v1.1.0 (active)\r\nfind-and-replace, v0.198.0 (inactive)\r\ngo-to-line, v0.31.0 (inactive)\r\ngrammar-selector, v0.48.1 (active)\r\nimage-view, v0.58.0 (active)\r\nincompatible-packages, v0.26.1 (active)\r\nkeybinding-resolver, v0.35.0 (active)\r\nline-ending-selector, v0.5.0 (active)\r\nlink, v0.31.1 (inactive)\r\nmarkdown-preview, v0.158.0 (active)\r\nmetrics, v0.53.1 (active)\r\nnotifications, v0.64.1 (active)\r\nopen-on-github, v1.2.0 (inactive)\r\npackage-generator, v1.0.0 (inactive)\r\nsettings-view, v0.238.0 (active)\r\nsnippets, v1.0.2 (active)\r\nspell-check, v0.67.1 (active)\r\nstatus-bar, v1.4.0 (active)\r\nstyleguide, v0.46.0 (active)\r\nsymbols-view, v0.113.0 (inactive)\r\ntabs, v0.98.0 (active)\r\ntimecop, v0.33.1 (active)\r\ntree-view, v0.208.0 (active)\r\nupdate-package-dependencies, v0.10.0 (active)\r\nwelcome, v0.34.0 (active)\r\nwhitespace, v0.32.2 (active)\r\nwrap-guide, v0.38.1 (active)\r\nlanguage-c, v0.52.1 (active)\r\nlanguage-clojure, v0.21.0 (active)\r\nlanguage-coffee-script, v0.47.0 (active)\r\nlanguage-csharp, v0.12.1 (active)\r\nlanguage-css, v0.36.2 (active)\r\nlanguage-gfm, v0.86.0 (active)\r\nlanguage-git, v0.13.0 (active)\r\nlanguage-go, v0.42.0 (active)\r\nlanguage-html, v0.44.1 (active)\r\nlanguage-hyperlink, v0.16.0 (active)\r\nlanguage-java, v0.22.0 (active)\r\nlanguage-javascript, v0.119.0 (active)\r\nlanguage-json, v0.18.0 (active)\r\nlanguage-less, v0.29.3 (active)\r\nlanguage-make, v0.22.2 (active)\r\nlanguage-mustache, v0.13.0 (active)\r\nlanguage-objective-c, v0.15.1 (active)\r\nlanguage-perl, v0.35.0 (active)\r\nlanguage-php, v0.37.0 (active)\r\nlanguage-property-list, v0.8.0 (active)\r\nlanguage-python, v0.45.0 (active)\r\nlanguage-ruby, v0.68.5 (active)\r\nlanguage-ruby-on-rails, v0.25.0 (active)\r\nlanguage-sass, v0.52.0 (active)\r\nlanguage-shellscript, v0.22.3 (active)\r\nlanguage-source, v0.9.0 (active)\r\nlanguage-sql, v0.21.1 (active)\r\nlanguage-text, v0.7.1 (active)\r\nlanguage-todo, v0.28.0 (active)\r\nlanguage-toml, v0.18.0 (active)\r\nlanguage-xml, v0.34.8 (active)\r\nlanguage-yaml, v0.26.0 (active)\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/atom/status-bar/issues/comments/236755508","html_url":"https://github.com/atom/status-bar/issues/161#issuecomment-236755508","issue_url":"https://api.github.com/repos/atom/status-bar/issues/161","id":236755508,"user":{"login":"mcihon","id":2832395,"avatar_url":"https://avatars.githubusercontent.com/u/2832395?v=3","gravatar_id":"","url":"https://api.github.com/users/mcihon","html_url":"https://github.com/mcihon","followers_url":"https://api.github.com/users/mcihon/followers","following_url":"https://api.github.com/users/mcihon/following{/other_user}","gists_url":"https://api.github.com/users/mcihon/gists{/gist_id}","starred_url":"https://api.github.com/users/mcihon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcihon/subscriptions","organizations_url":"https://api.github.com/users/mcihon/orgs","repos_url":"https://api.github.com/users/mcihon/repos","events_url":"https://api.github.com/users/mcihon/events{/privacy}","received_events_url":"https://api.github.com/users/mcihon/received_events","type":"User","site_admin":false},"created_at":"2016-08-02T00:43:08Z","updated_at":"2016-08-02T00:43:08Z","body":"I'm getting the same error.  It occurred after I installed linter-python.  What's happening is the editor appears to be showing the contents of another file, but the settings tab is still selected.  The error re-occurs whenever I switch tabs."}}
{"actor":{"display_login":"mcihon"}}