net.sf.samtools.util.RuntimeIOException: Write error; BinaryCodec in writemode; file: stdout

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
Write error; BinaryCodec in writemode; file: stdout
via seqanswers.com by Unknown author, 1 year ago
Write error; BinaryCodec in writemode; streamed file (filename not available)
via biosupport.se by Unknown author, 7 months ago
Write error; BinaryCodec in writemode; streamed file (filename not available)
via Google Groups by Hong Hur, 5 months ago
Write error; BinaryCodec in writemode; streamed file (filename not available)
net.sf.samtools.util.RuntimeIOException: Write error; BinaryCodec in writemode; file: stdout
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:297)
at net.sf.samtools.util.BinaryCodec.writeBytes(BinaryCodec.java:197)
at net.sf.samtools.util.BinaryCodec.writeByteBuffer(BinaryCodec.java:165)
at net.sf.samtools.util.BinaryCodec.writeByte(BinaryCodec.java:176)
at net.sf.samtools.util.BlockCompressedOutputStream.writeGzipBlock(BlockCompressedOutputStream.java:262)
at net.sf.samtools.util.BlockCompressedOutputStream.deflateBlock(BlockCompressedOutputStream.java:239)
at net.sf.samtools.util.BlockCompressedOutputStream.write(BlockCompressedOutputStream.java:146)
at java.io.DataOutputStream.write(DataOutputStream.java:107)
at net.sf.samtools.util.BinaryCodec.writeBytes(BinaryCodec.java:197)
at net.sf.samtools.util.BinaryCodec.writeBytes(BinaryCodec.java:189)
at net.sf.samtools.BAMRecordCodec.encode(BAMRecordCodec.java:120)
at net.sf.samtools.BAMFileWriter.writeAlignment(BAMFileWriter.java:101)
at net.sf.samtools.SAMFileWriterImpl.addAlignment(SAMFileWriterImpl.java:155)
at net.sf.picard.sam.MarkDuplicates.doWork(MarkDuplicates.java:177)
at net.sf.picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:150)
at net.sf.picard.sam.MarkDuplicates.main(MarkDuplicates.java:93)

Users with the same issue

Once, 5 days ago
Samebug visitor profile picture
Unknown user
Once, 7 months ago
8 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
37 more bugmates

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