{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/21791","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/21791/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/21791/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/21791/events","html_url":"https://github.com/Microsoft/TypeScript/issues/21791","id":295723466,"number":21791,"title":"Error: Could not find file in 'getValidSourceFile' 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":113970366,"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Bug","name":"Bug","color":"e11d21","default":false},{"id":113971226,"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Duplicate","name":"Duplicate","color":"f7c6c7","default":false},{"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-02-09T01:19:05Z","updated_at":"2018-03-05T05:00:06Z","closed_at":"2018-02-09T18:00:11Z","author_association":"MEMBER","body":"This 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.1\n**VSCode Version** 1.20.0-insider\n**command requested**: getApplicableRefactors\n**hitting sessions**: 3432\n**proportion of all sessions**: 0.012812041527141594\n**stack**\n```\nError: Could not find file\n    at getValidSourceFile (tsserver.js:82699:23)\n    at Object.getApplicableRefactors (tsserver.js:83298:24)\n    at IOSession.Session.getApplicableRefactors (tsserver.js:90156:53)\n    at Session.handlers.ts.createMapFromTemplate._a.(anonymous function) (tsserver.js:89112:61)\n    at unknown (tsserver.js:90355:88)\n    at IOSession.Session.executeWithRequestId (tsserver.js:90346:28)\n    at IOSession.Session.executeCommand (tsserver.js:90355:33)\n    at IOSession.Session.onMessage (tsserver.js:90375:35)\n    at Interface.<anonymous> (tsserver.js:91576: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/370310241","html_url":"https://github.com/Microsoft/TypeScript/issues/21791#issuecomment-370310241","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/21791","id":370310241,"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},"created_at":"2018-03-05T05:00:06Z","updated_at":"2018-03-05T05:00:06Z","author_association":"MEMBER","body":"This issue reproduced in the following context:\n**TypeScript Version Prefix**: 2.7.2\n**VSCode Version** 1.21.0-insider\n**command requested**: getApplicableRefactors\n**hitting sessions**: 609\n**proportion of all sessions**: 0.012502822886940811\n**stack**\n```\nError: Could not find file\n    at getValidSourceFile (tsserver.js:82897:23)\n    at Object.getApplicableRefactors (tsserver.js:83496:24)\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```"}}
{"actor":{"display_login":"aozgaa"}}