We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Object reference not set to an instance of an object: In new Presentation(filePath)


We have recently encountered a bug right at the initialization of the Presentation object:

new Aspose.Slides.Presentation(filePath).
The error message is the one from the post subject.

The stacktrace is :

" at ”.–”.‹•(ˆƒ imagePart)\r\n at Ÿ’”.œ˜.Š•(ISlidesPicture picture, —• blipElementData, –” deserializationContext)\r\n at Ÿ’”.ž›˜.Š•(IPictureFillFormat pictureFillFormat, ˜• blipElementData, –” deserializationContext)\r\n at Ÿ’”.œ˜.Š•(IPictureFrame pictureFrame, \b• picElementData, ˜ slideDeserializationContext)\r\n at Ÿ’”.‘›˜.Š•(IGroupShape groupShape, \b• groupShapeElementData, ˜ slideDeserializationContext)\r\n at Ÿ’”.š˜.Š•(IBaseSlide baseSlide, Ž• cSld, ˜ slideDeserializationContext)\r\n at Ÿ’”.›•”.œ‰•(Slide slide)\r\n at Ÿ’”.˜•”.œ‰•(IPresentation presentation)\r\n at ”.–”.•‹•(• package, IPresentation presentation)\r\n at ”.–”.‰•(IPresentation presentation, Stream stream, ILoadOptions loadOptions)\r\n at Aspose.Slides.Presentation.œ\a(Stream stream)\r\n at Aspose.Slides.Presentation.(Stream stream)\r\n at Aspose.Slides.Presentation…ctor(String file, LoadOptions loadOptions)\r\n at Aspose.Slides.Presentation…ctor(String file)\r\n at TestOpenXmlSdk.AsposeTestClass.AsposeInsertImagePpt_x(String path, Image img) in

I have attached the file that rises this problem.

This issue was found in both 14.3.0. and in 14.5.0.

Thank you,


Hi Dan,

Thank you for sharing the sample file.

I am able to reproduce your mentioned issue after an initial test. Your issue has been registered in our issue tracking system with issue id: SLIDESNET-35519. You will be notified via this forum thread once the issue gets resolved.

Thanks & Regards,

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

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.