SaveToImage() causing NullReferenceException

We are using Aspose.Network & Aspose.Words to convert msg files to tif images.
We have been using Aspose.Network.dll ( & Aspose.Words.dll ( for above task.
We updated Aspose.Words.dll ( to Aspose.Words.dll ( for ISSUE 7835.
Now following code which worked with throws Exception with

using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Aspose.Words;
using Aspose.Words.Rendering;
using Aspose.Network.Outlook;
namespace OutlookTester
    class Program
        static void Main(string[] args)
            Aspose.Network.License licenseNetwork = new Aspose.Network.License();
            Aspose.Words.License licenseWords = new Aspose.Words.License();
            MapiMessage msg = MapiMessage.FromFile("Outlook.msg");
            using(MemoryStream rtfStream = new MemoryStream())
                TextWriter tw = new StreamWriter(rtfStream);
                Document doc = new Document(rtfStream);
                ImageOptions imgOptions = new ImageOptions();
                imgOptions.Resolution = (float) 200;
                imgOptions.TiffCompression = TiffCompression.Ccitt4;
                for (int i = 0; i <doc.PageCount; i++)
                    doc.SaveToImage(i, 1, "image" + i.ToString() + ".tif", imgOptions); // Exception Here!

Please test above code with attached Outlook.msg file with Aspose.Words.dll ( & Aspose.Words.dll (
This issue was reported from our customer as critical issue that must be fixed ASAP.
It is being used in production environment and fix is urgent.
Please provide us with an ETA for a fix so that we can tell our customer.
Thank You.


Thank you for reporting this problem to us. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.
Best regards,

Hi Andrey,
Can you confirm that this issue will be fixed in the next release? Can you provide a timeframe when that release will be available? We are looking for a fix as soon as possible as it is rather urgent for us.
Thank you.


Thanks for your request. Aspose.Words releases are published every 4-5 weeks. Please expect a reply before the next hotfix. We might just fix the problem by than or provide you more information.
Best regards.

Any ETA for when this fix will be available?
Thank you,


Thanks for your request. This problem is already resolved in the current codebase. The fix will be included into the next hotfix, which will be released within two weeks. You will be notified.
Best regards,

The issues you have found earlier (filed as 15673) have been fixed in this update.

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

The new release has corrected the problem.
Thank you,