I am merging a series of PDFs two at a time. In order to do that I take the two that I am interested in merging and move them to a folder to do the merge. Every once in a while the error below gets thrown. I can sometimes work around this error by queueing less files (~20) or restarting the flow. But because I have thousands of files to merge, doing it 20 at a time would be a hand full.
Any help here would be greatly appreciated.
Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Failed to merge PDF files: 'C:\Users\IG-LabOpenTrons\Desktop\merge pdf test\files to combine\order272655.pdf', 'C:\Users\IG-LabOpenTrons\Desktop\merge pdf test\files to combine\order272655_req.pdf' ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Flow.RPA.Desktop.Modules.PDF.Actions.PDFium.PDFium.FPDF_SaveAsCopy(IntPtr doc, FPDF_FILEWRITE writer, Int32 flags)
at Microsoft.Flow.RPA.Desktop.Modules.PDF.Actions.MergePDFFilesAction.Execute(ActionContext context)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.PDF.Actions.MergePDFFilesAction.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)