java.io.IOException: Failed to dynamically deploy this plugin

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by agibson-vrnt
, 1 year ago
Failed to dynamically deploy this plugin
via Google Groups by thirumal.jayaraman@verizon.com (JIRA), 1 year ago
via Google Groups by Ashish Yadav, 1 year ago
Failed to dynamically deploy this plugin
via Jenkins JIRA by Mariusz Wiktorczyk, 1 year ago
Failed to dynamically deploy this plugin
via Jenkins JIRA by Andrea Barbieri, 1 year ago
Failed to dynamically deploy this plugin
java.nio.file.FileSystemException: C:\Users\hriazi\.jenkins\plugins\ruby-runtime\WEB-INF\lib\classes.jar: The process cannot access the file because it is being used by another process.
at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source)
at sun.nio.fs.AbstractFileSystemProvider.delete(Unknown Source)
at java.nio.file.Files.delete(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at hudson.Util.deleteFile(Util.java:255)
at hudson.Util.deleteRecursive(Util.java:318)
at hudson.Util.deleteContentsRecursive(Util.java:220)
at hudson.Util.deleteRecursive(Util.java:309)
at hudson.Util.deleteContentsRecursive(Util.java:220)
at hudson.Util.deleteRecursive(Util.java:309)
at hudson.Util.deleteContentsRecursive(Util.java:220)
at hudson.Util.deleteRecursive(Util.java:309)
at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:524)
at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:166)
at hudson.PluginManager.dynamicLoad(PluginManager.java:462)

Users with the same issue

Once, 2 months ago
74 times, 4 months ago
4 times, 8 months ago
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.