-
Bug
-
Resolution: Duplicate
-
Minor
I am getting intermittently failing maven jobs failing with an "Inflater has been closed" error.
This occurs immediately after checkout from subversion.
A typical trace is:
ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com {{[java.lang.NullPointerException|http://stacktrace.jenkins-ci.org/search?query=java.lang.NullPointerException]}} : Inflater has been closed at {{[java.util.zip.Inflater.ensureOpen(Inflater.java:389)|http://stacktrace.jenkins-ci.org/search/?query=java.util.zip.Inflater.ensureOpen&entity=method]}} at {{[java.util.zip.Inflater.inflate(Inflater.java:257)|http://stacktrace.jenkins-ci.org/search/?query=java.util.zip.Inflater.inflate&entity=method]}} at {{[java.util.zip.InflaterInputStream.read(InflaterInputStream.java:152)|http://stacktrace.jenkins-ci.org/search/?query=java.util.zip.InflaterInputStream.read&entity=method]}} at {{[java.io.FilterInputStream.read(FilterInputStream.java:107)|http://stacktrace.jenkins-ci.org/search/?query=java.io.FilterInputStream.read&entity=method]}} at {{[java.util.Properties$LineReader.readLine(Properties.java:435)|http://stacktrace.jenkins-ci.org/search/?query=java.util.Properties$LineReader.readLine&entity=method]}} at {{[java.util.Properties.load0(Properties.java:353)|http://stacktrace.jenkins-ci.org/search/?query=java.util.Properties.load0&entity=method]}} at {{[java.util.Properties.load(Properties.java:341)|http://stacktrace.jenkins-ci.org/search/?query=java.util.Properties.load&entity=method]}} at {{[hudson.maven.MavenEmbedderUtils.getMavenVersion(MavenEmbedderUtils.java:217)|http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenEmbedderUtils.getMavenVersion&entity=method]}} at {{[hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:69)|http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenVersionCallable.call&entity=method]}} at {{[hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:41)|http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenVersionCallable.call&entity=method]}} at {{[hudson.FilePath.act(FilePath.java:1084)|http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.act&entity=method]}} at {{[hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:642)|http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun&entity=method]}} at {{[hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)|http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method]}} at {{[hudson.model.Run.execute(Run.java:1735)|http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method]}} at {{[hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544)|http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.run&entity=method]}} at {{[hudson.model.ResourceController.execute(ResourceController.java:97)|http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method]}} at {{[hudson.model.Executor.run(Executor.java:405)|http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method]}} project=hudson.maven.MavenModuleSet@2c805c09[Liferay-Prereg Email Tasks - PreregPTAdmEmail LIVE] project.getModules()=[hudson.maven.MavenModule@1857417e[Liferay-Prereg Email Tasks - PreregPTAdmEmail LIVE/uk.ac.sheffield.cics.liferay:liferay-prereg-email-tasks][Liferay-Prereg Email Tasks - PreregPTAdmEmail LIVE/uk.ac.sheffield.cics.liferay:liferay-prereg-email-tasks][relativePath:]] project.getRootModule()=hudson.maven.MavenModule@1857417e[Liferay-Prereg Email Tasks - PreregPTAdmEmail LIVE/uk.ac.sheffield.cics.liferay:liferay-prereg-email-tasks][Liferay-Prereg Email Tasks - PreregPTAdmEmail LIVE/uk.ac.sheffield.cics.liferay:liferay-prereg-email-tasks][relativePath:] FATAL: Inflater has been closed {{[java.lang.NullPointerException|http://stacktrace.jenkins-ci.org/search?query=java.lang.NullPointerException]}} : Inflater has been closed at {{[java.util.zip.Inflater.ensureOpen(Inflater.java:389)|http://stacktrace.jenkins-ci.org/search/?query=java.util.zip.Inflater.ensureOpen&entity=method]}} at {{[java.util.zip.Inflater.inflate(Inflater.java:257)|http://stacktrace.jenkins-ci.org/search/?query=java.util.zip.Inflater.inflate&entity=method]}} at {{[java.util.zip.InflaterInputStream.read(InflaterInputStream.java:152)|http://stacktrace.jenkins-ci.org/search/?query=java.util.zip.InflaterInputStream.read&entity=method]}} at {{[java.io.FilterInputStream.read(FilterInputStream.java:107)|http://stacktrace.jenkins-ci.org/search/?query=java.io.FilterInputStream.read&entity=method]}} at {{[java.util.Properties$LineReader.readLine(Properties.java:435)|http://stacktrace.jenkins-ci.org/search/?query=java.util.Properties$LineReader.readLine&entity=method]}} at {{[java.util.Properties.load0(Properties.java:353)|http://stacktrace.jenkins-ci.org/search/?query=java.util.Properties.load0&entity=method]}} at {{[java.util.Properties.load(Properties.java:341)|http://stacktrace.jenkins-ci.org/search/?query=java.util.Properties.load&entity=method]}} at {{[hudson.maven.MavenEmbedderUtils.getMavenVersion(MavenEmbedderUtils.java:217)|http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenEmbedderUtils.getMavenVersion&entity=method]}} at {{[hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:69)|http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenVersionCallable.call&entity=method]}} at {{[hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:41)|http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenVersionCallable.call&entity=method]}} at {{[hudson.FilePath.act(FilePath.java:1084)|http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.act&entity=method]}} at {{[hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:642)|http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun&entity=method]}} at {{[hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)|http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method]}} at {{[hudson.model.Run.execute(Run.java:1735)|http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method]}} at {{[hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544)|http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.run&entity=method]}} at {{[hudson.model.ResourceController.execute(ResourceController.java:97)|http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method]}} at {{[hudson.model.Executor.run(Executor.java:405)|http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method]}}
- duplicates
-
JENKINS-42549 Maven version detection fails on same agent with 'java.lang.IllegalStateException: zip file closed' exception
- Resolved
-
JENKINS-47233 Maven version detection fails on same agent with 'java.lang.IllegalStateException: zip file closed' exception
- Resolved