[BUG] JetBrains plugin treats claude.exe path as directory for IDE lock file on Windows

Resolved 💬 1 comment Opened Apr 29, 2026 by pred1980 Closed May 31, 2026

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?

Description

When starting/opening the Claude Code Beta plugin in IntelliJ on Windows, the IDE reports an internal plugin error. The plugin appears to construct an IDE lock-file path underneath the claude.exe executable path, effectively treating the executable file as a directory.

Error

com.intellij.diagnostic.PluginException:
C:\Users\patri\.local\bin\claude.exe\ide\61219.lock
(Das System kann den angegebenen Pfad nicht finden)

Caused by: java.io.FileNotFoundException:
C:\Users\patri\.local\bin\claude.exe\ide\61219.lock
(Das System kann den angegebenen Pfad nicht finden)

### What Should Happen?

The JetBrains plugin should correctly launch Claude Code and store IDE state or lock files in a valid application data directory, rather than attempting to create subdirectories beneath claude.exe.

### Error Messages/Logs

```shell
com.intellij.diagnostic.PluginException:
C:\Users\patri\.local\bin\claude.exe\ide\61219.lock

Caused by:
java.io.FileNotFoundException:
C:\Users\patri\.local\bin\claude.exe\ide\61219.lock

Steps to Reproduce

Install Claude Code Beta plugin (0.1.14-beta) in IntelliJ / JetBrains IDE on Windows
Install Claude Code CLI (claude.exe) locally
Configure plugin to use:
C:\Users\patri\.local\bin\claude.exe
Start IntelliJ or open Claude plugin
Observe immediate IDE internal error

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.123 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

IntelliJ IDEA terminal

Additional Information

Plugin version: 0.1.14-beta
IDE: IntelliJ / JetBrains
Path issue appears Windows-specific
Likely root cause:
Plugin treats executable path (claude.exe) as directory path for lock/state files

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗