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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via sourceforge.net by Unknown author, 1 year ago
java.util.zip.DataFormatException: invalid distance too far back
via biostars.org by Unknown author, 1 year ago
java.util.zip.DataFormatException: invalid stored block lengths
java.lang.RuntimeException: java.util.zip.DataFormatException: invalid distance too far back
at java.util.zip.Inflater.inflateBytes(Native Method)
at java.util.zip.Inflater.inflate(Inflater.java:255)
at net.sf.samtools.util.BlockGunzipper.unzipBlock(BlockGunzipper.java:96)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
9 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.