Skip to content

[Error] unhandlederror-Unexpected end of JSON input #330263

Open

Description

@vs-code-engineering

Error Message

unhandlederror-Unexpected end of JSON input

Stack Trace

    at gl (./src/vs/base/parts/ipc/common/ipc.ts:322:36)
    at deserialize (./src/vs/base/parts/ipc/common/ipc.ts:317:16)
    at deserialize (./src/vs/base/parts/ipc/common/ipc.ts:397:15)
    at tl.value (./src/vs/base/parts/ipc/common/ipc.ts:343:62)
    at D._deliver (./src/vs/base/common/event.ts:1391:12)
    at D._deliverQueue (./src/vs/base/common/event.ts:1402:8)
    at D.fire (./src/vs/base/common/event.ts:1426:8)
    at MessagePortMain.P (./src/vs/base/common/event.ts:710:44)
    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)
SyntaxError: Unexpected end of JSON input     at JSON.parse (<anonymous>)     at gl (out/vs/platform/agentHost/node/agentHostMain.js:433:119096)     at gl (out/vs/platform/agentHost/node/agentHostMain.js:433:119061)     at Du.onRawMessage (out/vs/platform/agentHost/node/agentHostMain.js:433:120000)     at tl.value (out/vs/platform/agentHost/node/agentHostMain.js:433:119386)     at D._deliver (out/vs/platform/agentHost/node/agentHostMain.js:433:3617)     at D._deliverQueue (out/vs/platform/agentHost/node/agentHostMain.js:433:3706)     at D.fire (out/vs/platform/agentHost/node/agentHostMain.js:433:4040)     at MessagePortMain.P (out/vs/platform/agentHost/node/agentHostMain.js:431:13792)     at MessagePortMain.emit (node:events:509:28)     at Object.emit (node:<REDACTED: user-file-path>:2:2934)

Details

Property Value
Bucket ID 112c22ba-c8f9-9d2c-1f93-9f46466fb2ac
Version 1.133.0-insider
Commit 5a36a9c6
Last Seen Mon Aug 10 2026 23:33:54 GMT+0000 (Coordinated Universal Time)
Platforms Windows, Mac, Linux
Product VSCode

This issue was automatically created from the VS Code Errors Dashboard

Activity

  1. added
    bugIssue identified by VS Code Team member as probable bug
    error-telemetryVS Code - Issues generated by telemetry
    ai-generatedGenerated by AI automation workflows
    *fixTrigger a agentic workflow to provide analysis and propose PR.
    on Aug 11, 2026
  2. vs-code-engineering commented on Aug 11, 2026

    @vs-code-engineering
    ContributorAuthor

    Regression Details

    • Product: VSCode
    • Regression type: new
    • Detected comparing: 1.132.0 stable (df53daab) → 1.133.0-insider (5a36a9c6)
    • Users on current build: 44
    • Bucket: 112c22ba

    These error buckets are tracked by this issue (v1.133.0-insider):

    Bucket Users Notes
    112c22ba 44 Primary — ipc.ts deserialize via agentHost onRawMessage
    6387f44d 44 Same ipc.ts deserialize path via onBuffer

    JSON.parse throws Unexpected end of JSON input inside deserialize (vs/base/parts/ipc/common/ipc.ts) while the agent host processes a raw IPC message — indicating a truncated/empty IPC payload. Not present in the 1.132.0 stable baseline.

    Generated by errors-regression-scan · opus48 · 179 AIC · ⌖ 10.9 AIC · ⊞ 9.3K · ◷

  3. added a commit that references this issue on Aug 11, 2026
    798bc6e
  4. eleanorjboyd commented on Aug 13, 2026

    @eleanorjboyd
    Contributor

    may be connected to: #330531

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*fixTrigger a agentic workflow to provide analysis and propose PR.ai-generatedGenerated by AI automation workflowsbugIssue identified by VS Code Team member as probable bugerror-telemetryVS Code - Issues generated by telemetryrecent-regression

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions