"System.ArgumentOutOfRangeException: Index was out of range" when open an Excel Workbook with images.
Hello,
We have an uncontrolled exception when open an Excel workbook. Those are the details:
Aspose.Cells.dll Version: 5.3.3.3
Code Call:
Workbook m_excelWorkbook = new Workbook(templateName);<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
//TemplateName is the path of the file.
File example:
I had attached the file.
Stack trace:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.BitConverter.ToInt16(Byte[] value, Int32 startIndex)
at ?.?.?(Byte[] ?, Int32 ?)
at ?.?.?(Shape ?, Byte[] ?)
at ?.?.?(Int32& ?, Shape ?, Byte[] ?, Int32 ?, Byte[] ?)
at ?.?.?(Byte[] ?, Int32 ?, MsoDrawingType ?)
at ?.?.?()
at ?.?.?(? ?)
at ?.?.?(? ?)
at ?.?.?(MemoryStream ?)
at ?.?.?(? ?)
at Aspose.Cells.Workbook.?(String ?, LoadOptions ?)
at Aspose.Cells.Workbook..ctor(String file)