Call AddParagraph() will enter into "Index was outside the bounds of the array."

Hi,
I have struggled this issue for several days and I cannot find the root cause so please give your support.
My project uses aspose.pdf V10.5, which was versioned about in 2015. We used aspose.pdf dll based on C#, .Net4.0 profile.
In my code, I read datas from sql server compact and write them to pdf format. basically, this pdf dll was running well. but for some case, Add AddParagraph() will enter into “Index was outside the bounds of the array.”
At this situation, the pdf cannot be openned, I use txt tool to analyze the pdf format, I find pdf file ends without my expectation.
Do I need to paste code here? Or some other information you needed to help me.

Thanks in advance.

Best Regards,
Hao

@hqiu

You are using obsolete version of Aspose.PDF for .NET API and support is provided on the basis of latest version. We log and resolve an issue if it exists in latest version of the API. So we need your source PDF file and sample application to reproduce the same exception on our end.