I am trying to convert presentations in the PPT format to PDF. I am using version 4.4.0.0 of Aspose.Slides to do this. When I try to instantiate the PresentationEx class passing in the Stream for the PPT file I get the following exception & stack trace:
System.NullReferenceException: Object reference not set to an instance of an object.
Aspose.Slides.Pptx.ConnectorEx.PptxAfterLoad(IDictionary shapeIdToShape)
Aspose.Slides.Pptx.GroupShapeEx.PptxAfterLoad(IDictionary shapeIdToShape)
Aspose.Slides.Pptx.BaseSlideEx.Ppt2003AfterLoad()
Aspose.Slides.Pptx.PresentationEx.(Stream )
Aspose.Slides.Pptx.PresentationEx..ctor(Stream stream)
Code Snippet:
var presentationEx = new PresentationEx(sourceStream);
presentationEx.Save(targetStream, SaveFormat.Pdf);
I have also attached the ppt file for review.