Throws NullReferenceException when I process Word document with Aspose

I have a Word document which throws NullReferenceException when I process it with Aspose.

var document = new Aspose.Words.Document(@"C:\Users\54390\Downloads\第63讲直线与圆锥曲线原卷版-dfc59e1bc0f644dcb5256af71b6a73a8.docx");
    //Both of the following lines will throw an exception
	document.UpdatePageLayout();
	document.PageCount.Dump();

Version info

Aspose.Words for Net 23.2

Demo file

第63讲直线与圆锥曲线原卷版-dfc59e1bc0f644dcb5256af71b6a73a8.docx (147.7 KB)

Screenshot

@sullivan
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-25108

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@alexey.noskov
hello,Is there any progress on this issue?

@sullivan The issue is already resolved in the current codebase. The fix will be included into the next 23.4 version of Aspose.Words (April 2023). We will be sure to let you know once the version with the fix is released.

Thanks you very much!

1 Like

The issues you have found earlier (filed as WORDSNET-25108) have been fixed in this Aspose.Words for .NET 23.4 update also available on NuGet.