Quantcast
Channel: EPPlus Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 2262

Commented Unassigned: ExcelWorksheet.SetValue throws ArgumentException [15541]

$
0
0
__ExcelWorksheet.SetValue(int,int,Object)__ throws an unexpected __System.ArgumentException__ caused by an invalid __System.Array.Copy__ in __CellStore.AddCell__. I suspect this exception occurs only when __CellStore.SplitPage__ creates a page for exactly _(2^n)_ rows. Then __CellStore<int>.GetSize__ will return the same value _(2^n)_ and the __CellStore.PageIndex.RowCount__ of this page will be equal to __CellStore.PageIndex.Rows.Length__. However, the page for the new cell should have at least one extra row available for that cell; otherwise __System.Array.Copy__ will throw an exception.
Comments: Do you have a test case that reproduces this issue?

Viewing all articles
Browse latest Browse all 2262

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>