Unable to cast an object of type 'Aspose.Words.Tables.Table' to type 'Aspose.Words.Paragraph'

Hello,

We encounter a problem with a docx file, when we perform an UpdateFields() an error is thrown "Unable to cast an object of type ‘Aspose.Words.Tables.Table’ to type 'Aspose.Words.Paragraph '. »

Reproduced in version Aspose.Words 22.5.0

Can you see where the problem is coming from?

I provide you the file as well as the code

Thank you Best regards

element.zip (3.6 MB)

@ISIWARE Thank you for reporting this problem to us. For a sake of correction it has been logged as WORDSNET-23924. We will keep you informed and let you know once it is resolved.

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