java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I can't install the Static Analysis plugin. I have been able to install other plugins (Log Parser, EnvInject). I've tried both the without-restart and with-restart approach several times. I have no idea how to fix. If this is a permissions issue, how do I debug? the Error log is here: {code} Jan 16, 2012 3:21:46 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Inspecting plugin c:\server\jenkins\data\plugins\warnings.hpi java.io.IOException: Unable to delete c:\server\jenkins\data\plugins\warnings\WEB-INF\lib\annotations-1.3.9.jar at hudson.Util.deleteFile(Util.java:266) at hudson.Util.deleteRecursive(Util.java:316) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:389) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:113) at hudson.PluginManager$1$3$1.run(PluginManager.java:196) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:800) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Jan 16, 2012 3:21:46 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Inspecting plugin c:\server\jenkins\data\plugins\analysis-core.hpi java.io.IOException: Unable to delete c:\server\jenkins\data\plugins\analysis-core\WEB-INF\lib\annotations-1.3.9.jar at hudson.Util.deleteFile(Util.java:266) at hudson.Util.deleteRecursive(Util.java:316) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:389) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:113) at hudson.PluginManager$1$3$1.run(PluginManager.java:196) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:800) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Jan 16, 2012 3:21:46 PM jenkins.InitReactorRunner$1 onAttained INFO: Started initialization {code}
    via by Jason Sachs,
  • I can't install the Static Analysis plugin. I have been able to install other plugins (Log Parser, EnvInject). I've tried both the without-restart and with-restart approach several times. I have no idea how to fix. If this is a permissions issue, how do I debug? the Error log is here: {code} Jan 16, 2012 3:21:46 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Inspecting plugin c:\server\jenkins\data\plugins\warnings.hpi java.io.IOException: Unable to delete c:\server\jenkins\data\plugins\warnings\WEB-INF\lib\annotations-1.3.9.jar at hudson.Util.deleteFile(Util.java:266) at hudson.Util.deleteRecursive(Util.java:316) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:389) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:113) at hudson.PluginManager$1$3$1.run(PluginManager.java:196) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:800) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Jan 16, 2012 3:21:46 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Inspecting plugin c:\server\jenkins\data\plugins\analysis-core.hpi java.io.IOException: Unable to delete c:\server\jenkins\data\plugins\analysis-core\WEB-INF\lib\annotations-1.3.9.jar at hudson.Util.deleteFile(Util.java:266) at hudson.Util.deleteRecursive(Util.java:316) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:389) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:113) at hudson.PluginManager$1$3$1.run(PluginManager.java:196) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:800) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Jan 16, 2012 3:21:46 PM jenkins.InitReactorRunner$1 onAttained INFO: Started initialization {code}
    via by Jason Sachs,
  • Our Jenkins instance keeps crashing
    via by David Aldrich,
  • Failed to change file modification time
    via by Jeff Williams,
  • I see many of these errors in the log: {code}Mar 07, 2014 8:32:51 PM SEVERE jenkins.InitReactorRunner$1 onTaskFailed Failed Inspecting plugin /var/lib/jenkins/plugins/ssh-slaves.jpi java.io.IOException: Failed to expand /var/lib/jenkins/plugins/ssh-slaves.jpi at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:429) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:126) at hudson.PluginManager$1$3$1.run(PluginManager.java:236) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:899) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) Caused by: Error while expanding /var/lib/jenkins/plugins/ssh-slaves.jpi java.util.zip.ZipException: archive is not a ZIP archive at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192) at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132) at hudson.ClassicPluginStrategy.unzipExceptClasses(ClassicPluginStrategy.java:501) at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:426) ... 10 more Caused by: java.util.zip.ZipException: archive is not a ZIP archive at org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:481) at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:320) at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:186) at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:170) ... 13 more{code} As a result the plugins don't load. All their dependencies don't load too. No errors are displayed in the frontend which is extremely confusing.
    via by gene lzr,
  • Jenkins version 1.568,after update to 1.569,issue still remains. It's a little bit complicated to reproduce the bug. The Jenkins server we use is behind the firewall with limited access to the internet.So one day our ops decide to update the plugin we use on a whim,when he re-login to check the status later,all plugin just vanished.Not just disappear from the plugin manager list,the plugin files don't exist on the system too. And here's some log: Jun 26, 2014 4:58:17 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Inspecting plugin /data/jenkins/plugins/cvs.jpi java.io.IOException: Failed to expand /data/jenkins/plugins/cvs.jpi at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:484) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:150) at hudson.PluginManager$1$3$1.run(PluginManager.java:240) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:885) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) 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: Error while expanding /data/jenkins/plugins/cvs.jpi java.util.zip.ZipException: archive is not a ZIP archive at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192) at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132) at hudson.ClassicPluginStrategy.unzipExceptClasses(ClassicPluginStrategy.java:556) at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:481) ... 10 more Caused by: java.util.zip.ZipException: archive is not a ZIP archive at org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:481) at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:320) at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:186) at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:170) ... 13 more
    via by visual zhang,
  • I see many of these errors in the log: {code}Mar 07, 2014 8:32:51 PM SEVERE jenkins.InitReactorRunner$1 onTaskFailed Failed Inspecting plugin /var/lib/jenkins/plugins/ssh-slaves.jpi java.io.IOException: Failed to expand /var/lib/jenkins/plugins/ssh-slaves.jpi at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:429) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:126) at hudson.PluginManager$1$3$1.run(PluginManager.java:236) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:899) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) Caused by: Error while expanding /var/lib/jenkins/plugins/ssh-slaves.jpi java.util.zip.ZipException: archive is not a ZIP archive at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192) at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132) at hudson.ClassicPluginStrategy.unzipExceptClasses(ClassicPluginStrategy.java:501) at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:426) ... 10 more Caused by: java.util.zip.ZipException: archive is not a ZIP archive at org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:481) at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:320) at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:186) at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:170) ... 13 more{code} As a result the plugins don't load. All their dependencies don't load too. No errors are displayed in the frontend which is extremely confusing.
    via by gene lzr,
  • Jenkins version 1.568,after update to 1.569,issue still remains. It's a little bit complicated to reproduce the bug. The Jenkins server we use is behind the firewall with limited access to the internet.So one day our ops decide to update the plugin we use on a whim,when he re-login to check the status later,all plugin just vanished.Not just disappear from the plugin manager list,the plugin files don't exist on the system too. And here's some log: Jun 26, 2014 4:58:17 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Inspecting plugin /data/jenkins/plugins/cvs.jpi java.io.IOException: Failed to expand /data/jenkins/plugins/cvs.jpi at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:484) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:150) at hudson.PluginManager$1$3$1.run(PluginManager.java:240) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:885) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) 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: Error while expanding /data/jenkins/plugins/cvs.jpi java.util.zip.ZipException: archive is not a ZIP archive at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192) at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132) at hudson.ClassicPluginStrategy.unzipExceptClasses(ClassicPluginStrategy.java:556) at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:481) ... 10 more Caused by: java.util.zip.ZipException: archive is not a ZIP archive at org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:481) at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:320) at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:186) at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:170) ... 13 more
    via by visual zhang,
    • java.io.IOException: Unable to delete c:\server\jenkins\data\plugins\warnings\WEB-INF\lib\annotations-1.3.9.jar at hudson.Util.deleteFile(Util.java:266) at hudson.Util.deleteRecursive(Util.java:316) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:389) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:113) at hudson.PluginManager$1$3$1.run(PluginManager.java:196) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:800) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Users with the same issue

    davidvanlaatum
    14 times, last one,
    Unknown visitor1 times, last one,