Exception message - Index was out of range

Hello.

Can you tell me what Aspose does at the specified location of code where I get this exception?

Exception:

Index was out of range. Must be non-negative and less than the size of the collection.

Stack trace:
at System.Collections.ArrayList.get_Item(Int32 index)
at Aspose.Slides.Pptx.Charts.ChartCellCollection.get_Item(Int32 index)
at Aspose.Slides.Pptx.ChartEx.ˆ(‰ƒ saveContext)
at Aspose.Slides.Pptx.ShapesEx.ˆ(‰ƒ saveContext)
at Aspose.Slides.Pptx.GroupShapeEx.ˆ(‰ƒ saveContext)
at Aspose.Slides.Pptx.BaseSlideEx.ˆ(‰ƒ saveContext)
at Aspose.Slides.Pptx.SlideEx.ˆ(‰ƒ saveContext)
at Aspose.Slides.Pptx.PresentationEx.e(‰ƒ context, e‡ outputType)
at Aspose.Slides.Pptx.PresentationEx.Write(Stream stream, e‡ type, PptxOptions options)
at Aspose.Slides.Pptx.PresentationEx.Write(String file, PptxOptions options)

Thanks in advance,
Kostas

Hi Kostas,


I have observed the stack trace shared by you. All I can tell by looking at the stack trace that the issue lies when saving presentation. Please share the sample code and source presentation with us so that I may perform my investigation to help you further.

Many Thanks,