java.util.zip.ZipException: error in opening zip file

Jenkins JIRA | Mariano Gonzalez | 4 months ago
  1. 0

    After updating Jenkins through {{Debian package}}, I'm getting the following error: {code} Aug 10, 2016 8:33:55 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started ServerConnector@5a99da{HTTP/1.1}{0.0.0.0:8000} Aug 10, 2016 8:33:55 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started @28713ms Aug 10, 2016 8:33:55 PM winstone.Logger logInternal INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled Aug 10, 2016 9:13:31 PM winstone.Logger logInternal INFO: JVM is terminating. Shutting down Winstone Running from: /usr/share/jenkins/jenkins.war webroot: EnvVars.masterEnvVars.get("JENKINS_HOME") Aug 10, 2016 9:14:43 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Logging initialized @18006ms Aug 10, 2016 9:14:43 PM winstone.Logger logInternal INFO: Beginning extraction from war file Aug 10, 2016 9:14:43 PM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: Empty contextPath Aug 10, 2016 9:14:44 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: jetty-9.2.z-SNAPSHOT java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:219) at java.util.zip.ZipFile.<init>(ZipFile.java:149) at java.util.jar.JarFile.<init>(JarFile.java:166) at java.util.jar.JarFile.<init>(JarFile.java:103) at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:93) at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69) at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:84) at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122) at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89) at org.eclipse.jetty.util.resource.JarFileResource.listEntries(JarFileResource.java:314) at org.eclipse.jetty.util.resource.JarFileResource.list(JarFileResource.java:275) at org.eclipse.jetty.util.resource.Resource.getAllResources(Resource.java:682) at org.eclipse.jetty.webapp.MetaInfConfiguration.scanForTlds(MetaInfConfiguration.java:314) at org.eclipse.jetty.webapp.MetaInfConfiguration.scanJars(MetaInfConfiguration.java:135) at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:86) at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:468) at winstone.HostConfiguration$1.preConfigure(HostConfiguration.java:166) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:504) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) at org.eclipse.jetty.server.Server.start(Server.java:387) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) at org.eclipse.jetty.server.Server.doStart(Server.java:354) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at winstone.Launcher.<init>(Launcher.java:152) at winstone.Launcher.main(Launcher.java:352) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at Main._main(Main.java:246) at Main.main(Main.java:91) Aug 10, 2016 9:14:52 PM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: Retrying list:java.lang.IllegalStateException java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:219) at java.util.zip.ZipFile.<init>(ZipFile.java:149) at java.util.jar.JarFile.<init>(JarFile.java:166) at java.util.jar.JarFile.<init>(JarFile.java:103) at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:93) at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69) at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:84) at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122) at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89) at org.eclipse.jetty.util.resource.JarFileResource.listEntries(JarFileResource.java:314) at org.eclipse.jetty.util.resource.JarFileResource.list(JarFileResource.java:288) at org.eclipse.jetty.util.resource.Resource.getAllResources(Resource.java:682) at org.eclipse.jetty.webapp.MetaInfConfiguration.scanForTlds(MetaInfConfiguration.java:314) at org.eclipse.jetty.webapp.MetaInfConfiguration.scanJars(MetaInfConfiguration.java:135) at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:86) at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:468) at winstone.HostConfiguration$1.preConfigure(HostConfiguration.java:166) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:504) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) at org.eclipse.jetty.server.Server.start(Server.java:387) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) at org.eclipse.jetty.server.Server.doStart(Server.java:354) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at winstone.Launcher.<init>(Launcher.java:152) at winstone.Launcher.main(Launcher.java:352) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at Main._main(Main.java:246) at Main.main(Main.java:91) Aug 10, 2016 9:14:52 PM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: Failed startup of context w.@11f989e{/,file:/var/lib/jenkins/war/,null}{/var/lib/jenkins/war} java.lang.IllegalStateException: java.lang.IllegalStateException at org.eclipse.jetty.util.resource.Resource.getAllResources(Resource.java:699) at org.eclipse.jetty.webapp.MetaInfConfiguration.scanForTlds(MetaInfConfiguration.java:314) at org.eclipse.jetty.webapp.MetaInfConfiguration.scanJars(MetaInfConfiguration.java:135) at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:86) at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:468) at winstone.HostConfiguration$1.preConfigure(HostConfiguration.java:166) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:504) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) at org.eclipse.jetty.server.Server.start(Server.java:387) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) at org.eclipse.jetty.server.Server.doStart(Server.java:354) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at winstone.Launcher.<init>(Launcher.java:152) at winstone.Launcher.main(Launcher.java:352) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at Main._main(Main.java:246) at Main.main(Main.java:91) Caused by: java.lang.IllegalStateException at org.eclipse.jetty.util.resource.JarFileResource.listEntries(JarFileResource.java:323) at org.eclipse.jetty.util.resource.JarFileResource.list(JarFileResource.java:288) at org.eclipse.jetty.util.resource.Resource.getAllResources(Resource.java:682) ... 21 more Aug 10, 2016 9:14:59 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started ServerConnector@5a99da{HTTP/1.1}{0.0.0.0:8000} Aug 10, 2016 9:14:59 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started @35414ms Aug 10, 2016 9:14:59 PM winstone.Logger logInternal INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled {code} *Operating System*: Raspbian GNU/Linux 8.0 (jessie) *Java Version*: 1.8.0_101 *Jenkins Version*: 2.17

    Jenkins JIRA | 4 months ago | Mariano Gonzalez
    java.util.zip.ZipException: error in opening zip file
  2. 0

    Unable to setup MyCollab

    GitHub | 2 months ago | mhermosi
    java.util.zip.ZipException: error in opening zip file
  3. 0

    tomcat error while deploying WAR file

    Stack Overflow | 6 years ago | Chapax
    java.util.zip.ZipException: error in opening zip file
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    solr SEVERE Exception opening zip file. Null pointer exception. Etc.

    GitHub | 2 years ago | chris001
    java.util.zip.ZipException: error in opening zip file
  6. 0

    XACML Sample for Health Care Application – Part 1 – SOA Security

    xacmlinfo.org | 5 months ago
    java.util.zip.ZipException: error in opening zip file

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

      error in opening zip file

      at java.util.zip.ZipFile.open()
    2. Java RT
      JarURLConnection.getJarFile
      1. java.util.zip.ZipFile.open(Native Method)
      2. java.util.zip.ZipFile.<init>(ZipFile.java:219)
      3. java.util.zip.ZipFile.<init>(ZipFile.java:149)
      4. java.util.jar.JarFile.<init>(JarFile.java:166)
      5. java.util.jar.JarFile.<init>(JarFile.java:103)
      6. sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:93)
      7. sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69)
      8. sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:84)
      9. sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
      10. sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
      10 frames
    3. Jetty
      WebAppContext.preConfigure
      1. org.eclipse.jetty.util.resource.JarFileResource.listEntries(JarFileResource.java:314)
      2. org.eclipse.jetty.util.resource.JarFileResource.list(JarFileResource.java:275)
      3. org.eclipse.jetty.util.resource.Resource.getAllResources(Resource.java:682)
      4. org.eclipse.jetty.webapp.MetaInfConfiguration.scanForTlds(MetaInfConfiguration.java:314)
      5. org.eclipse.jetty.webapp.MetaInfConfiguration.scanJars(MetaInfConfiguration.java:135)
      6. org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:86)
      7. org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:468)
      7 frames
    4. winstone
      HostConfiguration$1.preConfigure
      1. winstone.HostConfiguration$1.preConfigure(HostConfiguration.java:166)
      1 frame
    5. Jetty
      AbstractLifeCycle.start
      1. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:504)
      2. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      3. org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
      4. org.eclipse.jetty.server.Server.start(Server.java:387)
      5. org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
      6. org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
      7. org.eclipse.jetty.server.Server.doStart(Server.java:354)
      8. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      8 frames
    6. winstone
      Launcher.main
      1. winstone.Launcher.<init>(Launcher.java:152)
      2. winstone.Launcher.main(Launcher.java:352)
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    8. Unknown
      Main.main
      1. Main._main(Main.java:246)
      2. Main.main(Main.java:91)
      2 frames