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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by VincentGeng
, 1 year ago
pdf.inderect.object.belong.to.other.pdf.document.Copy.object.to.current.pdf.document
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(PdfOutputStream.java:184)
at com.itextpdf.kernel.pdf.PdfOutputStream.write(PdfOutputStream.java:174)
at com.itextpdf.kernel.pdf.PdfOutputStream.write(PdfOutputStream.java:104)
at com.itextpdf.kernel.pdf.PdfOutputStream.write(PdfOutputStream.java:176)
at com.itextpdf.kernel.pdf.PdfOutputStream.write(PdfOutputStream.java:104)
at com.itextpdf.kernel.pdf.PdfOutputStream.write(PdfOutputStream.java:176)
at com.itextpdf.kernel.pdf.PdfOutputStream.write(PdfOutputStream.java:104)
at com.itextpdf.kernel.pdf.PdfWriter.writeToBody(PdfWriter.java:315)
at com.itextpdf.kernel.pdf.PdfWriter.flushObject(PdfWriter.java:232)
at com.itextpdf.kernel.pdf.PdfDocument.flushObject(PdfDocument.java:1257)
at com.itextpdf.kernel.pdf.PdfObject.flush(PdfObject.java:147)
at com.itextpdf.kernel.pdf.PdfObject.flush(PdfObject.java:124)
at com.itextpdf.kernel.pdf.PdfObjectWrapper.flush(PdfObjectWrapper.java:97)
at com.itextpdf.kernel.pdf.PdfPage.flush(PdfPage.java:410)
at com.itextpdf.kernel.pdf.PdfPage.flush(PdfPage.java:367)
at com.itextpdf.kernel.pdf.PdfDocument.close(PdfDocument.java:720)
at com.itextpdf.layout.Document.close(Document.java:115)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.