When creating and saving a workbook using Aspose.Cells, we are getting a stack trace error: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
This is a customer producing a report on their own data. I don't know yet how much data is there, and I haven't tried the latest Aspose.Cells release yet, but wanted to check if this is a known issue, and what would likely cause the problem. I saw a few old postings (circa 2004) with this error message, and those postings said the issues were fixed, but didn't go into detail on what the problem was.
System.Web.HttpException: Error executing child request for ../Common/DownloadTarget.aspx. ---> System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at Aspose.Cells.Record.x4c60c9e2927f2d75.x91b6dd5021f0df1e(String x4ba5dd095bef4f86, xaae832abae2edf07 x0ecec17af75ebd13)
at Aspose.Cells.Record.x4c60c9e2927f2d75.x1a32e6c8fced20bc(String x4ba5dd095bef4f86, Byte[] x9ce5f6008e05f2c8, xaae832abae2edf07 x0ecec17af75ebd13)
at Aspose.Cells.Record.x4c60c9e2927f2d75.x2f0a6883e99a7e92(xaae832abae2edf07 x0ecec17af75ebd13)
at Aspose.Cells.Record.x4c60c9e2927f2d75.x8215cd112f0e46ef(xaae832abae2edf07 x0ecec17af75ebd13, Worksheets x6d7b41a5fb54bb38)
at Aspose.Cells.Worksheets.xc45aec41e2cb5b99(xaae832abae2edf07 xcf18e5243f8d5fd3)
at Aspose.Cells.Worksheets.x668135b31fe5c8d9(xaae832abae2edf07 xcf18e5243f8d5fd3)
at Aspose.Cells.Worksheets.x806178efa0bb6fcf(FileFormatType xab59d5b558cd3dde)
at Aspose.Cells.Worksheets.xc26afd5362f5c1ec(Stream xcf18e5243f8d5fd3, FileFormatType xab59d5b558cd3dde)
at Aspose.Cells.Workbook.Save(Stream stream, FileFormatType fileFormatType)