Null Ref Crash while running UpdateFields

We ran across this while testing today - running the following code with the attached document results in a "Object reference not set to an instance of an object." error:      

  protected static void TestFieldsCrash()
    {
        try
        {
            var doc = new Document("Updating_Fields.docx");
            doc.UpdateFields();
        }
        catch (Exception ex)
        {
            Console.WriteLine(ex.Message);
            throw;
        }
    }

Hi Greg,


Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 14.2.0, I managed to reproduce this issue on my side. I have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-9934. Your thread has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

The issues you have found earlier (filed as WORDSNET-9934) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.