Discovered an exception being thrown by the following code:
ASPptx.Presentation asPresEx = new ASPptx.Presentation(pptxStream);
The exception is:
System.NullReferenceException: Object reference not set to an instance of an object.
at ..(IHyperlink hyperlink, hyperlinkElementData, deserializationContext)
at ..(IHyperlinkContainer hyperlinkContainer, hlinkClickElementData, hlinkHoverElementData, deserializationContext)
at ..(IPortionFormat portionFormat, textCharPropsElementData, deserializationContext)
at .a.(IParagraphCollection paragraphs, [] textParagraphElementDatas, deserializationContext)
at ..(ITextFrame textFrame, textBodyElementData, deserializationContext)
at ..(IAutoShape autoShape, shapeElementData, slideDeserializationContext)
at ..(IGroupShape groupShape, groupShapeElementData, slideDeserializationContext, Boolean rootSpTreeElement)
at ..(IBaseSlide baseSlide, cSld, slideDeserializationContext)
at ..(Slide slide)
at ..(IPresentation presentation)
at ..a( package, IPresentation presentation)
at ..(IPresentation presentation, Stream stream, ILoadOptions loadOptions)
at Aspose.Slides.Presentation.a(Stream stream)
at Aspose.Slides.Presentation.(Stream stream)
at Aspose.Slides.Presentation…ctor(Stream stream, LoadOptions loadOptions)
at Aspose.Slides.Presentation…ctor(Stream stream)
I have attached a pptx file that generates the error.
This is with Aspose Slides for .NET 14.1.2.0 and a registered site OEM license.
Hi Kevin,
Thank you for sharing the details.
I tested your reported issue with the template file attached, and I am unable to reproduce the issue you mentioned. Please provide us some further details regarding your system environment like .NET Framework, OS etc. and complete sample code to reproduce the issue.
Thanks & Regards,