{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/22548","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/22548/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/22548/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/22548/events","html_url":"https://github.com/Microsoft/TypeScript/issues/22548","id":305005418,"number":22548,"title":"TypeError: Cannot read property 'kind' of undefined in 'Object.isIdentifier' during 'getApplicableRefactors'","user":{"login":"aozgaa","id":3226984,"avatar_url":"https://avatars0.githubusercontent.com/u/3226984?v=4","gravatar_id":"","url":"https://api.github.com/users/aozgaa","html_url":"https://github.com/aozgaa","followers_url":"https://api.github.com/users/aozgaa/followers","following_url":"https://api.github.com/users/aozgaa/following{/other_user}","gists_url":"https://api.github.com/users/aozgaa/gists{/gist_id}","starred_url":"https://api.github.com/users/aozgaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aozgaa/subscriptions","organizations_url":"https://api.github.com/users/aozgaa/orgs","repos_url":"https://api.github.com/users/aozgaa/repos","events_url":"https://api.github.com/users/aozgaa/events{/privacy}","received_events_url":"https://api.github.com/users/aozgaa/received_events","type":"User","site_admin":false},"labels":[{"id":783334497,"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Source:%20Telemetry","name":"Source: Telemetry","color":"7953cc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-14T02:53:52Z","updated_at":"2018-03-14T15:00:19Z","closed_at":"2018-03-14T15:00:19Z","author_association":"MEMBER","body":"<!--header {\"fiveLineHash\":\"54033b24909e23a7a9508761a2b13436\"} headerend-->\nThis issue comes from crash dumps in telemetry. We've tried to de-duplicate issues on a best-effort basis, comparing the sequence of methods called and the command requested while ignoring line numbers.\n**TypeScript Version Prefix**: 2.7.2\n**VSCode Version** 1.21.0-insider\n**command requested**: getApplicableRefactors\n**hitting sessions**: 236\n**proportion of all sessions**: 0.016821097647897364\n**five line hash**: 54033b24909e23a7a9508761a2b13436\n**stack**\n```\nTypeError: Cannot read property 'kind' of undefined\n    at Object.isIdentifier (tsserver.js:9640:20)\n    at Object.isExportsIdentifier (tsserver.js:7264:19)\n    at Object.isExportsOrModuleExportsOrAlias (tsserver.js:19989:19)\n    at isAtTriggerLocation (tsserver.js:80194:31)\n    at isAtTriggerLocation (tsserver.js:80197:44)\n    at Object.getAvailableActions (tsserver.js:80169:21)\n    at unknown (tsserver.js:77283:128)\n    at getIterator (tsserver.js:1734:23)\n    at Object.next (tsserver.js:1729:35)\n    at Object.arrayFrom (tsserver.js:2268:32)\n    at Object.getApplicableRefactors (tsserver.js:77282:23)\n    at Object.getApplicableRefactors (tsserver.js:83497:32)\n    at IOSession.Session.getApplicableRefactors (tsserver.js:90354:53)\n    at Session.handlers.ts.createMapFromTemplate._a.(anonymous function) (tsserver.js:89310:61)\n    at unknown (tsserver.js:90553:88)\n    at IOSession.Session.executeWithRequestId (tsserver.js:90544:28)\n    at IOSession.Session.executeCommand (tsserver.js:90553:33)\n    at IOSession.Session.onMessage (tsserver.js:90573:35)\n    at Interface.<anonymous> (tsserver.js:91774:27)\n    at emitOne (events.js:96:13)\n    at Interface.emit (events.js:191:7)\n    at Interface._onLine (readline.js:241:10)\n    at Interface._normalWrite (readline.js:384:12)\n    at Socket.ondata (readline.js:101:10)\n    at emitOne (events.js:96:13)\n    at Socket.emit (events.js:191:7)\n    at readableAddChunk (_stream_readable.js:178:18)\n    at Socket.Readable.push (_stream_readable.js:136:10)\n    at Pipe.onread (net.js:560:20)\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/373052289","html_url":"https://github.com/Microsoft/TypeScript/issues/22548#issuecomment-373052289","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/22548","id":373052289,"user":{"login":"andy-ms","id":19274678,"avatar_url":"https://avatars3.githubusercontent.com/u/19274678?v=4","gravatar_id":"","url":"https://api.github.com/users/andy-ms","html_url":"https://github.com/andy-ms","followers_url":"https://api.github.com/users/andy-ms/followers","following_url":"https://api.github.com/users/andy-ms/following{/other_user}","gists_url":"https://api.github.com/users/andy-ms/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-ms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-ms/subscriptions","organizations_url":"https://api.github.com/users/andy-ms/orgs","repos_url":"https://api.github.com/users/andy-ms/repos","events_url":"https://api.github.com/users/andy-ms/events{/privacy}","received_events_url":"https://api.github.com/users/andy-ms/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T15:00:19Z","updated_at":"2018-03-14T15:00:19Z","author_association":"CONTRIBUTOR","body":"Exact duplicate of #22547 -- @aozgaa Your script must be posting twice."}}
{"actor":{"display_login":"andy-ms"}}