com.itextpdf.kernel.PdfException: pdf.inderect.object.belong.to.other.pdf.document.Copy.object.to.current.pdf.document

Stack Overflow | VincentGeng | 5 months 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

    iText 7 itextpdf.kernel.PdfException

    Stack Overflow | 5 months ago | VincentGeng
    com.itextpdf.kernel.PdfException: pdf.inderect.object.belong.to.other.pdf.document.Copy.object.to.current.pdf.document
  2. 0

    Create new pdf in loop with iText Java

    Stack Overflow | 3 months ago | mike_x_
    com.itextpdf.kernel.PdfException: Pdf indirect object belongs to other PDF document. Copy object to current pdf document.
  3. 0

    iText 7: PdfDictionary released prematurely

    Stack Overflow | 5 months ago | Smitherson
    com.itextpdf.kernel.PdfException: Tag structure flushing failed: it might be corrupted.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.itextpdf.kernel.PdfException

      pdf.inderect.object.belong.to.other.pdf.document.Copy.object.to.current.pdf.document

      at com.itextpdf.kernel.pdf.PdfOutputStream.write()
    2. com.itextpdf.kernel
      PdfDocument.close
      1. com.itextpdf.kernel.pdf.PdfOutputStream.write(PdfOutputStream.java:184)
      2. com.itextpdf.kernel.pdf.PdfOutputStream.write(PdfOutputStream.java:174)
      3. com.itextpdf.kernel.pdf.PdfOutputStream.write(PdfOutputStream.java:104)
      4. com.itextpdf.kernel.pdf.PdfOutputStream.write(PdfOutputStream.java:176)
      5. com.itextpdf.kernel.pdf.PdfOutputStream.write(PdfOutputStream.java:104)
      6. com.itextpdf.kernel.pdf.PdfOutputStream.write(PdfOutputStream.java:176)
      7. com.itextpdf.kernel.pdf.PdfOutputStream.write(PdfOutputStream.java:104)
      8. com.itextpdf.kernel.pdf.PdfWriter.writeToBody(PdfWriter.java:315)
      9. com.itextpdf.kernel.pdf.PdfWriter.flushObject(PdfWriter.java:232)
      10. com.itextpdf.kernel.pdf.PdfDocument.flushObject(PdfDocument.java:1257)
      11. com.itextpdf.kernel.pdf.PdfObject.flush(PdfObject.java:147)
      12. com.itextpdf.kernel.pdf.PdfObject.flush(PdfObject.java:124)
      13. com.itextpdf.kernel.pdf.PdfObjectWrapper.flush(PdfObjectWrapper.java:97)
      14. com.itextpdf.kernel.pdf.PdfPage.flush(PdfPage.java:410)
      15. com.itextpdf.kernel.pdf.PdfPage.flush(PdfPage.java:367)
      16. com.itextpdf.kernel.pdf.PdfDocument.close(PdfDocument.java:720)
      16 frames
    3. com.itextpdf.layout
      Document.close
      1. com.itextpdf.layout.Document.close(Document.java:115)
      1 frame