FlowMatrix Admin Panel -- Job Error -- failed to split on page successfully. - Cannot create a file when that file already exists for technicians only
Scenario:
We either get copied into the following notification or the following notification is spotted:
Subject: FlowMatrix Job Processing Error Notification. Job#1495840 failed to split on page successfully. - Cannot create a file when that file already exists.
An error occurred whilst propagating job id #1495840 within action chain [split_document] on action [splitTIFF_On_SplitterPage]. This job will now be suspended. PaperRiver.Job.API.JobProcessingException: failed to split on page successfully.
---> System.IO.IOException: Cannot create a file when that file already exists. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileInfo.MoveTo(String destFileName) at PaperRiver.Workflow.Barcodes.ZXingBarcodeService.executeSplitAndExtract(XmlNode
config, IJob job) in
...
Quick Action:/Action:
Go to the Admin panel "Jobs" section and carry out the following:
- Open the job's workspace
- delete all files in the TEMP folder location; not to worry about them they are only TEMP before the job errored.
- delete the .tif files (namely image_<ID>.tif) files and anything that does not match the original .tif file guid. This should be fine as they
are split jobs from the original and will generate again on resuming the job.
- close the workspace and resume so it can carry on processing.