We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

NullReferenceException when inserting large Html document with Mail Merge

I have a Mail Merge template in which I am attempting to do an InsertHtml of a large "blob" of HTML. I get a NullReferenceException when doing this. I have attached a sample application where this is reproduced.

If you put a try/catch around the InsertHtml and ignore the exception the document seems to render correctly. I am not sure if the problem is because there is a large amount of data or if it is because there are unprintable characters in the document. In either case this same Html renders correctly in a browser.

Please do not respond saying we just need to clean up the data because I will just respond saying that we have no control over the content. This is our customers data, or application only does a Mail Merge of that data.

Thank you.

Hi there,

Thanks for your inquiry.

I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-10114. I have linked this forum thread to the same issue and 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-10114) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.