Free Support Forum - aspose.com

Some slides generate object not found error

We have a routine that saves slides to jpeg using Getthumbnail. This works normally except for a few slides - typically charts, that die a horrible death - error below. Any thoughts on what to test for? I have the offending presentation and can email it to you if this helps.



Object reference not set to an instance of an object.
at Aspose.Slides.AutoShape.?(Int32 ?)
at Aspose.Slides.AutoShape.?()
at Aspose.Slides.AutoShape.?(Image ?, ArrayList ?)
at Aspose.Slides.Slide.GetThumbnail(Size size)
at TeachCTA.SlideLibImport.SaveSlides(String filename, String title,
String path, Boolean MembersOnly) in
C:\Inetpub\wwwroot\TeachCTA\SlideLibImport.aspx.vb:line 237
at ASP.SlideLibImport_aspx.__RenderForm1(HtmlTextWriter __output, Control
parameterContainer) in http://localhost/TeachCTA/SlideLibImport.aspx:line 28
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter
writer)
at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter
writer)
at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Control.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Page.ProcessRequestMain()
Aspose.Slides