java.util.zip.ZipException: invalid distance code

GitHub | ianmilligan1 | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java.util.zip.ZipException: invalid stored block lengths [Archiv] - mrunix.de

    mrunix.de | 2 years ago
    java.util.zip.ZipException: invalid stored block lengths at java.util.zip.InflaterInputStream.read(InflaterInp utStream.java:140) at java.util.zip.GZIPInputStream.read(GZIPInputStream .java:87) at java.io.FilterInputStream.read(FilterInputStream.j ava:90) at com.wincornixdorf.filetransfer.sfr.jobs.DataFileRe ceiver.checkParams(Unknown Source) at com.wincornixdorf.filetransfer.sfr.jobs.DataFileRe ceiver.processFile(Unknown Source) at com.wincornixdorf.filetransfer.sfr.servlet.Receive r.doPost(Unknown Source) at com.wincornixdorf.filetransfer.sfr.servlet.Receive r.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet .java:802) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyo teHandler.java:199) at org.apache.jk.common.HandlerRequest.invoke(Handler Request.java:282) at org.apache.jk.common.ChannelSocket.invoke(ChannelS ocket.java:754) at org.apache.jk.common.ChannelSocket.processConnecti on(ChannelSocket.java:684) at org.apache.jk.common.ChannelSocket$SocketConnectio n.runIt(ChannelSocket.java:876) at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
  2. 0

    Installer throws ZipException and tar.gz has bad Zipfile

    Netbeans Bugzilla | 1 decade ago | dingodave
    java.util.zip.ZipException: incorrect data check at com.installshield.archive.index.ISInflaterInputStream.read(CompressedURLConnection.java:147) at java.io.FilterInputStream.read(FilterInputStream.java:90) at com.installshield.product.actions.Files.copy(Files.java:700) at com.installshield.product.actions.Files.copyFileWithFileService(Files.java:737) at com.installshield.product.actions.Files.install(Files.java:378) at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(PureJavaProductServiceImpl.java:1868) at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(PureJavaProductServiceImpl.java:4649) at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(InstallableObjectVisitor.java:365) at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(InstallableObjectVisitor.java:325) at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(InstallableObjectVisitor.java:135) at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(PureJavaProductServiceImpl.java:4276) at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(PureJavaProductServiceImpl.java:3652) at com.installshield.wizard.service.AsynchronousOperation.run(AsynchronousOperation.java:40)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.util.zip.ZipException

      invalid distance code

      at org.archive.util.zip.OpenJDK7InflaterInputStream.read()
    2. webarchive-commons
      ArchiveRecord.read
      1. org.archive.util.zip.OpenJDK7InflaterInputStream.read(OpenJDK7InflaterInputStream.java:168)
      2. org.archive.util.zip.OpenJDK7GZIPInputStream.read(OpenJDK7GZIPInputStream.java:122)
      3. org.archive.util.zip.GZIPMembersInputStream.read(GZIPMembersInputStream.java:113)
      4. org.archive.io.ArchiveRecord.read(ArchiveRecord.java:204)
      4 frames
    3. Java RT
      InputStream.read
      1. java.io.InputStream.read(InputStream.java:101)
      1 frame
    4. org.warcbase.data
      WarcRecordUtils.getContent
      1. org.warcbase.data.WarcRecordUtils.copyStream(WarcRecordUtils.java:133)
      2. org.warcbase.data.WarcRecordUtils.getContent(WarcRecordUtils.java:103)
      2 frames
    5. org.warcbase.spark
      RecordLoader$$anonfun$loadArchives$2.apply
      1. org.warcbase.spark.archive.io.GenericArchiveRecord.<init>(GenericArchiveRecord.scala:48)
      2. org.warcbase.spark.matchbox.RecordLoader$$anonfun$loadArchives$2.apply(RecordLoader.scala:45)
      3. org.warcbase.spark.matchbox.RecordLoader$$anonfun$loadArchives$2.apply(RecordLoader.scala:45)
      3 frames
    6. Scala
      Iterator$$anon$11.hasNext
      1. scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
      2. scala.collection.Iterator$$anon$14.hasNext(Iterator.scala:389)
      3. scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:327)
      4. scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:327)
      4 frames
    7. Spark
      Executor$TaskRunner.run
      1. org.apache.spark.util.collection.ExternalSorter.insertAll(ExternalSorter.scala:189)
      2. org.apache.spark.shuffle.sort.SortShuffleWriter.write(SortShuffleWriter.scala:64)
      3. org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:73)
      4. org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:41)
      5. org.apache.spark.scheduler.Task.run(Task.scala:89)
      6. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)
      6 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames