wso2 / wso2/api-platform

[MCP]: when claude code session is terminated, Sees a panic error in Gateway Runtime

Open
#1,466 0 comments 0 reactions 1 assignee View on GitHub

@RakhithaRR is already working on this.

Since Mar 24, 2026.

1.0.0 Area/Policies Aspect/AI Severity/Minor Type/Bug
Dominant language
Go
Stars
71
Forks
111
Avg merge
1d 14h
Merged PRs (30d)
110

Description

Please select the area the issue is related to

Area/Policies (Policies, Policy Hub, Policy Engine etc)

Please select the aspect the issue is related to

Aspect/AI (AI/LLM integration, MCP, AI readiness)

Description

Following log can be seen.
gateway-runtime-1 | [pol] time=2026-03-24T15:15:00.129Z level=ERROR msg="panic occurred" error="runtime error: invalid memory address or nil pointer dereference" context="Recovered from panic in Process method"
gateway-runtime-1 | [pol] time=2026-03-24T15:15:01.132Z level=ERROR msg="panic occurred" error="runtime error: invalid memory address or nil pointer dereference" context="Recovered from panic in Process method"

Steps to Reproduce

Run claude code and register MCP proxy server you deployed.
Terminate the claude session and you would see the error message.

Severity Level of the Issue

Severity/Minor (Non-critical functionality. Can be fixed in future releases)

Environment Details (with versions)

0.11.0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.