java.io.IOException

Bad file descriptor

Solutions on the web8449

  • via Coderanch by David Law, 11 months ago
    Bad file descriptor
  • via Coderanch by Arto Pastinen, 11 months ago
    Bad file descriptor
  • via Coderanch by Amirr Rafique, 8 months ago
    Bad file descriptor
  • Stack trace

    • 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)

    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

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    12 times, 8 months ago
    175 times, 10 months ago
    8 more bugmates