java.lang.RuntimeException

java.util.zip.DataFormatException: invalid distance too far back

Solutions on the web2513

  • via sourceforge.net by Unknown author, 11 months ago
    java.util.zip.DataFormatException: invalid distance too far back
  • via Stack Overflow by Somto Emmanuel
    , 6 months ago
    java.util.zip.ZipException: invalid distance too far back
  • via biostars.org by Unknown author, 10 months ago
    java.util.zip.DataFormatException: invalid stored block lengths
  • Stack trace

    • java.lang.RuntimeException: java.util.zip.DataFormatException: invalid distance too far back at net.sf.samtools.util.BlockGunzipper.unzipBlock(BlockGunzipper.java:112) at net.sf.samtools.util.BlockCompressedInputStream.inflateBlock(BlockCompressedInputStream.java:320) at net.sf.samtools.util.BlockCompressedInputStream.readBlock(BlockCompressedInputStream.java:302) at net.sf.samtools.util.BlockCompressedInputStream.available(BlockCompressedInputStream.java:106) at net.sf.samtools.util.BlockCompressedInputStream.read(BlockCompressedInputStream.java:175) at java.io.DataInputStream.read(DataInputStream.java:149) at net.sf.samtools.util.BinaryCodec.readBytesOrFewer(BinaryCodec.java:394) at net.sf.samtools.util.BinaryCodec.readBytes(BinaryCodec.java:371) at net.sf.samtools.util.BinaryCodec.readByteBuffer(BinaryCodec.java:480) at net.sf.samtools.util.BinaryCodec.readInt(BinaryCodec.java:491) at net.sf.samtools.BAMRecordCodec.decode(BAMRecordCodec.java:159) at net.sf.samtools.BAMFileReader$BAMFileIterator.getNextRecord(BAMFileReader.java:486) at net.sf.samtools.BAMFileReader$BAMFileIterator.advance(BAMFileReader.java:460) at net.sf.samtools.BAMFileReader$BAMFileIterator.next(BAMFileReader.java:450) at net.sf.samtools.BAMFileReader$BAMFileIterator.next(BAMFileReader.java:417) at net.sf.samtools.SAMFileReader$AssertableIterator.next(SAMFileReader.java:629) at net.sf.samtools.SAMFileReader$AssertableIterator.next(SAMFileReader.java:607) at net.sf.picard.sam.AddOrReplaceReadGroups.doWork(AddOrReplaceReadGroups.java:91) at net.sf.picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:169) at net.sf.picard.cmdline.CommandLineProgram.instanceMainWithExit(CommandLineProgram.java:119) at net.sf.picard.sam.AddOrReplaceReadGroups.main(AddOrReplaceReadGroups.java:61)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.