microsoft / microsoft/vscode

[Error] [GitHub.copilot-chat] unhandlederror-Illegal value for `line`

Open
#331,652 1 comment 0 reactions 2 assignees Claimed by @ulugbekna View on GitHub
ai-analyzed ai-generated bug error-telemetry extension recent-regression stable-anomaly
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

## Error Message
````
unhandlederror-Illegal value for `line`
````

## Stack Trace
    at jYo (../src/extension/inlineEdits/vscode-node/isInlineSuggestion.ts:49:21)
    at tryRebaseAsCursorEdit (../src/extension/inlineEdits/vscode-node/isInlineSuggestion.ts:27:21)
    at toInlineSuggestion (../src/extension/inlineEdits/vscode-node/inlineCompletionProvider.ts:451:54)
    at runNextTicks (node::65:5) [not deminified]

Raw Stack Trace (minified)

````
Error: Illegal value for `line` at jYo ( VS /resources\app\extensions\copilot\dist\extension.js:5306:23134) at FNr ( VS /resources\app\extensions\copilot\dist\extension.js:5306:23028) at I1._provideInlineCompletionItems ( VS /resources\app\extensions\copilot\dist\extension.js:5306:40273) at runNextTicks (node::65:5) at process.processTimers (node::538:9)
````

## Details
| Property | Value |
| --- | --- |
| Bucket ID | [`0f3830b9-9144-7a69-71cb-9c639ea7bb38`](https://errors.code.visualstudio.com/bucket/0f3830b9-9144-7a69-71cb-9c639ea7bb38?product=VSCode&extension=GitHub.copilot-chat&commit=110a328ea54b42367b803ec53ee0bf52ef26b419) |
| Extension Version | 0.61.0 |
| Last Seen | Tue Aug 18 2026 23:28:08 GMT+0000 (Coordinated Universal Time) |
| Platforms | win32 |
| Product | VSCode |

---
*This issue was automatically created from the VS Code Errors Dashboard*

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.