java.lang.RuntimeException: java.util.zip.ZipException: invalid literal/length code

JIRA | Michael Stack | 10 years ago
  1. 0

    Iterating over ARCRecords, if ZipException we generally fail the ARC read when we should try to just skip to the next record (if strict parse flag is not set). Here are exceptions to fix from Brad: ia311430.us.archive.org:/1/items/FS-586980/FS-586980.arc.gz Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: invalid literal/length code at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:408) at org.archive.wayback.resourceindex.indexer.ArcIndexer.indexArc(ArcIndexer.java:124) at org.archive.wayback.resourceindex.indexer.IndexClient.main(IndexClient.java:198) Caused by: java.util.zip.ZipException: invalid literal/length code at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:140) at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:87) at java.util.zip.InflaterInputStream.skip(InflaterInputStream.java:184) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:154) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:134) at org.archive.io.arc.ARCReaderFactory$CompressedARCReader.gotoEOR(ARCReaderFactory.java:424) at org.archive.io.arc.ARCReader.cleanupCurrentRecord(ARCReader.java:325) at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:406) ... 2 more Here's a summary of the exceptions found in each. the "+++++" line separates the filename from the exception, the "----" lines separate the exception classes. I want this on my desk first thing Monday morning, so call the old lady and make sure she buys some coffee to get you thru the weekend. ; P Thanks, Brad -------------------------- ARC(FS-591213.arc.gz):retrieved ++++++++++++++++++++++++++++ Exception in thread "main" java.lang.RuntimeException: java.io.IOException: Corrupt GZIP trailer at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:408) at org.archive.wayback.resourceindex.indexer.ArcIndexer.indexArc(ArcIndexer.java:124) at org.archive.wayback.resourceindex.indexer.IndexClient.main(IndexClient.java:198) Caused by: java.io.IOException: Corrupt GZIP trailer at java.util.zip.GZIPInputStream.readTrailer(GZIPInputStream.java:175) at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:89) at java.util.zip.InflaterInputStream.skip(InflaterInputStream.java:184) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:154) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:134) at org.archive.io.arc.ARCReaderFactory$CompressedARCReader.gotoEOR(ARCReaderFactory.java:424) at org.archive.io.arc.ARCReader.cleanupCurrentRecord(ARCReader.java:325) at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:406) ... 2 more ---------------------------- ARC(FS-088773.arc.gz):retrieved ++++++++++++++++++++++++++++ Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: invalid block type at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:408) at org.archive.wayback.resourceindex.indexer.ArcIndexer.indexArc(ArcIndexer.java:124) at org.archive.wayback.resourceindex.indexer.IndexClient.main(IndexClient.java:198) Caused by: java.util.zip.ZipException: invalid block type at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:140) at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:87) at java.util.zip.InflaterInputStream.skip(InflaterInputStream.java:184) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:154) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:134) at org.archive.io.arc.ARCReaderFactory$CompressedARCReader.gotoEOR(ARCReaderFactory.java:424) at org.archive.io.arc.ARCReader.cleanupCurrentRecord(ARCReader.java:325) at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:406) ... 2 more ---------------------------- ---------------------------- ARC(FS-589004.arc.gz):retrieved ++++++++++++++++++++++++++++ Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: oversubscribed dynamic bit lengths tree at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:408) at org.archive.wayback.resourceindex.indexer.ArcIndexer.indexArc(ArcIndexer.java:124) at org.archive.wayback.resourceindex.indexer.IndexClient.main(IndexClient.java:198) Caused by: java.util.zip.ZipException: oversubscribed dynamic bit lengths tree at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:140) at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:87) at java.util.zip.InflaterInputStream.skip(InflaterInputStream.java:184) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:154) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:134) at org.archive.io.arc.ARCReaderFactory$CompressedARCReader.gotoEOR(ARCReaderFactory.java:424) at org.archive.io.arc.ARCReader.cleanupCurrentRecord(ARCReader.java:325) at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:406) ... 2 more ---------------------------- ARC(IA-001950.arc.gz):retrieved ++++++++++++++++++++++++++++ Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: too many length or distance symbols at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:408) at org.archive.wayback.resourceindex.indexer.ArcIndexer.indexArc(ArcIndexer.java:124) at org.archive.wayback.resourceindex.indexer.IndexClient.main(IndexClient.java:198) Caused by: java.util.zip.ZipException: too many length or distance symbols at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:140) at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:87) at java.util.zip.InflaterInputStream.skip(InflaterInputStream.java:184) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:154) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:134) at org.archive.io.arc.ARCReaderFactory$CompressedARCReader.gotoEOR(ARCReaderFactory.java:424) at org.archive.io.arc.ARCReader.cleanupCurrentRecord(ARCReader.java:325) at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:406) ... 2 more ---------------------------- ARC(GR-475057.arc.gz):retrieved ++++++++++++++++++++++++++++ Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: invalid distance code at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:408) at org.archive.wayback.resourceindex.indexer.ArcIndexer.indexArc(ArcIndexer.java:124) at org.archive.wayback.resourceindex.indexer.IndexClient.main(IndexClient.java:198) Caused by: java.util.zip.ZipException: invalid distance code at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:140) at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:87) at java.util.zip.InflaterInputStream.skip(InflaterInputStream.java:184) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:154) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:134) at org.archive.io.arc.ARCReaderFactory$CompressedARCReader.gotoEOR(ARCReaderFactory.java:424) at org.archive.io.arc.ARCReader.cleanupCurrentRecord(ARCReader.java:325) at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:406) ... 2 more ---------------------------- ARC(GR-480371.arc.gz):retrieved ++++++++++++++++++++++++++++ Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: invalid literal/length code at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:408) at org.archive.wayback.resourceindex.indexer.ArcIndexer.indexArc(ArcIndexer.java:124) at org.archive.wayback.resourceindex.indexer.IndexClient.main(IndexClient.java:198) Caused by: java.util.zip.ZipException: invalid literal/length code at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:140) at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:87) at java.util.zip.InflaterInputStream.skip(InflaterInputStream.java:184) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:154) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:134) at org.archive.io.arc.ARCReaderFactory$CompressedARCReader.gotoEOR(ARCReaderFactory.java:424) at org.archive.io.arc.ARCReader.cleanupCurrentRecord(ARCReader.java:325) at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:406) ... 2 more ---------------------------- ARC(GR-024211.arc.gz):retrieved ++++++++++++++++++++++++++++ Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: incomplete dynamic bit lengths tree at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:408) at org.archive.wayback.resourceindex.indexer.ArcIndexer.indexArc(ArcIndexer.java:124) at org.archive.wayback.resourceindex.indexer.IndexClient.main(IndexClient.java:198) Caused by: java.util.zip.ZipException: incomplete dynamic bit lengths tree at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:140) at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:87) at java.util.zip.InflaterInputStream.skip(InflaterInputStream.java:184) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:154) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:134) at org.archive.io.arc.ARCReaderFactory$CompressedARCReader.gotoEOR(ARCReaderFactory.java:424) at org.archive.io.arc.ARCReader.cleanupCurrentRecord(ARCReader.java:325) at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:406) ... 2 more ----------------------------

    JIRA | 10 years ago | Michael Stack
    java.lang.RuntimeException: java.util.zip.ZipException: invalid literal/length code
  2. 0

    Iterating over ARCRecords, if ZipException we generally fail the ARC read when we should try to just skip to the next record (if strict parse flag is not set). Here are exceptions to fix from Brad: ia311430.us.archive.org:/1/items/FS-586980/FS-586980.arc.gz Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: invalid literal/length code at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:408) at org.archive.wayback.resourceindex.indexer.ArcIndexer.indexArc(ArcIndexer.java:124) at org.archive.wayback.resourceindex.indexer.IndexClient.main(IndexClient.java:198) Caused by: java.util.zip.ZipException: invalid literal/length code at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:140) at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:87) at java.util.zip.InflaterInputStream.skip(InflaterInputStream.java:184) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:154) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:134) at org.archive.io.arc.ARCReaderFactory$CompressedARCReader.gotoEOR(ARCReaderFactory.java:424) at org.archive.io.arc.ARCReader.cleanupCurrentRecord(ARCReader.java:325) at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:406) ... 2 more Here's a summary of the exceptions found in each. the "+++++" line separates the filename from the exception, the "----" lines separate the exception classes. I want this on my desk first thing Monday morning, so call the old lady and make sure she buys some coffee to get you thru the weekend. ; P Thanks, Brad -------------------------- ARC(FS-591213.arc.gz):retrieved ++++++++++++++++++++++++++++ Exception in thread "main" java.lang.RuntimeException: java.io.IOException: Corrupt GZIP trailer at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:408) at org.archive.wayback.resourceindex.indexer.ArcIndexer.indexArc(ArcIndexer.java:124) at org.archive.wayback.resourceindex.indexer.IndexClient.main(IndexClient.java:198) Caused by: java.io.IOException: Corrupt GZIP trailer at java.util.zip.GZIPInputStream.readTrailer(GZIPInputStream.java:175) at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:89) at java.util.zip.InflaterInputStream.skip(InflaterInputStream.java:184) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:154) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:134) at org.archive.io.arc.ARCReaderFactory$CompressedARCReader.gotoEOR(ARCReaderFactory.java:424) at org.archive.io.arc.ARCReader.cleanupCurrentRecord(ARCReader.java:325) at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:406) ... 2 more ---------------------------- ARC(FS-088773.arc.gz):retrieved ++++++++++++++++++++++++++++ Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: invalid block type at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:408) at org.archive.wayback.resourceindex.indexer.ArcIndexer.indexArc(ArcIndexer.java:124) at org.archive.wayback.resourceindex.indexer.IndexClient.main(IndexClient.java:198) Caused by: java.util.zip.ZipException: invalid block type at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:140) at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:87) at java.util.zip.InflaterInputStream.skip(InflaterInputStream.java:184) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:154) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:134) at org.archive.io.arc.ARCReaderFactory$CompressedARCReader.gotoEOR(ARCReaderFactory.java:424) at org.archive.io.arc.ARCReader.cleanupCurrentRecord(ARCReader.java:325) at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:406) ... 2 more ---------------------------- ---------------------------- ARC(FS-589004.arc.gz):retrieved ++++++++++++++++++++++++++++ Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: oversubscribed dynamic bit lengths tree at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:408) at org.archive.wayback.resourceindex.indexer.ArcIndexer.indexArc(ArcIndexer.java:124) at org.archive.wayback.resourceindex.indexer.IndexClient.main(IndexClient.java:198) Caused by: java.util.zip.ZipException: oversubscribed dynamic bit lengths tree at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:140) at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:87) at java.util.zip.InflaterInputStream.skip(InflaterInputStream.java:184) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:154) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:134) at org.archive.io.arc.ARCReaderFactory$CompressedARCReader.gotoEOR(ARCReaderFactory.java:424) at org.archive.io.arc.ARCReader.cleanupCurrentRecord(ARCReader.java:325) at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:406) ... 2 more ---------------------------- ARC(IA-001950.arc.gz):retrieved ++++++++++++++++++++++++++++ Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: too many length or distance symbols at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:408) at org.archive.wayback.resourceindex.indexer.ArcIndexer.indexArc(ArcIndexer.java:124) at org.archive.wayback.resourceindex.indexer.IndexClient.main(IndexClient.java:198) Caused by: java.util.zip.ZipException: too many length or distance symbols at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:140) at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:87) at java.util.zip.InflaterInputStream.skip(InflaterInputStream.java:184) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:154) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:134) at org.archive.io.arc.ARCReaderFactory$CompressedARCReader.gotoEOR(ARCReaderFactory.java:424) at org.archive.io.arc.ARCReader.cleanupCurrentRecord(ARCReader.java:325) at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:406) ... 2 more ---------------------------- ARC(GR-475057.arc.gz):retrieved ++++++++++++++++++++++++++++ Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: invalid distance code at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:408) at org.archive.wayback.resourceindex.indexer.ArcIndexer.indexArc(ArcIndexer.java:124) at org.archive.wayback.resourceindex.indexer.IndexClient.main(IndexClient.java:198) Caused by: java.util.zip.ZipException: invalid distance code at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:140) at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:87) at java.util.zip.InflaterInputStream.skip(InflaterInputStream.java:184) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:154) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:134) at org.archive.io.arc.ARCReaderFactory$CompressedARCReader.gotoEOR(ARCReaderFactory.java:424) at org.archive.io.arc.ARCReader.cleanupCurrentRecord(ARCReader.java:325) at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:406) ... 2 more ---------------------------- ARC(GR-480371.arc.gz):retrieved ++++++++++++++++++++++++++++ Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: invalid literal/length code at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:408) at org.archive.wayback.resourceindex.indexer.ArcIndexer.indexArc(ArcIndexer.java:124) at org.archive.wayback.resourceindex.indexer.IndexClient.main(IndexClient.java:198) Caused by: java.util.zip.ZipException: invalid literal/length code at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:140) at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:87) at java.util.zip.InflaterInputStream.skip(InflaterInputStream.java:184) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:154) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:134) at org.archive.io.arc.ARCReaderFactory$CompressedARCReader.gotoEOR(ARCReaderFactory.java:424) at org.archive.io.arc.ARCReader.cleanupCurrentRecord(ARCReader.java:325) at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:406) ... 2 more ---------------------------- ARC(GR-024211.arc.gz):retrieved ++++++++++++++++++++++++++++ Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: incomplete dynamic bit lengths tree at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:408) at org.archive.wayback.resourceindex.indexer.ArcIndexer.indexArc(ArcIndexer.java:124) at org.archive.wayback.resourceindex.indexer.IndexClient.main(IndexClient.java:198) Caused by: java.util.zip.ZipException: incomplete dynamic bit lengths tree at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:140) at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:87) at java.util.zip.InflaterInputStream.skip(InflaterInputStream.java:184) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:154) at org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:134) at org.archive.io.arc.ARCReaderFactory$CompressedARCReader.gotoEOR(ARCReaderFactory.java:424) at org.archive.io.arc.ARCReader.cleanupCurrentRecord(ARCReader.java:325) at org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:406) ... 2 more ----------------------------

    JIRA | 10 years ago | Michael Stack
    java.lang.RuntimeException: java.util.zip.ZipException: invalid literal/length code
  3. 0

    Error deploying Axis2 web service created by Maven (Ant, Maven and Build Tools forum at JavaRanch)

    coderanch.com | 1 year ago
    org.apache.axis2.AxisFault: java.util.zip.ZipException: invalid literal/length code
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem installing OpenBravo 2.31 beta

    openbravo | 9 years ago | omondi
    java.util.zip.ZipException: invalid literal/length code
  6. 0

    My Jacoco code coverage job started failing with this exception: ERROR: Publisher hudson.plugins.jacoco.JacocoPublisher aborted due to exception java.util.zip.ZipException: invalid literal/length code at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164) at java.util.zip.ZipInputStream.read(ZipInputStream.java:193) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read(BufferedInputStream.java:254) at org.jacoco.core.internal.analysis.ContentTypeDetector.readInt(ContentTypeDetector.java:81) at org.jacoco.core.internal.analysis.ContentTypeDetector.determineType(ContentTypeDetector.java:61) at org.jacoco.core.internal.analysis.ContentTypeDetector.<init>(ContentTypeDetector.java:56) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:152) at org.jacoco.core.analysis.Analyzer.analyzeArchive(Analyzer.java:135) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:158) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:183) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:178) at hudson.plugins.jacoco.ExecutionFileLoader.analyzeStructure(ExecutionFileLoader.java:110) at hudson.plugins.jacoco.ExecutionFileLoader.loadBundleCoverage(ExecutionFileLoader.java:116) at hudson.plugins.jacoco.JacocoBuildAction.getJacocoReports(JacocoBuildAction.java:236) at hudson.plugins.jacoco.JacocoBuildAction.loadRatios(JacocoBuildAction.java:319) at hudson.plugins.jacoco.JacocoBuildAction.load(JacocoBuildAction.java:300) at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:214) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685) at hudson.model.Run.execute(Run.java:1757) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:234) This fails the job and there is no coverage report. I don't know exactly what causes it but the problem reproduces every build. It may be related to the fact that the project has grown over time and it contains big resource files.

    Jenkins JIRA | 2 years ago | Arie Zilberstein
    java.util.zip.ZipException: invalid literal/length code

    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

      invalid literal/length code

      at java.util.zip.InflaterInputStream.read()
    2. Java RT
      InflaterInputStream.skip
      1. java.util.zip.InflaterInputStream.read(InflaterInputStream.java:140)
      2. java.util.zip.GZIPInputStream.read(GZIPInputStream.java:87)
      3. java.util.zip.InflaterInputStream.skip(InflaterInputStream.java:184)
      3 frames
    3. webarchive-commons
      ARCReader$ARCRecordIterator.hasNext
      1. org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:154)
      2. org.archive.io.GzippedInputStream.gotoEOR(GzippedInputStream.java:134)
      3. org.archive.io.arc.ARCReaderFactory$CompressedARCReader.gotoEOR(ARCReaderFactory.java:424)
      4. org.archive.io.arc.ARCReader.cleanupCurrentRecord(ARCReader.java:325)
      5. org.archive.io.arc.ARCReader$ARCRecordIterator.hasNext(ARCReader.java:406)
      5 frames
    4. org.archive.wayback
      IndexClient.main
      1. org.archive.wayback.resourceindex.indexer.ArcIndexer.indexArc(ArcIndexer.java:124)
      2. org.archive.wayback.resourceindex.indexer.IndexClient.main(IndexClient.java:198)
      2 frames