{"action":"opened","issue":{"url":"https://api.github.com/repos/joefitzgerald/go-plus/issues/124","labels_url":"https://api.github.com/repos/joefitzgerald/go-plus/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/joefitzgerald/go-plus/issues/124/comments","events_url":"https://api.github.com/repos/joefitzgerald/go-plus/issues/124/events","html_url":"https://github.com/joefitzgerald/go-plus/issues/124","id":53805958,"number":124,"title":"Uncaught TypeError: Cannot read property 'isValidEditor' of null","user":{"login":"arashpayan","id":46624,"avatar_url":"https://avatars.githubusercontent.com/u/46624?v=3","gravatar_id":"","url":"https://api.github.com/users/arashpayan","html_url":"https://github.com/arashpayan","followers_url":"https://api.github.com/users/arashpayan/followers","following_url":"https://api.github.com/users/arashpayan/following{/other_user}","gists_url":"https://api.github.com/users/arashpayan/gists{/gist_id}","starred_url":"https://api.github.com/users/arashpayan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arashpayan/subscriptions","organizations_url":"https://api.github.com/users/arashpayan/orgs","repos_url":"https://api.github.com/users/arashpayan/repos","events_url":"https://api.github.com/users/arashpayan/events{/privacy}","received_events_url":"https://api.github.com/users/arashpayan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-08T21:53:45Z","updated_at":"2015-01-08T21:53:45Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\n1. I had a source file from my Go project open\r\n2. In the Atom menu, I clicked Packages -> Go Plus -> Check File Syntax\r\n3. Then the below error popped up and said I should open an issue.\r\n\r\n**Atom Version**: 0.165.0\r\n**System**: linux 3.17.1-031701-generic\r\n**Thrown From**: [go-plus](https://github.com/joefitzgerald/go-plus) package, v3.0.13\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'isValidEditor' of null\r\n\r\n```\r\nAt /home/arash/.atom/packages/go-plus/lib/gobuild.coffee:28\r\n\r\nTypeError: Cannot read property 'isValidEditor' of null\r\n  at Gobuild.module.exports.Gobuild.checkCurrentBuffer (/home/arash/.atom/packages/go-plus/lib/gobuild.coffee:28:28)\r\n  at atom-workspace.Gobuild.atom.commands.add.golang:gobuild (/home/arash/.atom/packages/go-plus/lib/gobuild.coffee:16:29)\r\n  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:243:29)\r\n  at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:3:61)\r\n  at CommandRegistry.module.exports.CommandRegistry.dispatch (/usr/share/atom/resources/app/src/command-registry.js:156:19)\r\n  at Ipc.<anonymous> (/usr/share/atom/resources/app/src/window-event-handler.js:65:30)\r\n  at Ipc.emit (events.js:107:17)\r\n  at process.<anonymous> (/usr/share/atom/resources/atom/renderer/api/lib/ipc.js:22:29)\r\n  at process.emit (events.js:110:17)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -5:44.4 settings-view:open (input.hidden-input)\r\n  2x -5:14.9 symbols-view:toggle-file-symbols (div.markdown-preview.native-key-bindings)\r\n     -3:51.7 core:confirm (input.hidden-input)\r\n     -1:47.8 symbols-view:toggle-project-symbols (input.hidden-input)\r\n     -1:42.0 symbols-view:toggle-file-symbols (input.hidden-input)\r\n     -1:28.8 timecop:view (input.hidden-input)\r\n     -0:48.6 command-palette:toggle (input.hidden-input)\r\n     -0:35.6 golang:updatetools (input.hidden-input)\r\n     -0:00.0 golang:gobuild (input.hidden-input)\r\n```\r\n\r\n### Config\r\n\r\n```\r\n{\r\n  \"core\": {\r\n    \"useReactEditor\": true,\r\n    \"disabledPackages\": [\r\n      \"metrics\"\r\n    ],\r\n    \"autoHideMenuBar\": true\r\n  },\r\n  \"go-plus\": {}\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\ngo-plus, v3.0.13\r\nlast-cursor-position, v0.6.0\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n/cc @atom/core"}}