{"action":"opened","issue":{"url":"https://api.github.com/repos/motepair/motepair/issues/26","labels_url":"https://api.github.com/repos/motepair/motepair/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/motepair/motepair/issues/26/comments","events_url":"https://api.github.com/repos/motepair/motepair/issues/26/events","html_url":"https://github.com/motepair/motepair/issues/26","id":91408606,"number":26,"title":"Uncaught TypeError: Cannot read property 'close' of null","user":{"login":"dariemp","id":1761609,"avatar_url":"https://avatars.githubusercontent.com/u/1761609?v=3","gravatar_id":"","url":"https://api.github.com/users/dariemp","html_url":"https://github.com/dariemp","followers_url":"https://api.github.com/users/dariemp/followers","following_url":"https://api.github.com/users/dariemp/following{/other_user}","gists_url":"https://api.github.com/users/dariemp/gists{/gist_id}","starred_url":"https://api.github.com/users/dariemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dariemp/subscriptions","organizations_url":"https://api.github.com/users/dariemp/orgs","repos_url":"https://api.github.com/users/dariemp/repos","events_url":"https://api.github.com/users/dariemp/events{/privacy}","received_events_url":"https://api.github.com/users/dariemp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-27T03:25:17Z","updated_at":"2015-06-27T03:25:17Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\n1. ...\r\n2. ...\r\n\r\n**Atom Version**: 1.0.0\r\n**System**: Ubuntu 12.04.5\r\n**Thrown From**: [motepair](https://github.com/motepair/motepair) package, v0.20.0\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'close' of null\r\n\r\n```\r\nAt /home/dariemp/.atom/packages/motepair/lib/main.coffee:98\r\n\r\nTypeError: Cannot read property 'close' of null\r\n  at WebSocket.<anonymous> (/home/dariemp/.atom/packages/motepair/lib/main.coffee:98:10)\r\n  at emitOne (events.js:82:20)\r\n  at WebSocket.emit (events.js:166:7)\r\n  at ClientRequest.onerror (/home/dariemp/.atom/packages/motepair/node_modules/ws/lib/WebSocket.js:667:10)\r\n  at emitOne (events.js:77:13)\r\n  at ClientRequest.emit (events.js:166:7)\r\n  at TLSSocket.socketErrorListener (_http_client.js:254:9)\r\n  at emitOne (events.js:77:13)\r\n  at TLSSocket.emit (events.js:166:7)\r\n  at TLSSocket.onHangUp (_tls_wrap.js:953:14)\r\n  at TLSSocket.g (events.js:257:16)\r\n  at emitNone (events.js:72:20)\r\n  at TLSSocket.emit (events.js:163:7)\r\n  at _stream_readable.js:891:16\r\n  at process._tickCallback (node.js:357:13)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -1:50.6.0 motepair:connect (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-atom-dark-ui)\r\n     -1:29.2.0 core:paste (atom-text-editor.editor.mini.is-focused)\r\n     -1:26.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n     -1:15.6.0 settings-view:open (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-atom-dark-ui)\r\n     -0:10.3.0 motepair:connect (atom-text-editor.editor.is-focused)\r\n     -0:08.7.0 core:paste (atom-text-editor.editor.mini.is-focused)\r\n     -0:07.2.0 editor:move-to-first-character-of-line (atom-text-editor.editor.mini.is-focused)\r\n     -0:05.8.0 editor:select-to-end-of-line (atom-text-editor.editor.mini.is-focused)\r\n     -0:04.7.0 core:paste (atom-text-editor.editor.mini.is-focused)\r\n     -0:03.7.0 editor:move-to-first-character-of-line (atom-text-editor.editor.mini.is-focused)\r\n     -0:02.8.0 core:confirm (atom-text-editor.editor.mini.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-dark-ui\",\r\n      \"one-dark-syntax\"\r\n    ],\r\n    \"disabledPackages\": [\r\n      \"metrics\",\r\n      \"linter-python-pep8\",\r\n      \"project-manager\",\r\n      \"live-doc-viewer\",\r\n      \"remote-sync\"\r\n    ],\r\n    \"autoHideMenuBar\": true\r\n  },\r\n  \"motepair\": {\r\n    \"secureConnection\": true,\r\n    \"userEmail\": \"qwe@efkgne.fo\"\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\napi-docs, v0.0.1\r\natom-django, v0.3.0\r\natom-python-debugger, v0.3.4\r\nautocomplete-clang, v0.7.0\r\nautocomplete-modules, v1.0.0\r\nautocomplete-plus-python-jedi, v0.3.6\r\nautocomplete-python, v0.5.1\r\nautocomplete-ruby, v0.1.0\r\ncolor-picker, v2.0.7\r\ncss-snippets, v0.8.0\r\ndjango-templates, v0.5.0\r\ndocblockr, v0.7.2\r\ndocs-snippets, v0.8.0\r\nfold-functions, v0.2.1\r\ngo-find-references, v1.2.3\r\ngo-plus, v3.3.12\r\njavascript-snippets, v1.0.0\r\nlanguage-docker, v1.1.3\r\nlanguage-latex, v0.6.1\r\nlanguage-python, v0.37.0\r\nlanguage-python-django-templates, v0.1.0\r\nlatex, v0.24.2\r\nlatexer, v0.2.3\r\nlinter, v1.0.7\r\nlinter-chktex, v0.3.0\r\nlinter-christen, v0.1.1\r\nlinter-pep257, v0.2.1\r\nlinter-python-pyflakes, v0.1.0\r\nminimap, v4.10.0\r\nmotepair, v0.20.0\r\npretty-json, v0.4.1\r\nproject-ring, v0.31.0\r\npython-isort, v0.0.7\r\npython-yapf, v0.7.0\r\nsinatra-snippets, v1.4.0\r\ntag, v0.3.0\r\ntualo-git-context, v0.6.10\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"}}