Skip to content

[Error] [GitHub.copilot-chat] unhandlederror-Error in extension github.copilot-chat: FAILED to handle event: Cannot read propertie... #326632

Description

@vs-code-engineering

Error Message

unhandlederror-Error in extension github.copilot-chat: FAILED to handle event: Cannot read properties of undefined (reading 'startOffset')

Stack Trace

    at KOr (../src/platform/notebook/common/alternativeNotebookTextDocument.ts:398:93)
    at withNotebookChangesAndEdit (../src/platform/notebook/common/alternativeNotebookTextDocument.ts:448:8)
    at MessagePortMain.emit (node:events:509:28) [not deminified]
    at Object.emit (node:<REDACTED: user-file-path>:2:2934) [not deminified]

Raw Stack Trace (minified)
TypeError: Cannot read properties of undefined (reading 'startOffset') 	at KOr (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:3510:6193) 	at e9r (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:3510:6677) 	at <REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:3510:13893 <REDACTED: URL> <REDACTED: URL> <REDACTED: URL> <REDACTED: URL> <REDACTED: URL> <REDACTED: URL> <REDACTED: URL> <REDACTED: URL> <REDACTED: URL> <REDACTED: URL> <REDACTED: URL> <REDACTED: URL> <REDACTED: URL> <REDACTED: URL> <REDACTED: URL> <REDACTED: URL> <REDACTED: URL> <REDACTED: URL> 	at MessagePortMain.emit (node:events:509:28) 	at Object.emit (node:<REDACTED: user-file-path>:2:2934)

Details

Property Value
Bucket ID 0943b5af-a65c-6c65-0d41-f07e2a67ebfe
Extension Version 0.57.0
Last Seen Sun Jul 19 2026 23:19:59 GMT+0000 (Coordinated Universal Time)
Platforms win32
Product VSCode

This issue was automatically created from the VS Code Errors Dashboard

Metadata

Metadata

Labels

ai-analyzedAI automation workflow has run an analysis of this issue and provided a comment.ai-generatedGenerated by AI automation workflowsbugIssue identified by VS Code Team member as probable bugerror-telemetryVS Code - Issues generated by telemetryextensionrecent-regression

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions