Index was outside the bounds of the array on mail merge with regions

Hi Aspose team,

sorry I’m bombarding you with new requests recently, but I’ve got another exception on MailMerge.ExecuteWithRegions method. Please find the example attached. The example itself is quite simmilar to the one I’ve added here:

https://forum.aspose.com/t/executewithregions-throwing-object-reference-not-set-to-an-instance-of-an-object-exception/187062

however, the error message here is different. Could you please check and (if possible) provide some workaround?

aspose_ArrayOutOfRange.zip (6.9 MB)

Thanks,
Mateusz

@acturisaspose

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-17823. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-16496) have been fixed in this update