Hi support,
Opening of a PPTX document with a modern comment on an object fails with error (see below).
NB: A new document with a comment using the new button on the right comments section (add comment to doucment) it does work. Aspose version: 22.5
We are using code:
using (Presentation presentation = new Presentation(filePath))
{
...
}
Error:
Exception: Aspose.Slides.PptxReadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Aspose.Slides. .(Slide )
at Aspose.Slides. .(Slide )
at Aspose.Slides. .(Slide )
at Aspose.Slides. .(IPresentation )
at Aspose.Slides. .( , IPresentation )
at Aspose.Slides. .(Presentation , Stream , InterruptionToken )
--- End of inner exception stack trace ---
at Aspose.Slides. .(Presentation , Stream , InterruptionToken )
at Aspose.Slides.Presentation.(Stream , Boolean )
at Aspose.Slides.Presentation.(Stream , Boolean )
at Aspose.Slides.Presentation.(String , Boolean )
at Aspose.Slides.Presentation..ctor(String file)
The code used is like below. It fails on opening the document.
using Exception: Aspose.Slides.PptxReadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Aspose.Slides. .(Slide )
at Aspose.Slides. .(Slide )
at Aspose.Slides. .(Slide )
at Aspose.Slides. .(IPresentation )
at Aspose.Slides. .( , IPresentation )
at Aspose.Slides. .(Presentation , Stream , InterruptionToken )
--- End of inner exception stack trace ---
at Aspose.Slides. .(Presentation , Stream , InterruptionToken )
at Aspose.Slides.Presentation.(Stream , Boolean )
at Aspose.Slides.Presentation.(Stream , Boolean )
at Aspose.Slides.Presentation.(String , Boolean )
at Aspose.Slides.Presentation..ctor(String file)