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

pdfbox-users | Agustin Rios | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    IndexOutOfBoundsException

    pdfbox-users | 3 years ago | Agustin Rios
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  2. 0

    IndexOutOfBoundsException

    pdfbox-users | 3 years ago | Agustin Rios
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

    Root Cause Analysis

    1. java.lang.IndexOutOfBoundsException

      Index: 0, Size: 0

      at org.apache.pdfbox.pdfwriter.COSWriter.visitFromStream()
    2. Apache PDFBox
      PDDocument.save
      1. org.apache.pdfbox.pdfwriter.COSWriter.visitFromStream(COSWriter.java:1245)
      2. org.apache.pdfbox.cos.COSStream.accept(COSStream.java:201)
      3. org.apache.pdfbox.cos.COSObject.accept(COSObject.java:206)
      4. org.apache.pdfbox.pdfwriter.COSWriter.doWriteObject(COSWriter.java:524)
      5. org.apache.pdfbox.pdfwriter.COSWriter.doWriteBody(COSWriter.java:434)
      6. org.apache.pdfbox.pdfwriter.COSWriter.visitFromDocument(COSWriter.java:1056)
      7. org.apache.pdfbox.cos.COSDocument.accept(COSDocument.java:496)
      8. org.apache.pdfbox.pdfwriter.COSWriter.write(COSWriter.java:1392)
      9. org.apache.pdfbox.pdmodel.PDDocument.save(PDDocument.java:1157)
      9 frames