org.apache.pdfbox.exceptions.COSVisitorException

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

Solutions on the web5

  • java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  • via Apache's JIRA Issue Tracker by James Green, 11 months ago
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  • via Apache's JIRA Issue Tracker by James Green, 1 year ago
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  • Stack trace

    • org.apache.pdfbox.exceptions.COSVisitorException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at org.apache.pdfbox.pdfwriter.COSWriter.visitFromStream(COSWriter.java:1354) at org.apache.pdfbox.cos.COSStream.accept(COSStream.java:217) at org.apache.pdfbox.cos.COSObject.accept(COSObject.java:206) at org.apache.pdfbox.pdfwriter.COSWriter.doWriteObject(COSWriter.java:525) at org.apache.pdfbox.pdfwriter.COSWriter.doWriteBody(COSWriter.java:435) at org.apache.pdfbox.pdfwriter.COSWriter.visitFromDocument(COSWriter.java:1122) at org.apache.pdfbox.cos.COSDocument.accept(COSDocument.java:552) at org.apache.pdfbox.pdfwriter.COSWriter.write(COSWriter.java:1501) at org.apache.pdfbox.pdmodel.PDDocument.save(PDDocument.java:1324)

    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, 11 months ago