hudson.util.IOException2: Failed to dynamically deploy this plugin

Jenkins JIRA | robsimon | 5 years ago
  1. 0

    Try to updated an installed plugin without restarting Jenkins. In my case the Monitoring plugin threw the following exception: hudson.util.IOException2: Failed to dynamically deploy this plugin at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1137) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:955) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.IOException: Unable to delete C:\Jenkins\plugins\monitoring\WEB-INF\lib\itext-2.1.7.jar at hudson.Util.deleteFile(Util.java:237) at hudson.Util.deleteRecursive(Util.java:287) at hudson.Util.deleteContentsRecursive(Util.java:198) at hudson.Util.deleteRecursive(Util.java:278) at hudson.Util.deleteContentsRecursive(Util.java:198) at hudson.Util.deleteRecursive(Util.java:278) at hudson.Util.deleteContentsRecursive(Util.java:198) at hudson.Util.deleteRecursive(Util.java:278) at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:389) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:113) at hudson.PluginManager.dynamicLoad(PluginManager.java:340) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1133) ... 7 more Similar to [update of Perforce plugin fails with IOException (Jenkins-12947)|https://issues.jenkins-ci.org/browse/JENKINS-12947]

    Jenkins JIRA | 5 years ago | robsimon
    hudson.util.IOException2: Failed to dynamically deploy this plugin
  2. 0

    Try to updated an installed plugin without restarting Jenkins. In my case the Monitoring plugin threw the following exception: hudson.util.IOException2: Failed to dynamically deploy this plugin at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1137) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:955) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.IOException: Unable to delete C:\Jenkins\plugins\monitoring\WEB-INF\lib\itext-2.1.7.jar at hudson.Util.deleteFile(Util.java:237) at hudson.Util.deleteRecursive(Util.java:287) at hudson.Util.deleteContentsRecursive(Util.java:198) at hudson.Util.deleteRecursive(Util.java:278) at hudson.Util.deleteContentsRecursive(Util.java:198) at hudson.Util.deleteRecursive(Util.java:278) at hudson.Util.deleteContentsRecursive(Util.java:198) at hudson.Util.deleteRecursive(Util.java:278) at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:389) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:113) at hudson.PluginManager.dynamicLoad(PluginManager.java:340) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1133) ... 7 more Similar to [update of Perforce plugin fails with IOException (Jenkins-12947)|https://issues.jenkins-ci.org/browse/JENKINS-12947]

    Jenkins JIRA | 5 years ago | robsimon
    hudson.util.IOException2: Failed to dynamically deploy this plugin
  3. 0

    [JENKINS-12094] ruby-runtime plugin fails to initialize - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    hudson.util.IOException2: Failed to dynamically deploy this plugin
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Calabash-android on Jekins

    Google Groups | 3 years ago | Jiajia Yu
    hudson.util.IOException2: Failed to dynamically deploy this plugin
  6. 0

    Re: Re: How to detect change on a GIT repository but only for sub folders?

    Google Groups | 5 years ago | sebtardif
    hudson.util.IOException2: Failed to dynamically deploy this plugin

    3 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.io.IOException

      Unable to delete C:\Jenkins\plugins\monitoring\WEB-INF\lib\itext-2.1.7.jar

      at hudson.Util.deleteFile()
    2. Hudson
      UpdateCenter$DownloadJob.run
      1. hudson.Util.deleteFile(Util.java:237)
      2. hudson.Util.deleteRecursive(Util.java:287)
      3. hudson.Util.deleteContentsRecursive(Util.java:198)
      4. hudson.Util.deleteRecursive(Util.java:278)
      5. hudson.Util.deleteContentsRecursive(Util.java:198)
      6. hudson.Util.deleteRecursive(Util.java:278)
      7. hudson.Util.deleteContentsRecursive(Util.java:198)
      8. hudson.Util.deleteRecursive(Util.java:278)
      9. hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:389)
      10. hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:113)
      11. hudson.PluginManager.dynamicLoad(PluginManager.java:340)
      12. hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1133)
      13. hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:955)
      13 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:662)
      6 frames