java.lang.IllegalStateException: java.lang.IllegalStateException

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.

  • 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
    via by Mariano Gonzalez,
    • 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
    No Bugmate found.