Aspose.Slides.PPTx - Object reference not set

Hi,
I am writing below code to create an object ob Aspose.Slides for PPTX.

PresentationEx presEx = new PresentationEx(“Library/temp/Text1.pptx”);

I am getting below exception on the above line.
System.NullReferenceException was caught
Message=“Object reference not set to an instance of an object.”
Source=“Aspose.Slides”
StackTrace:
at Aspose.Slides.Pptx.ImageEx…ctor(gy A_0, nb A_1)
at Aspose.Slides.Pptx.PresentationEx.a(nb A_0)
at Aspose.Slides.Pptx.PresentationEx…ctor(String file)
InnerException:

I have full access to the path mentioned while creating the object.

Any help would be appreciated.

Regards,
Nirav Patel.

Hi Nirav,

I have tried to observe the issue shared by you and it seems there is some issue with presentation access. Please share the source presentation for necessary investigation on our end.

Thanks and Regards,