[BUG]

Resolved 💬 3 comments Opened Apr 17, 2026 by uovidiu Closed Apr 20, 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?

/ide from claude code for phpstorm.

when i open the ide i get the error

What Should Happen?

Claude code should work in PHPSTORM

Error Messages/Logs

com.intellij.diagnostic.PluginException: .claude/ide/50157.lock (No such file or directory) [Plugin: com.anthropic.code.plugin]
	at com.intellij.ide.startup.impl.StartupManagerImplKt$launchActivity$1.invokeSuspend(StartupManagerImpl.kt:540)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:610)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runDefaultDispatcherTask(CoroutineScheduler.kt:1194)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:906)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:775)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:762)
Caused by: java.io.FileNotFoundException: .claude/ide/50157.lock (No such file or directory)
	at java.base/java.io.IoOverNioFileSystem.convertNioToIoExceptionInStreams(IoOverNioFileSystem.java:123)
	at java.base/java.io.IoOverNioFileSystem.initializeStreamsUsingNio0(IoOverNioFileSystem.java:375)
	at java.base/java.io.IoOverNioFileSystem.initializeStreamUsingNio(IoOverNioFileSystem.java:342)
	at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:254)
	at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:192)
	at kotlin.io.FilesKt__FileReadWriteKt.writeText(FileReadWrite.kt:141)
	at kotlin.io.FilesKt__FileReadWriteKt.writeText$default(FileReadWrite.kt:140)
	at com.anthropic.code.plugin.services.LockFileUtil.createLockFile(LockFileUtil.kt:74)
	at com.anthropic.code.plugin.services.MCPService.start(MCPService.kt:46)
	at com.anthropic.code.plugin.startup.PostStartupActivity.execute(PostStartupActivity.kt:14)
	at com.intellij.ide.startup.impl.StartupManagerImplKt$launchActivity$1.invokeSuspend(StartupManagerImpl.kt:534)
	... 7 more
Caused by: java.nio.file.NoSuchFileException: .claude/ide/50157.lock
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:94)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:108)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:114)
	at java.base/sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:213)
	at com.intellij.platform.core.nio.fs.DelegatingFileSystemProvider.newFileChannel(DelegatingFileSystemProvider.java:97)
	at java.base/java.io.IoOverNioFileSystem.initializeStreamsUsingNio0(IoOverNioFileSystem.java:357)
	... 16 more

Steps to Reproduce

open claude code in warp terminal.

type /ide, select phpstorm.
launch php storm and i get that error.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.112

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Warp

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗