intellij-platform-gradle-plugin icon indicating copy to clipboard operation
intellij-platform-gradle-plugin copied to clipboard

Error: ".../jcef_cache/SingletonSocket: not a regular file"

Open ekudel opened this issue 1 year ago • 2 comments

What happened?

Our plugin uses JCEF and we get the following error when execute "runIde" second time:

Cannot snapshot /Users/Evgenii/work/intellij-codereview-plugin/master/bitbucket/bitbucket-plugin/build/idea-sandbox/IC-2024.2/system/jcef_cache/SingletonSocket: not a regular file

Deleting "jcef_cache" directory helps. It didn't happen with the "old" intellij-gradle plugin.

Relevant log output or stack trace

No response

Steps to reproduce

  1. Create a plugin which uses JCEFHtmlPanel (jetbrainsRuntime() dependency is needed)
  2. Run "runIde" Gradle task and do something to make JCEF rendering happen
  3. Close the IDE
  4. Run "runIde" again

Gradle IntelliJ Plugin version

2.0.0-beta7

Gradle version

8.8

Operating System

macOS

Link to build, i.e. failing GitHub Action job

No response

ekudel avatar Jun 25 '24 14:06 ekudel

Same thing for me, but it happens each time I have to kill my sandboxed IDE. No problem if I exit the sandboxed IDE normally.

jonathanlermitage avatar Jun 25 '24 14:06 jonathanlermitage

As I can see, it's already fixed by https://github.com/JetBrains/intellij-platform-gradle-plugin/commit/07cb0f96e8a5f575d521bb393c15c346d68883a4

Undin avatar Jun 26 '24 19:06 Undin

@hsz I suppose it can be closed now since beta8 is already published

Undin avatar Jul 02 '24 10:07 Undin