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

Free Support Forum - aspose.com

Convert Word DOCX to TIFF (C# .NET) | Avoid Object Reference not set to an Instance of an Object

When trying to convert a .docx to tiff, I’m getting the following error:
Object reference not set to an instance of an object.
Source: Aspose.Words
StackTrace: Aspose.Words.Document.UpdatePageLayout()
Aspose Version: 20.11


Please upgrade to the latest (21.6) version of Aspose.Words for .NET and see how it goes on your end? In case the problem still remains, then please ZIP and upload your source Word document you are getting this problem with here for testing. We will then investigate the issue on our end and provide you more information.

I used also newest version, but the same error.
Here is the source word document
DocTest.zip (17.2 KB)


We have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-22452. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-22452) have been fixed in this Aspose.Words for .NET 21.8 update and this Aspose.Words for Java 21.8 update.