I’m facing “java.lang.RuntimeException: The document is not open.” exception when using ConcatenateEForms activity to merge multiple PDF’s. The concatenation fails when this exception occurs. Have attached the complete exception in attachments for reference.
Can someone please explain the root cause of this exception and what is the fix.
Thank you in advance and looking forward to resolve this issue.
Sorry, I cannot share the java code here.
Please check with the Pega Support team and ask them to provide the fix which has Java code which uses iText instead of PDFBox for ConcatenateEForms activity.
You can also refer the incident number INC-236619 to them for providing the solution.