java.lang.RuntimeException: 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 by Unknown author, 1 year ago invalid distance too far back
via by Unknown author, 1 year ago invalid stored block lengths
java.lang.RuntimeException: invalid distance too far back
at net.sf.samtools.util.BlockGunzipper.unzipBlock(
at net.sf.samtools.util.BlockCompressedInputStream.inflateBlock(
at net.sf.samtools.util.BlockCompressedInputStream.readBlock(
at net.sf.samtools.util.BlockCompressedInputStream.available(
at net.sf.samtools.util.BinaryCodec.readBytesOrFewer(
at net.sf.samtools.util.BinaryCodec.readBytes(
at net.sf.samtools.util.BinaryCodec.readByteBuffer(
at net.sf.samtools.util.BinaryCodec.readInt(
at net.sf.samtools.BAMRecordCodec.decode(
at net.sf.samtools.BAMFileReader$BAMFileIterator.getNextRecord(
at net.sf.samtools.BAMFileReader$BAMFileIterator.advance(
at net.sf.samtools.BAMFileReader$
at net.sf.samtools.BAMFileReader$
at net.sf.samtools.SAMFileReader$
at net.sf.samtools.SAMFileReader$
at net.sf.picard.sam.AddOrReplaceReadGroups.doWork(
at net.sf.picard.cmdline.CommandLineProgram.instanceMain(
at net.sf.picard.cmdline.CommandLineProgram.instanceMainWithExit(
at net.sf.picard.sam.AddOrReplaceReadGroups.main(

Users with the same issue

You are the first who have seen this exception.

Write tip

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