Skip to content

Claude Code process exited with code 1 #570

@TyinOne

Description

@TyinOne

Claude-agent Version: v0.29.2
IDEA Version: 2026.1
[Claude Agent] stderr: Error handling request {
type: 'com.agentclientprotocol.rpc.JsonRpcRequest',
id: 2,
method: 'session/new',
params: {
cwd: 'E:\code\business',
mcpServers: [],
_meta: { additionalRoots: [Array] }
},
jsonrpc: '2.0'
} {
code: -32603,
message: 'Internal error',
data: { details: 'Claude Code process exited with code 1' }
}

2026-04-20 10:26:51,727 [ 7605] WARN - #c.i.m.l.a.a.c.AcpSessionLifecycleManager - Failed to initialize ACP session for chat 8fdba51d-7f90-4e6c-a81b-d0d421c9abcc, error: com.agentclientprotocol.protocol.JsonRpcException: Internal error
com.agentclientprotocol.protocol.JsonRpcException: Internal error
at com.agentclientprotocol.protocol.Protocol.handleResponse(Protocol.kt:465)
at com.agentclientprotocol.protocol.Protocol.handleIncomingMessage(Protocol.kt:366)
at com.agentclientprotocol.protocol.Protocol.access$handleIncomingMessage(Protocol.kt:122)
at com.agentclientprotocol.protocol.Protocol$start$2.invokeSuspend(Protocol.kt:172)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:610)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runDefaultDispatcherTask(CoroutineScheduler.kt:1194)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:906)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:775)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:762)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions