[Error] [GitHub.copilot-chat] unhandlederror-Cannot read properties of undefined (reading 'start')
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.4k
- PR merge metrics
- PR metrics pending
Description
## Error Message
````
unhandlederror-Cannot read properties of undefined (reading 'start')
````
## Stack Trace
at n.containsRange ([./src/vs/editor/common/core/ranges/offsetRange.ts:99:29](https://github.com/microsoft/vscode/blob/8a7abeba6e03ea3af87bfbce9a1b7e48fed567b8/src/vs/editor/common/core/ranges/offsetRange.ts#L99))
at Z5t.lookupNextEdit (../src/extension/inlineEdits/node/nextEditCache.ts:338:36)
at fXe.lookupNextEdit (../src/extension/inlineEdits/node/nextEditCache.ts:217:18)
at O2._getNextEditCanThrow (../src/extension/inlineEdits/node/nextEditProvider.ts:372:39)
at O2.getNextEdit (../src/extension/inlineEdits/node/nextEditProvider.ts:333:23)
at dB._provideInlineCompletionItems (../src/extension/inlineEdits/vscode-node/inlineCompletionProvider.ts:303:32)
at VS :63:14) [not deminified]
at rve.captureInvocation (../src/platform/requestLogger/node/requestLogger.ts:75:27)
at MessagePortMain.emit (node:events:509:28) [not deminified]
at Object.emit (node::2:2934) [not deminified]
Raw Stack Trace (minified)
````
TypeError: Cannot read properties of undefined (reading 'start') at n.containsRange ( VS /resources\app\extensions\copilot\dist\extension.js:1166:17649) at Z5t.lookupNextEdit ( VS /resources\app\extensions\copilot\dist\extension.js:2668:4210) at fXe.lookupNextEdit ( VS /resources\app\extensions\copilot\dist\extension.js:2668:1715) at O2._getNextEditCanThrow ( VS /resources\app\extensions\copilot\dist\extension.js:2670:3270) at O2.getNextEdit ( VS /resources\app\extensions\copilot\dist\extension.js:2670:2633) at dB._provideInlineCompletionItems ( VS /resources\app\extensions\copilot\dist\extension.js:5458:36832) at VS /resources\app\extensions\copilot\dist\extension.js:5458:35169 at VS /resources\app\extensions\copilot\dist\extension.js:1560:17502 at AsyncLocalStorage.run (node::63:14) at rve.captureInvocation ( VS /resources\app\extensions\copilot\dist\extension.js:1560:17492) at dB.provideInlineCompletionItems ( VS /resources\app\extensions\copilot\dist\extension.js:5458:35140) at MessagePortMain.emit (node:events:509:28) at Object.emit (node::2:2934)
````
## Details
| Property | Value |
| --- | --- |
| Bucket ID | [`87c7746e-93e6-e7cb-8b5b-711fbf4e7571`](https://errors.code.visualstudio.com/bucket/87c7746e-93e6-e7cb-8b5b-711fbf4e7571?product=VSCode&extension=GitHub.copilot-chat&commit=8a7abeba6e03ea3af87bfbce9a1b7e48fed567b8) |
| Extension Version | 0.57.0 |
| Last Seen | Sun Jul 19 2026 22:53:02 GMT+0000 (Coordinated Universal Time) |
| Platforms | win32 |
| Product | VSCode |
---
*This issue was automatically created from the VS Code Errors Dashboard*
Contributor guide
Assessment
This issue has not been assessed yet.