Title: Message
Hi,
 
We have observed that if the contents passed to the iText tool for PDFGeneration exceeds around 500 pages then the following error is thrown:
 
ExceptionConverter: java.io.IOException: The document has no pages.
        at com.lowagie.text.pdf.PdfPages.writePageTree(Unknown Source)
        at com.lowagie.text.pdf.PdfWriter.close(Unknown Source)
        at com.lowagie.text.pdf.PdfDocument.close(Unknown Source)
        at com.lowagie.text.Document.close(Unknown Source)
 
We are trying to a add "Table" object in the PDF document with dynamic number of rows. If the dynamic number of rows are huge then the performance is severely affected and finally "IOException" is thrown.
 
Can anybody suggest any solution for this exception ? Apart from this issue, what steps / configurations can be added so as to improve the PDF generation time of iText ?
 
Thanks and Regards,
Rahul Sudame.
This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. Any unauthorised review, use, disclosure, 
dissemination, forwarding, printing or copying of this email or any action taken in 
reliance on this e-mail is strictly prohibited and may be unlawful.
Visit us at http://www.cognizant.com

Reply via email to