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

Jenkins JIRA | yueran zeng | 1 year ago
  1. 0

    Jenkins 1.622 Distributor ID: Ubuntu Description: Ubuntu 14.04 LTS Release: 14.04 Codename: trusty When I tried to install git-plugin, caught error: java.io.IOException: Failed to dynamically deploy this plugin at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1328) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1126) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110) at java.lang.Thread.run(Thread.java:745) Caused by: java.nio.file.AccessDeniedException: /var/lib/jenkins/plugins/git/extraRepo.html at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244) at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103) at java.nio.file.Files.delete(Files.java:1079) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.Util.deleteFile(Util.java:247) at hudson.Util.deleteRecursive(Util.java:310) at hudson.Util.deleteContentsRecursive(Util.java:212) at hudson.Util.deleteRecursive(Util.java:301) at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:524) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:166) at hudson.PluginManager.dynamicLoad(PluginManager.java:449) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1324) ... 5 more

    Jenkins JIRA | 1 year ago | yueran zeng
    java.io.IOException: Failed to dynamically deploy this plugin
  2. 0

    Jenkins 1.622 Distributor ID: Ubuntu Description: Ubuntu 14.04 LTS Release: 14.04 Codename: trusty When I tried to install git-plugin, caught error: java.io.IOException: Failed to dynamically deploy this plugin at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1328) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1126) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110) at java.lang.Thread.run(Thread.java:745) Caused by: java.nio.file.AccessDeniedException: /var/lib/jenkins/plugins/git/extraRepo.html at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244) at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103) at java.nio.file.Files.delete(Files.java:1079) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.Util.deleteFile(Util.java:247) at hudson.Util.deleteRecursive(Util.java:310) at hudson.Util.deleteContentsRecursive(Util.java:212) at hudson.Util.deleteRecursive(Util.java:301) at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:524) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:166) at hudson.PluginManager.dynamicLoad(PluginManager.java:449) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1324) ... 5 more

    Jenkins JIRA | 1 year ago | yueran zeng
    java.io.IOException: Failed to dynamically deploy this plugin
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    PR CI builds are all failing in Windows Release builds

    GitHub | 2 years ago | stephentoub
    java.nio.file.AccessDeniedException: d:\j\workspace\dotnet_corefx_windows_release_prtest\bin\tests\Windows_NT.AnyCPU.Release\System.Linq.Parallel.Tests\aspnetcore50\coreclr.dll
  5. 0

    Why C:\Windows\addins\FXSEXT.ecf accessed by Jenkins git plugin

    Stack Overflow | 1 year ago | Oleg Zhylin
    java.nio.file.AccessDeniedException: \windows\addins\FXSEXT.ecf

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.nio.file.AccessDeniedException

      /var/lib/jenkins/plugins/git/extraRepo.html

      at sun.nio.fs.UnixException.translateToIOException()
    2. Java RT
      Method.invoke
      1. sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
      2. sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
      3. sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
      4. sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244)
      5. sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
      6. java.nio.file.Files.delete(Files.java:1079)
      7. sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      8. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      9. java.lang.reflect.Method.invoke(Method.java:606)
      9 frames
    3. Hudson
      UpdateCenter$DownloadJob.run
      1. hudson.Util.deleteFile(Util.java:247)
      2. hudson.Util.deleteRecursive(Util.java:310)
      3. hudson.Util.deleteContentsRecursive(Util.java:212)
      4. hudson.Util.deleteRecursive(Util.java:301)
      5. hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:524)
      6. hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:166)
      7. hudson.PluginManager.dynamicLoad(PluginManager.java:449)
      8. hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1324)
      9. hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1126)
      9 frames
    4. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2 frames
    5. Hudson :: Remoting Layer
      AtmostOneThreadExecutor$Worker.run
      1. hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame