Title: TypeError: Cannot read property 'length' of undefined in 'Object.find' during 'getApplicableRefactors' · Issue #21793 · microsoft/TypeScript · GitHub
Open Graph Title: TypeError: Cannot read property 'length' of undefined in 'Object.find' during 'getApplicableRefactors' · Issue #21793 · microsoft/TypeScript
X Title: TypeError: Cannot read property 'length' of undefined in 'Object.find' during 'getApplicableRefactors' · Issue #21793 · microsoft/TypeScript
Description: 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. TypeScript Version Prefix: 2.7.1 V...
Open Graph Description: 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 num...
X Description: 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...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/21793
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TypeError: Cannot read property 'length' of undefined in 'Object.find' during 'getApplicableRefactors'","articleBody":"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**: 3195\n**proportion of all sessions**: 0.01192729390420087\n**five line hash**: 5916f9b992b55808646d21adefdcc25c\n**stack**\n```\nTypeError: Cannot read property 'length' of undefined\n at Object.find (tsserver.js:1523:34)\n at recordUsagebySymbol (tsserver.js:81559:41)\n at recordUsage (tsserver.js:81528:36)\n at collectUsages (tsserver.js:81521:25)\n at visitNode (tsserver.js:12595:24)\n at Object.forEachChild (tsserver.js:12958:24)\n at collectUsages (tsserver.js:81524:28)\n at visitNode (tsserver.js:12595:24)\n at Object.forEachChild (tsserver.js:12949:24)\n at collectUsages (tsserver.js:81524:28)\n at visitNode (tsserver.js:12595:24)\n at Object.forEachChild (tsserver.js:12776:24)\n at collectUsages (tsserver.js:81524:28)\n at visitNode (tsserver.js:12595:24)\n at Object.forEachChild (tsserver.js:12807:24)\n at collectUsages (tsserver.js:81524:28)\n at visitNodes (tsserver.js:12604:30)\n at Object.forEachChild (tsserver.js:12796:24)\n at collectUsages (tsserver.js:81524:28)\n at collectReadsAndWrites (tsserver.js:81397:17)\n at getPossibleExtractionsWorker (tsserver.js:80843:38)\n at getPossibleExtractions (tsserver.js:80800:26)\n at Object.getAvailableActions (tsserver.js:80399:35)\n at unknown (tsserver.js:77085:128)\n at getIterator (tsserver.js:1733:23)\n at Object.next (tsserver.js:1728:35)\n at Object.arrayFrom (tsserver.js:2267:32)\n at Object.getApplicableRefactors (tsserver.js:77084:23)\n at Object.getApplicableRefactors (tsserver.js:83299:32)\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.\u003canonymous> (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```","author":{"url":"https://github.com/aozgaa","@type":"Person","name":"aozgaa"},"datePublished":"2018-02-09T01:19:06Z","url":"https://github.com/microsoft/TypeScript/issues/21793"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:048a86cc-5576-29ad-ed63-a28ef62763e1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BECA:842EC:D55CF1:11E1502:6B010238 |
| html-safe-nonce | 12afd285e9f11bbea1e4663013799cc3500f29e8ef25ed78fceb5a47c899f5c1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUNBOjg0MkVDOkQ1NUNGMToxMUUxNTAyOjZCMDEwMjM4IiwidmlzaXRvcl9pZCI6IjgyNzMxNzQ0NTkyOTMxNzIyODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9eb6b15eac8e71ffa8f4eb4b4eb08fa2eceb6cdbb5acc7f18742e184e8b6cdd5 |
| hovercard-subject-tag | issue:295723471 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/21793/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8ed952f742240d7585e757c935d5bf5644abdfbfee9d91e314966bd34ee0876f/microsoft/TypeScript/issues/21793 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8ed952f742240d7585e757c935d5bf5644abdfbfee9d91e314966bd34ee0876f/microsoft/TypeScript/issues/21793 |
| og:image:alt | 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 num... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aozgaa |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width