We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Object reference not set to an instance

Hello,


I have a development that uses Aspose.slides. It changes some dinamic part on a PowerPoint (PPT or PPTX) and then generates a JPG. Somethimes the program crashes and stops generating JPGs.

I see this messages in the log:

Index was outside the bounds of the array.\nmscorlib\n at System.Collections.ArrayList.Add(Object value)
at €..()
at €..•(Stream stream)
at €..•(String licenseName, Assembly clientAssembly)
at Aspose.Slides.License.SetLicense(String licenseName)
at ManejadorPpt.GenerarJPGPlantilla(String IDCabe…


--------------------------------------------------------------------------------------------

Object reference not set to an instance of an object.\nAspose.Slides\n at €..•(Stream stream)
at €..•(String licenseName, Assembly clientAssembly)
at Aspose.Slides.License.SetLicense(String licenseName)
at ManejadorPpt.GenerarJPGPlantilla(String IDCabe…


Could you help me please??

Thanks in advance.

Hi Luis,


Thank you for posting.

I have observed your comments and like to request you to please try using Aspose.Slides for .NET 16.1.0 and if the issue persists then please share with us the narrowed down sample code and the source presentation to reproduce the issue so that we may investigate it further to help you out.

Best Regards,