Aspose.Words Hangs When Processing RTF File

Hello,

We have an RTF document that will cause Aspose.Words to hang when processing the file. We are using Aspose.Words to remove unwanted metadata from a document such as document properties. We are using version 11.0.0. Sample code below is provided by our developer to recreate the issue.



using System;

using Aspose.Words;

//-----------------------------------------------------------------------------

class TestRunner {

//-------------------------------------------------------------------------

/**

  • Initialises the Aspose Licence.

    */

    private static void initLicence() {

    Aspose.Words.License license = new Aspose.Words.License();

    license.SetLicense(“Aspose.Total.lic”);

    }

    //-------------------------------------------------------------------------

    static int Main(string[] args) {

    initLicence();

    Console.Out.WriteLine(“Opening document”);

    Document doc = new Document(args[0]);

    Console.Out.WriteLine(“Opened document”);

    doc.Save(args[1]);

    Console.Out.WriteLine(“Saved document”);

    return 0;

    }

    //-------------------------------------------------------------------------

    }

    //-----------------------------------------------------------------------------

    In use the code prints out “Opening document” and then hangs.

    We are araising the issue to be considered for a future release.

Thanks,

Kim

Hi Kim,


Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 11.0.0, I managed to reproduce this issue on my side. For the sake of correction, I have logged this issue in our bug tracking system. Your request has also been linked to the appropriate issue and you will be notified as soon as it is resolved.

Sorry for inconvenience.

Best Regards,

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


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