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)