java.io.IOException: Bad file descriptor

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Trying to use PDFMerger on 1.1.0
    via by Ken Bowen,
  • Trying to use PDFMerger on 1.1.0
    via by Ken Bowen,
  • [jira] Created: (PDFBOX-397) merge dont work
    via by David KELLER (JIRA),
  • Type1C font Error
    via by Yogesh,
  • Re: Type1C font Error
    via by Hesham G.,
  • Re: Type1C font Error
    via by Yogesh,
  • Type1C font Error
    via by Yogesh,
  • Re: Type1C font Error
    via by Yogesh,
  • Re: Type1C font Error
    via by Hesham G.,
  • Type1C font Error
    via by Yogesh,
    • java.io.IOException: Bad file descriptor at java.io.RandomAccessFile.seek(Native Method) at org.apache.pdfbox.io.RandomAccessFile.seek(RandomAccessFile.java:59) at org.apache.pdfbox.io.RandomAccessFileInputStream.read(RandomAccessFileInputStream.java:96) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read1(BufferedInputStream.java:258) at java.io.BufferedInputStream.read(BufferedInputStream.java:317) at org.apache.pdfbox.pdfwriter.COSWriter.visitFromStream(COSWriter.java:925) at org.apache.pdfbox.cos.COSStream.accept(COSStream.java:201) at org.apache.pdfbox.cos.COSObject.accept(COSObject.java:206) at org.apache.pdfbox.pdfwriter.COSWriter.doWriteObject(COSWriter.java:430) at org.apache.pdfbox.pdfwriter.COSWriter.doWriteBody(COSWriter.java:361) at org.apache.pdfbox.pdfwriter.COSWriter.visitFromDocument(COSWriter.java:767) at org.apache.pdfbox.cos.COSDocument.accept(COSDocument.java:372) at org.apache.pdfbox.pdfwriter.COSWriter.write(COSWriter.java:1082) at org.apache.pdfbox.pdmodel.PDDocument.save(PDDocument.java:899) at org.apache.pdfbox.pdmodel.PDDocument.save(PDDocument.java:880) at org.apache.pdfbox.util.PDFMergerUtility.mergeDocuments(PDFMergerUtility.java:144) at org.apache.pdfbox.PDFMerger.merge(PDFMerger.java:68) at org.apache.pdfbox.PDFMerger.main(PDFMerger.java:44)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    VeryRedChris
    VeryRedChris12 times, last one,
    Akshay
    Akshay175 times, last one,
    8 more bugmates