[BUG] ClaudeFilePathFilter crashes on `>` `"` `:` character in tool outputs (Write, Edit, Bash)
Resolved 💬 2 comments Opened Dec 6, 2025 by VizardAlpha Closed Dec 6, 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?
When Claude tries to write to a file using the Update/Write/Bash tool, it returns different errors. The IDE also returns plugin errors.
The plugin crashes when any tool output contains the > " : character, because ClaudeFilePathFilter attempts to parse it as a Windows file path.
What Should Happen?
The filter should properly handle or skip lines containing > " : characters that are not valid file paths.
Error Messages/Logs
IDE com.intellij.execution.filters.CompositeFilter$ApplyFilterException: Error while applying
com.anthropic.code.plugin.terminal.ClaudeFilePathFilter@16c8db58 to '> /p '
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: > /p
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
Update(publish\changelogs\031.md)
⎿ Error: File has been unexpectedly modified. Read it again before attempting to write it.
Write(publish\changelogs\031.md)
⎿ Error writing file
Caused by: java.nio.file.InvalidPathException: Illegal char <"> at index 0:
Steps to Reproduce
- Use Claude Code in IntelliJ/WebStorm on Windows
- Have Claude use Write, Edit, or Bash tools
- Plugin throws InvalidPathException when processing output
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
idk
Claude Code Version
2.0.60
Platform
Other
Operating System
Windows
Terminal/Shell
IntelliJ IDEA terminal
Additional Information
Affected tools:
- Write tool
- Edit tool
- Bash tool (heredoc/redirect)
- Any output containing
>":and maybe more..
Model: Default Opus 4.5
IDE: Connected to IntelliJ IDEA extension
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗