DocumentBuilder Exception

Hi,

This system has been running without any issues for years.
Lately however, we keep getting an exception. Please see below lines generated by the log.

System.ArgumentNullException: Value cannot be null. Parameter name: text
at Aspose.Words.DocumentBuilder.xf69e3cf19f0625a0(String xb41faee6912a2313, Boolean x567002813fadecac)

The system is building a document here but keeps failing. This used to work flawless but does not any more. The in parameters to the DocumentBuilder are untouched and the same as before.

  • We have made no changes in the code what so ever.
  • The Aspose license is valid.
  • Cannot reproduce this in development environment. Only happens in production.

Aspose.Words version: 9.5.0.0
Language: C# (3.5)

Any ideas how to troubleshoot this would be greatly appreciated.

@Chrispy,

The exception may be occurring because you are using a very old 9.5.0 version of Aspose.Words for .NET API. We suggest you to please upgrade to the latest 21.3 version of Aspose.Words for .NET and see how it goes on your end? In case the problem still remains, then please provide a standalone simple Console Application (source code without compilation errors) that helps us to reproduce this exception on our end and attach it here for testing. Please do not include Aspose.Words DLL files in it to reduce the file size. We will then start further investigation into your issue and provide you more information.