Exception while exporting Pptx to XPS - Aspose.Slides for .Net 5.5.0.0

Hi,
We are intended to purchase Aspose.Slides 5.5.0.0 for .Net ( framework version 4.0). But while analyzing the evaluation version, we came across this issue

while exporting PPTX to XPS. We have attached the sample code and the issue that occurred.

/***************************************************/
string FileFilter = "Presentation(*.pptx)|*.pptx|All Files (*.*)|*.*";
var openFileDialog = new OpenFileDialog
{
Filter = FileFilter, FilterIndex = 1, Multiselect = false
};
var userClickedOK = openFileDialog.ShowDialog();

var useStream = new MemoryStream();
var xpsStream = new MemoryStream();
using (Stream fileStream = openFileDialog.File.OpenRead())
{
fileStream.CopyTo(useStream);
useStream.Position = 0;
}

var presentationEx = new Aspose.Slides.Pptx.PresentationEx(useStream);
Aspose.Slides.Export.XpsOptions opts = new Aspose.Slides.Export.XpsOptions();
opts.SaveMetafilesAsPng = true;
presentationEx.Save(xpsStream, Aspose.Slides.Export.SaveFormat.Xps,opts);

/***************************************************/
and here we get exception "Object reference not set to an instance of an object."



Hi Manir,

Thanks for your interest in Aspose.Slides.

It will be really very nice, If you can share your presentation file for investigation purpose. Please use the attached PPTX file and check this PPTX file with your code and let me know If you face any exception with this PPTX file.

Hello Taher,
Thanks for your quick reply. I have tried with your attached sample PPTX, and yes Aspose can converr it to xps, without any error.
Please check the attachment PPTX, and Aspose gets the Exception.

Hi Manir,

I have tested the scenario and I am able to reproduce the same problem. For the sake of correction, I have logged it in our issue tracking system as SLIDESNET-30611. Our team will look into this issue and you will be updated via this forum thread once it is resolved.

We apologize for your inconvenience.

Hello Tahir,
Thanks for your concern, and waiting for the fix of this problem.

Maniruzzaman.

Hi Manir,

You will be updated via this forum thread once this issue is resolved. Thanks for your patience.