claude-code - 💡(How to fix) Fix claude --continue and --resume show blank session despite valid session data [3 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#45389Fetched 2026-04-09 08:06:33
View on GitHub
Comments
3
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
commented ×3closed ×1cross-referenced ×1

claude --continue and claude --resume <session-id> open a blank session instead of displaying the conversation history, even though the session files exist and contain valid data.

Root Cause

claude --continue and claude --resume <session-id> open a blank session instead of displaying the conversation history, even though the session files exist and contain valid data.

RAW_BUFFERClick to expand / collapse

Description

claude --continue and claude --resume <session-id> open a blank session instead of displaying the conversation history, even though the session files exist and contain valid data.

Steps to Reproduce

  1. Have existing sessions in ~/.claude/projects/<project>/
  2. Run claude --continue from the project directory
  3. A blank session appears instead of the most recent conversation
  4. Run claude --resume <session-id> with a specific session ID
  5. Same result — blank session

Expected Behavior

The conversation history should be displayed and the session should resume where it left off.

Observed Behavior

A blank/new session appears with no conversation history, despite the session .jsonl files being present and containing valid JSONL data (e.g. 227 lines, ~810KB).

Environment

  • Claude Code version: 2.1.96
  • Platform: Linux (CachyOS, kernel 6.19.9-2-cachyos)
  • Shell: bash
  • Session files are present in ~/.claude/projects/ with correct permissions (-rw-------) and valid content

extent analysis

TL;DR

The issue with claude --continue and claude --resume <session-id> opening a blank session instead of displaying the conversation history may be resolved by verifying the session file integrity and checking for any configuration issues.

Guidance

  • Verify that the session files in ~/.claude/projects/<project>/ are correctly formatted and not corrupted, as the presence of valid JSONL data is crucial for resuming sessions.
  • Check the permissions and ownership of the session files to ensure they match the expected settings (-rw-------), which could affect how claude accesses these files.
  • Consider checking the claude configuration for any settings that might influence how sessions are loaded or resumed, as the issue could stem from a misconfiguration rather than a problem with the session files themselves.
  • Test resuming a session with a newly created session file to see if the issue persists, which could help determine if the problem is specific to certain session files or a broader issue with the claude application.

Example

No specific code example is applicable in this case, as the issue seems related to the application's behavior with existing session files rather than a code snippet that needs correction.

Notes

The solution may depend on specifics of the claude application's internal workings, especially how it handles session files and resumes sessions. Without more detailed information on the application's mechanics, the guidance provided is based on general principles of troubleshooting file-based issues.

Recommendation

Apply a workaround by manually verifying and potentially correcting the session file integrity and configuration settings, as this approach allows for a targeted investigation into the cause of the issue without requiring an upgrade or significant code changes.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING