{"action":"created","issue":{"url":"https://api.github.com/repos/jeremyramin/terminal-plus/issues/57","labels_url":"https://api.github.com/repos/jeremyramin/terminal-plus/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/jeremyramin/terminal-plus/issues/57/comments","events_url":"https://api.github.com/repos/jeremyramin/terminal-plus/issues/57/events","html_url":"https://github.com/jeremyramin/terminal-plus/issues/57","id":113623686,"number":57,"title":"Uncaught TypeError: Cannot read property 'toggle' of null","user":{"login":"brbrr","id":5654161,"avatar_url":"https://avatars.githubusercontent.com/u/5654161?v=3","gravatar_id":"","url":"https://api.github.com/users/brbrr","html_url":"https://github.com/brbrr","followers_url":"https://api.github.com/users/brbrr/followers","following_url":"https://api.github.com/users/brbrr/following{/other_user}","gists_url":"https://api.github.com/users/brbrr/gists{/gist_id}","starred_url":"https://api.github.com/users/brbrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brbrr/subscriptions","organizations_url":"https://api.github.com/users/brbrr/orgs","repos_url":"https://api.github.com/users/brbrr/repos","events_url":"https://api.github.com/users/brbrr/events{/privacy}","received_events_url":"https://api.github.com/users/brbrr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-27T16:23:31Z","updated_at":"2015-10-27T16:56:53Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\nRight after i've update to 0.12.2 and statusBar appear on the bottom, i've tried to open terminal window by ctrl-` and got that issue. app restart fix that issue.\r\n\r\n**Atom Version**: 1.0.19\r\n**System**: Mac OS X 10.10.5\r\n**Thrown From**: [terminal-plus](https://github.com/jeremyramin/terminal-plus) package, v0.12.2\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'toggle' of null\r\n\r\n```\r\nAt /Users/brbrr/.atom/packages/terminal-plus/lib/status-bar.coffee:223\r\n\r\nTypeError: Cannot read property 'toggle' of null\r\n  at StatusBar.module.exports.StatusBar.toggle (/Users/brbrr/.atom/packages/terminal-plus/lib/status-bar.coffee:223:20)\r\n  at atom-workspace.subscriptions.add.atom.commands.add.terminal-plus:toggle (/Users/brbrr/.atom/packages/terminal-plus/lib/status-bar.coffee:25:35)\r\n  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:245:29)\r\n  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61\r\n  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:524:16)\r\n  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:347:22)\r\n  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:184:20)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -0:36.7.0 fuzzy-finder:toggle-file-finder (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-atom-dark-ui)\r\n     -0:32.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n  2x -0:32.6.0 tree-view:reveal-active-file (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-atom-dark-ui)\r\n     -0:06.0 terminal-plus:toggle (div.settings-view.pane-item)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"disabledPackages\": [\r\n      \"goto\",\r\n      \"ctags-status\",\r\n      \"ruby-debugger\",\r\n      \"rspec\",\r\n      \"ruby-test\",\r\n      \"script\",\r\n      \"data-atom\",\r\n      \"quick-query\",\r\n      \"refactor\",\r\n      \"symbols-view\"\r\n    ],\r\n    \"themes\": [\r\n      \"atom-dark-ui\",\r\n      \"base16-tomorrow-dark-theme\"\r\n    ]\r\n  },\r\n  \"terminal-plus\": {\r\n    \"core\": {\r\n      \"scrollback\": 2000\r\n    },\r\n    \"style\": {\r\n      \"theme\": \"pro\",\r\n      \"fontFamily\": \"Monaco\",\r\n      \"fontSize\": 13,\r\n      \"animationSpeed\": 2\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nadvanced-open-file, v0.11.0\r\natom-beautify, v0.28.15\r\natom-ctags, v4.3.0\r\nautocomplete-ctags, v0.3.2\r\nautocomplete-ruby, v0.1.0\r\nlanguage-rspec, v0.3.0\r\nlinter, v1.9.1\r\nlinter-rubocop, v0.4.4\r\nlinter-ruby, v1.2.0\r\nminimap, v4.15.0\r\nminimap-find-and-replace, v4.3.1\r\nminimap-git-diff, v4.1.8\r\nrspec-snippets, v0.4.0\r\nruby-block, v0.3.5\r\nsynced-sidebar, v0.4.2\r\nterminal-plus, v0.12.2\r\ntool-bar, v0.1.9\r\ntool-bar-main, v0.0.8\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jeremyramin/terminal-plus/issues/comments/151568229","html_url":"https://github.com/jeremyramin/terminal-plus/issues/57#issuecomment-151568229","issue_url":"https://api.github.com/repos/jeremyramin/terminal-plus/issues/57","id":151568229,"user":{"login":"jeremyramin","id":3977054,"avatar_url":"https://avatars.githubusercontent.com/u/3977054?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyramin","html_url":"https://github.com/jeremyramin","followers_url":"https://api.github.com/users/jeremyramin/followers","following_url":"https://api.github.com/users/jeremyramin/following{/other_user}","gists_url":"https://api.github.com/users/jeremyramin/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyramin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyramin/subscriptions","organizations_url":"https://api.github.com/users/jeremyramin/orgs","repos_url":"https://api.github.com/users/jeremyramin/repos","events_url":"https://api.github.com/users/jeremyramin/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyramin/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T16:56:53Z","updated_at":"2015-10-27T16:56:53Z","body":"Thanks for reporting this. It should be fine now after the restart, but I do see what happened. I'll make some minor adjustments for this."}}