java.lang.IllegalStateException: java.lang.IllegalStateException

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.lang.IllegalStateException: java.lang.IllegalStateException
  2. 0

    Reloading on Windows fails to delete tmp dir

    GitHub | 2 years ago | inversewd
    java.lang.IllegalStateException: Failed to delete temp dir C:\workspace\Prototype\build\tmp\jettyEclipseRun
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Causes for IllegalStateException

    Stack Overflow | 4 years ago | Gokul Nath
    java.lang.IllegalStateException
  5. 0

    Grails, Tomcat deployment error

    Stack Overflow | 4 years ago | Eddard Stark
    java.lang.IllegalStateException

    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.lang.IllegalStateException

      No message provided

      at org.eclipse.jetty.util.resource.JarFileResource.listEntries()
    2. Jetty
      WebAppContext.preConfigure
      1. org.eclipse.jetty.util.resource.JarFileResource.listEntries(JarFileResource.java:323)
      2. org.eclipse.jetty.util.resource.JarFileResource.list(JarFileResource.java:288)
      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
    3. winstone
      HostConfiguration$1.preConfigure
      1. winstone.HostConfiguration$1.preConfigure(HostConfiguration.java:166)
      1 frame
    4. 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
    5. winstone
      Launcher.main
      1. winstone.Launcher.<init>(Launcher.java:152)
      2. winstone.Launcher.main(Launcher.java:352)
      2 frames
    6. 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
    7. Unknown
      Main.main
      1. Main._main(Main.java:246)
      2. Main.main(Main.java:91)
      2 frames