Exception when saving a file

1.zip (122.7 KB)
Hi,

Opening and saving a specific document using Aspose.Words.dll 20.2.0.0 - OK.
Opening and saving same specific document using Aspose.Words.dll 22.7.0.0 - Exception is thrown.

The code I1.docx (125.3 KB)
am using:

        string File1 = @"D:\1.docx";
        Aspose.Words.Document Doc1 = new Aspose.Words.Document(File1);
        
        try { Doc1.Save(File1 + ".docx"); }
        catch (Exception ex) 
		{
			Console.WriteLine(ex.ToString());
        
			/* ex.ToString():

            System.InvalidOperationException: Requested default value for an unknown attribute.
            at    .(Int32 )
            at    .(Int32 )
            at Aspose.Words.Paragraph.(Int32 , RevisionsView )
            at Aspose.Words.Paragraph.cyk2a8ajdactlrdpnp94eddw8uy4eupl  (Int32 )
            at  ​ .()
            at  ​ .()
            at    ..ctor(FootnoteType ,     )
            at    .()
            at    .()
            at    .     ( ​  )
            at    .     ( ​  )
            at Aspose.Words.Document.( ​  )
            at Aspose.Words.Document.(Stream , String , SaveOptions )
            at Aspose.Words.Document.Save(String fileName, SaveOptions saveOptions)
            at Aspose.Words.Document.Save(String fileName)
            at ConsoleApplication1.Program.Main(String[] args) in ConsoleApplication1\Program.cs:line 20
			*/
		  }
        Console.ReadKey();

thanks.

@elliott I was managed to reproduce your issue on my side. I have logged it as WORDSNET-24128 in our defect tracking system. We will keep you informed and let you know once it is resolved.

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