[BUG] InvalidPathException when PowerShell output contains URLs
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?
What Should Happen?
com.intellij.execution.filters.CompositeFilter$ApplyFilterException: Error while applying com.anthropic.code.plugin.terminal.ClaudeFilePathFilter@7f05a854 to
'Установите последнюю версию PowerShell для новых функций и улучшения! https://aka.ms/PSWindows'
at com.intellij.execution.filters.CompositeFilter.applyFilter(CompositeFilter.java:71)
...
Caused by: java.nio.file.InvalidPathException: Illegal char <:> at index 5: https://aka.ms/PSWindows
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.WindowsPath.parse(WindowsPath.java:95)
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.anthropic.code.plugin.terminal.ClaudeFilePathFilter.findMatches$lambda$2(ClaudeConsoleFilterProvider.kt:118)
Error Messages/Logs
Steps to Reproduce
- Install Claude Code plugin in IntelliJ IDEA on Windows
- Open terminal (PowerShell) in IntelliJ IDEA
- Run any command that outputs a URL with
://(e.g., just start PowerShell and wait for the update message: "Установите последнюю версию PowerShell для новых
функций и улучшения! https://aka.ms/PSWindows")
- Check IDE logs (Help -> Show Log in Explorer)
- The InvalidPathException stack trace appears in the logs
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
0.1.13-beta (IntelliJ IDEA Plugin)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
IntelliJ IDEA terminal
Additional Information
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗