I have a customer using an integration that uses PDFExporter for some of its operations.
Occasionally when running a process that attempts to use the ExportPages method, it returns a message that the document has no pages, even though I can go look at the document and confirm that it does have pages.
the message returned when calling ExportPages is:
Invoke of: ExportPages Source: itextsharp Description: The document has no pages.
The error seems pretty sporadic and infrequent.
I have not been able to track down any consistency to the error occuring.