List Index Out of Bounds when table spans a pagebreak

Public forum for discussing TScaleRichView (shareware addon to TRichView providing WYSIWYG editing)
Post Reply
Posts: 23
Joined: Wed Nov 30, 2011 9:08 pm

List Index Out of Bounds when table spans a pagebreak

Post by pruettm » Fri Oct 17, 2014 7:29 pm

Our application uses TSRichViewEdit to generate a report for our customers. For a few particular customers, for a small number of reports, they are experiencing a List Index Out of Bounds exception.

I have done some extensive testing and I notice that the list index out of bounds happens when one of the tables is being generated but broken by a page break.

For instances, the table has 17 rows, the first page shows the first 13 rows at the bottom of the page and the last 4 rows are shown at the top of the next page. The report shows up just fine in the SRichViewEdit, but when I begin to scroll to then next page I see the "List Index out of Bounds (14)"* error.

*Note that the first row on the next page is the 14th row.

I have tried to reproduce this error in a small application to submit, but I am unable to do so, however I have generated a .rvf file with any confidential information scrubbed clean, should anyone need an example.

Sergey Tkachenko
Site Admin
Posts: 14227
Joined: Sat Aug 27, 2005 10:28 am

Post by Sergey Tkachenko » Sat Oct 18, 2014 5:38 am

Does this error happen in the newest version of ScaleRichView (6.1.1)?
If yes, please send a sample file to richviewgmailcom

Post Reply