[BUG] ClaudeFilePathFilter crashes on Windows with commands starting with "/"

Status Fixed / completed
Maintainer reply None cached
Activity 4 comments · opened Dec 7, 2025 · closed Dec 11, 2025

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

The ClaudeFilePathFilter crashes when parsing Claude Code terminal output on Windows, specifically when commands start with /. The filter attempts to parse the prompt character > as part of a file path, which is invalid on Windows. It's happening since 0.1.13-beta release.

What Should Happen?

The file path filter should:

  • Ignore the Claude Code prompt (>) when detecting file paths
  • Validate paths before attempting to parse them
  • Not crash on invalid path characters

Error Messages/Logs

com.intellij.execution.filters.CompositeFilter$ApplyFilterException: Error while applying com.anthropic.code.plugin.terminal.ClaudeFilePathFilter@767f00b4 to '> /c '
	at com.intellij.execution.filters.CompositeFilter.applyFilter(CompositeFilter.java:71)
	at com.intellij.terminal.JediTermHyperlinkFilterAdapter.runFilters$lambda$2(JediTermHyperlinkFilterAdapter.kt:101)
	at com.intellij.openapi.application.rw.InternalReadAction.insideReadAction(InternalReadAction.kt:111)
	at com.intellij.openapi.application.rw.InternalReadAction.tryReadCancellable$lambda$4(InternalReadAction.kt:101)
	at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal$lambda$3$lambda$2$lambda$1(cancellableReadAction.kt:32)
	at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.tryRunReadAction(NestedLocksThreadingSupport.kt:826)
	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1221)
	at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal$lambda$3$lambda$2(cancellableReadAction.kt:30)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtilService.runActionAndCancelBeforeWrite(ProgressIndicatorUtilService.java:73)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:152)
	at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal(cancellableReadAction.kt:28)
	at com.intellij.openapi.application.rw.InternalReadAction.tryReadCancellable(InternalReadAction.kt:100)
	at com.intellij.openapi.application.rw.InternalReadAction.tryReadAction(InternalReadAction.kt:86)
	at com.intellij.openapi.application.rw.InternalReadAction.readLoop(InternalReadAction.kt:73)
	at com.intellij.openapi.application.rw.InternalReadAction.access$readLoop(InternalReadAction.kt:15)
	at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$6.invokeSuspend(InternalReadAction.kt:52)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:613)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:1189)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:778)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:765)
Caused by: java.nio.file.InvalidPathException: Illegal char <>> at index 0: > /c
	at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:199)
	at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:175)
	at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
	at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:95)
	at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:231)
	at java.base/java.nio.file.Path.resolve(Path.java:516)
	at com.intellij.platform.core.nio.fs.MultiRoutingFsPath.resolve(MultiRoutingFsPath.java:105)
	at com.intellij.platform.core.nio.fs.MultiRoutingFsPath.resolve(MultiRoutingFsPath.java:16)
	at com.anthropic.code.plugin.terminal.ClaudeFilePathFilter.findMatches$lambda$2(ClaudeConsoleFilterProvider.kt:118)
	at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:210)
	at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:170)
	at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
	at kotlin.sequences.SequencesKt___SequencesKt.toList(_Sequences.kt:817)
	at com.anthropic.code.plugin.terminal.ClaudeFilePathFilter.findMatches(ClaudeConsoleFilterProvider.kt:151)
	at com.anthropic.code.plugin.terminal.ClaudeFilePathFilter.applyFilter(ClaudeConsoleFilterProvider.kt:93)
	at com.intellij.execution.filters.CompositeFilter.applyFilter(CompositeFilter.java:65)
	... 21 more

Steps to Reproduce

  1. Open Claude Code terminal in JetBrains IDE on Windows
  2. Type any command starting with / (e.g., /commit-message)
  3. The exception is thrown immediately

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

JetBrains Pluggin : 0.1.12-beta

Claude Code Version

2.0.60

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PyCharm terminal

Additional Information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] · 10 months ago

---

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/13016
  2. https://github.com/anthropics/claude-code/issues/13041
  3. https://github.com/anthropics/claude-code/issues/13207

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

Dyl-M · 10 months ago
Found 3 possible duplicate issues: 1. [[BUG] ClaudeFilePathFilter throws InvalidPathException when parsing URLs in terminal output #13016](https://github.com/anthropics/claude-code/issues/13016) 2. [[BUG] Phpstorm plugin 0.1.13 - ClaudeFilePathFilter crashes on Windows due to invalid path characters and breaks terminal selection highlight #13041](https://github.com/anthropics/claude-code/issues/13041) 3. [[BUG] ClaudeFilePathFilter crashes on > " : character in tool outputs (Write, Edit, Bash) #13207](https://github.com/anthropics/claude-code/issues/13207) This issue will be automatically closed as a duplicate in 3 days. If your issue is a duplicate, please close it and 👍 the existing issue instead To prevent auto-closure, add a comment or 👎 this comment 🤖 Generated with Claude Code

Although all three topics mention the problem, they only cover it in specific contexts. It is the recognition of the “>” character followed by a “/” in any context that causes the plug-in to error

Dyl-M · 10 months ago

Fixed with Claude Code Plugin 0.1.14-beta release.

github-actions[bot] · 9 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.