Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48866

[jenkins][build-with-parameters]java.lang.IllegalStateException: zip file closed

XMLWordPrintable

      I tried installing the plugin(download and install after restart.. when download completed, ticked checkbox to restart) : "build with parameter" !

      When jenkins was restarting, instead of restarting back, it is showing the following error: 

      java.lang.IllegalStateException: zip file closed
      	at java.util.zip.ZipFile.ensureOpen(ZipFile.java:669)
      	at java.util.zip.ZipFile.getEntry(ZipFile.java:309)
      	at java.util.jar.JarFile.getEntry(JarFile.java:240)
      	at java.util.jar.JarFile.getJarEntry(JarFile.java:223)
      	at org.apache.naming.resources.WebDirContext.lookupFromJars(WebDirContext.java:332)
      	at org.apache.naming.resources.WebDirContext.getAttributes(WebDirContext.java:299)
      	at org.apache.naming.resources.BaseDirContext.getAttributes(BaseDirContext.java:787)
      	at org.apache.naming.resources.ProxyDirContext.cacheLoad(ProxyDirContext.java:1533)
      	at org.apache.naming.resources.ProxyDirContext.cacheLookup(ProxyDirContext.java:1456)
      	at org.apache.naming.resources.ProxyDirContext.lookup(ProxyDirContext.java:274)
      	at org.glassfish.web.loader.WebappClassLoader.findResourceInternalFromRepositories(WebappClassLoader.java:2803)
      	at org.glassfish.web.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:2753)
      	at org.glassfish.web.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2647)
      	at org.glassfish.web.loader.WebappClassLoader.findClass(WebappClassLoader.java:1063)
      	at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1620)
      	at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1501)
      	at jenkins.model.Jenkins.<init>(Jenkins.java:396)
      	at hudson.model.Hudson.<init>(Hudson.java:86)
      	at hudson.model.Hudson.<init>(Hudson.java:82)
      	at hudson.WebAppMain$3.run(WebAppMain.java:233)
      Caused: hudson.util.HudsonFailedToLoad
      	at hudson.WebAppMain$3.run(WebAppMain.java:250)

      I checked the logs and found that it is related to "AdjunctManager not installed for the application " error. I've attached the stacktrace.

      I checked few exiting ticket but didn't any solution for this.

      Please help me out in resolving this. Thank you!

      PS: I am running jenkins on "payara-micro"!

            thanvikaran01 Karan Thanvi
            thanvikaran01 Karan Thanvi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: