Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.3.0: verifyPlugin error #1896

Open
technoir42 opened this issue Feb 26, 2025 · 0 comments
Open

2.3.0: verifyPlugin error #1896

technoir42 opened this issue Feb 26, 2025 · 0 comments
Assignees
Labels

Comments

@technoir42
Copy link

technoir42 commented Feb 26, 2025

What happened?

verifyPlugin Gradle task fails with an error.

Relevant log output or stack trace

> Task :MyPlugin:verifyPlugin FAILED
Starting the IntelliJ Plugin Verifier 1.382
2025-02-26T13:36:28 [main] INFO  c.j.p.options.OptionsParser - The verification directory /Users/user/Projects/MyPlugin/build/reports/pluginVerifier is being deleted because it is not empty.
Verification reports directory: /Users/user/Projects/MyPlugin/build/reports/pluginVerifier
Exception in thread "main" java.nio.file.NoSuchFileException: /Users/user/.pluginVerifier/loaded-plugins/.downloads
        at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
        at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
        at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
        at java.base/sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(UnixFileSystemProvider.java:485)
        at java.base/java.nio.file.Files.newDirectoryStream(Files.java:482)
        at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:301)
        at java.base/java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:323)
        at java.base/java.nio.file.Files.walkFileTree(Files.java:2792)
        at java.base/java.nio.file.Files.walkFileTree(Files.java:2870)
        at com.jetbrains.plugin.structure.base.utils.FileUtilKt.forceRemoveDirectory(FileUtil.kt:144)
        at com.jetbrains.plugin.structure.base.utils.FileUtilKt.forceDeleteIfExists(FileUtil.kt:97)
        at com.jetbrains.pluginverifier.repository.downloader.DownloadProvider.<init>(DownloadProvider.kt:36)
        at com.jetbrains.pluginverifier.plugin.PluginFilesBank$Companion.create(PluginFilesBank.kt:52)
        at com.jetbrains.pluginverifier.PluginVerifierMain.main(PluginVerifierMain.kt:118)

Steps to reproduce

  1. Create a Gradle project with two sibling IDEA plugin modules.
  2. Run ./gradlew verifyPlugin more than once.
  3. The first time build succeeds, but on subsequent runs there is a chance that it fails.

Gradle IntelliJ Plugin version

2.3.0

Gradle version

8.12.1

Operating System

None

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

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants