Getting a random null reference during Document save


During Document Save we are getting an Aspose internal null object reference exception - these happens on some particular documents and at random.
Attached the exception we are getting (your code is obfuscated so we can’t make much of the stack trace - maybe you can.
Also attached a small sample of files that cause (occasionally) this exception.



Thanks for your inquiry. Have you tried the latest version of Aspose.Words for .NET i.e. 19.7 on your end? In case the problem still remains, please ZIP and upload your input Word document here for testing. We will then investigate the issue on our end and provide you more information.

P.S. You can also upload the ZIP file to Dropbox and share the Download link here for testing.

#3 (405.2 KB)
We are currently using Aspose.Words.18.10.0.



Sorry for the delayed response. We checked all your Word documents and could not reproduce this exception on our end. For example, Aspose.Words for .NET 19.7 can convert all these Word documents to PDF format successfully. We suggest you please upgrade to the latest version of Aspose.Words. Hope, this helps.