Issue converting from ppt to xps NullReferenceException

Hi,

I am Having an issue when I save a ppt file to xps the exception detail below:

System.NullReferenceException: Object reference not set to an instance of an object.
at .„. ()
at . . („ fillParam, Single dpi)
at . . („ fillParam, Single dpi)
at . . (RectangleF rectangle, • lineParam, „ fillParam)
at Aspose.Slides.PictureFrame. ( canvas, ArrayList rotations, renderingContext)
at Aspose.Slides.Slide. ( canvas, SaveOptions options)
at Aspose.Slides.Slide. (Boolean saveMetafileAsPng, SaveOptions options)
at .€. (Presentation pres, Stream stream, XpsOptions options)
at Aspose.Slides.Presentation.Save(Stream stream, SaveFormat format, SaveOptions options)
at Aspose.Slides.Presentation.Save(String fname, SaveFormat format)

Regards,

Thanks,

Hi Gerardo,


I have observed the issue shared by you. Kindly share the source presentation with us along with Aspose.Slides version that you have used for your verification. Please also share the code snippet as well,

Many Thanks,

Hi Mudassir,

Aspose Slides Version 5.8.0.0

Code:

Presentation doc = new Presentation("example.ppt");

doc.Save("example.xps", Aspose.Slides.Export.SaveFormat.Xps);

Attached the example file.

Regards,

Thanks,

Hi,


I have worked with the presentation file shared by you and have been able to observe the issue shared by you. An issue with ID SLIDESNET-33126 has been created in our issue tracking system to further investigate and resolve the issue. I will share the further information with you as soon as the issue is resolved.

We are sorry for your inconvenience,