java.util.zip.ZipException: archive is not a ZIP archive

Jenkins JIRA | Victor Chen | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When trying to install "DRY Plugin", the installation of its dependency "Static Code Analysis Plug-ins" failed. This is the error message: hudson.util.IOException2: Failed to dynamically deploy this plugin at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1138) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:956) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) 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) Caused by: hudson.util.IOException2: Failed to expand C:\Documents and Settings\ADDLabs\.jenkins\plugins\analysis-core.jpi at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:399) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:113) at hudson.PluginManager.dynamicLoad(PluginManager.java:352) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1134) ... 7 more Caused by: Error while expanding C:\Documents and Settings\ADDLabs\.jenkins\plugins\analysis-core.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.explode(ClassicPluginStrategy.java:397) ... 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) ... 12 more

    Jenkins JIRA | 5 years ago | Tácio Diogo
    java.util.zip.ZipException: archive is not a ZIP archive
  2. 0

    When installing Email-ext plugin, the downloaded jpi file is a HTML file saying access denied. Jenkins would try to unzip it and fail. The detailed error messages are: Email-ext plugin Failure - hudson.util.IOException2: Failed to dynamically deploy this plugin at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1176) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:987) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: hudson.util.IOException2: Failed to expand /var/lib/jenkins/plugins/email-ext.jpi at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:399) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:113) at hudson.PluginManager.dynamicLoad(PluginManager.java:369) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1172) ... 7 more Caused by: Error while expanding /var/lib/jenkins/plugins/email-ext.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.explode(ClassicPluginStrategy.java:397) ... 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) ... 12 more Other plugins installs fine, so it is not likely to be the problem of the http proxy. The downloaded email-ext.jpi is attached.

    Jenkins JIRA | 5 years ago | Victor Chen
    java.util.zip.ZipException: archive is not a ZIP archive
  3. 0

    When trying to install "DRY Plugin", the installation of its dependency "Static Code Analysis Plug-ins" failed. This is the error message: hudson.util.IOException2: Failed to dynamically deploy this plugin at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1138) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:956) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) 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) Caused by: hudson.util.IOException2: Failed to expand C:\Documents and Settings\ADDLabs\.jenkins\plugins\analysis-core.jpi at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:399) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:113) at hudson.PluginManager.dynamicLoad(PluginManager.java:352) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1134) ... 7 more Caused by: Error while expanding C:\Documents and Settings\ADDLabs\.jenkins\plugins\analysis-core.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.explode(ClassicPluginStrategy.java:397) ... 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) ... 12 more

    Jenkins JIRA | 5 years ago | Tácio Diogo
    java.util.zip.ZipException: archive is not a ZIP archive
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When installing Email-ext plugin, the downloaded jpi file is a HTML file saying access denied. Jenkins would try to unzip it and fail. The detailed error messages are: Email-ext plugin Failure - hudson.util.IOException2: Failed to dynamically deploy this plugin at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1176) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:987) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: hudson.util.IOException2: Failed to expand /var/lib/jenkins/plugins/email-ext.jpi at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:399) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:113) at hudson.PluginManager.dynamicLoad(PluginManager.java:369) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1172) ... 7 more Caused by: Error while expanding /var/lib/jenkins/plugins/email-ext.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.explode(ClassicPluginStrategy.java:397) ... 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) ... 12 more Other plugins installs fine, so it is not likely to be the problem of the http proxy. The downloaded email-ext.jpi is attached.

    Jenkins JIRA | 5 years ago | Victor Chen
    java.util.zip.ZipException: archive is not a ZIP archive
  6. 0

    [JENKINS-13350] Static Code Analysis Plug-ins: Failed to install - Jenkins JIRA

    jenkins-ci.org | 4 months ago
    java.util.zip.ZipException: archive is not a ZIP archive

    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.util.zip.ZipException

      archive is not a ZIP archive

      at org.apache.tools.zip.ZipFile.positionAtCentralDirectory()
    2. Ant
      Expand.execute
      1. org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:481)
      2. org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:320)
      3. org.apache.tools.zip.ZipFile.<init>(ZipFile.java:186)
      4. org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:170)
      5. org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192)
      6. org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
      6 frames
    3. Hudson
      ClassicPluginStrategy.explode
      1. hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:397)
      1 frame