{"action":"closed","issue":{"url":"https://api.github.com/repos/ensime/ensime-atom/issues/48","labels_url":"https://api.github.com/repos/ensime/ensime-atom/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/ensime/ensime-atom/issues/48/comments","events_url":"https://api.github.com/repos/ensime/ensime-atom/issues/48/events","html_url":"https://github.com/ensime/ensime-atom/issues/48","id":96325329,"number":48,"title":"Uncaught TypeError: Cannot read property 'startsWith' of undefined","user":{"login":"raboof","id":131856,"avatar_url":"https://avatars.githubusercontent.com/u/131856?v=3","gravatar_id":"","url":"https://api.github.com/users/raboof","html_url":"https://github.com/raboof","followers_url":"https://api.github.com/users/raboof/followers","following_url":"https://api.github.com/users/raboof/following{/other_user}","gists_url":"https://api.github.com/users/raboof/gists{/gist_id}","starred_url":"https://api.github.com/users/raboof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raboof/subscriptions","organizations_url":"https://api.github.com/users/raboof/orgs","repos_url":"https://api.github.com/users/raboof/repos","events_url":"https://api.github.com/users/raboof/events{/privacy}","received_events_url":"https://api.github.com/users/raboof/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-21T14:10:50Z","updated_at":"2015-07-22T05:20:35Z","closed_at":"2015-07-22T05:20:35Z","body":"When starting ensime, after seeing in the developer tools: ```incoming: {\"payload\":{\"typehint\":\"IndexerReadyEvent\"}}```\r\n```\r\n/home/aengelen/.atom/packages/Ensime/lib/ensime.coffee:161\r\nHide Stack Trace\r\nTypeError: Cannot read property 'startsWith' of undefined\r\n  at Object.module.exports.Ensime.generalHandler (/home/aengelen/.atom/packages/Ensime/lib/ensime.coffee:161:21)\r\n  at /home/aengelen/.atom/packages/Ensime/lib/ensime.coffee:174:52\r\n  at SwankParser.onMessage (/home/aengelen/.atom/packages/Ensime/lib/client.coffee:28:9)\r\n  at SwankParser.handleMessage (/home/aengelen/.atom/packages/Ensime/lib/lisp/swank-protocol.js:77:8)\r\n  at SwankParser.handleContent (/home/aengelen/.atom/packages/Ensime/lib/lisp/swank-protocol.js:64:10)\r\n  at SwankParser.execute (/home/aengelen/.atom/packages/Ensime/lib/lisp/swank-protocol.js:55:20)\r\n  at Socket.<anonymous> (/home/aengelen/.atom/packages/Ensime/lib/client.coffee:43:15)\r\n  at emitOne (events.js:77:13)\r\n  at Socket.emit (events.js:166:7)\r\n  at readableAddChunk (_stream_readable.js:146:16)\r\n  at Socket.Readable.push (_stream_readable.js:109:10)\r\n  at TCP.onread (net.js:517:20)\r\n```\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/24710366-uncaught-typeerror-cannot-read-property-startswith-of-undefined?utm_campaign=plugin&utm_content=tracker%2F14719420&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F14719420&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}