Problem Note 47406: An error might occur when viewing a consolidated SAS report in SAS® Enterprise Guide®
When you have SAS report results in SAS Enterprise Guide, you can create a consolidated report by selecting File ► New ► Report. When viewing the report, if you click on Page View, you might see the following error. This error is most likely to occur after you modify the report and add more results.
System.ArgumentOutOfRangeException
Index was out of range. Must be non-negative and less than the size of the
collection.
Parameter name: index
------------------------------ Technical Information Follows
------------------------------
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative
and less than the size of the collection.
Parameter name: index
at System.Collections.ArrayList.get_Item(Int32 index)
at SAS.Report.Viewer.TextBox.RenderDrawText(IReportLayout reportLayout,
Boolean drawText, IReportWriter reportWriter, Rectangle rect, Int32 wordFrom,
Int32 wordTo, Int32 pageNumber, Int32 pageCount)
at SAS.Report.Viewer.TextBox.DrawText(Boolean drawText, Rectangle rect,
IReportWriter reportWriter, Int32 wordFrom, Int32 wordTo, Int32 pageNumber,
Int32 pageCount)
at SAS.Report.Viewer.Text.Draw(IReportWriter reportWriter, RenderToken
renderToken)
at SAS.Report.Viewer.RenderToken.Draw(IReportWriter reportWriter)
at SAS.Report.Viewer.Page.Render(IReportWriter reportWriter)
at SAS.Report.Viewer.SASReportView.RenderPages(Graphics graphics)
at SAS.Report.Viewer.SASReportView.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e,
Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at SAS.Report.Viewer.SASReportView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr
wparam, IntPtr lparam)
After this error, the report contains only red Xs.
Operating System and Release Information
SAS System | SAS Enterprise Guide | Microsoft® Windows® for x64 | 4.22 | 6.1 | 9.2 TS2M2 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Datacenter Edition | 4.22 | 6.1 | 9.2 TS2M2 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Enterprise Edition | 4.22 | 6.1 | 9.2 TS2M2 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Standard Edition | 4.22 | 6.1 | 9.2 TS2M2 | 9.2 TS2M3 |
Microsoft Windows Server 2003 for x64 | 4.22 | 6.1 | 9.2 TS2M2 | 9.2 TS2M3 |
Microsoft Windows Server 2008 | 4.22 | 6.1 | 9.2 TS2M2 | 9.2 TS2M3 |
Microsoft Windows Server 2008 for x64 | 4.22 | 6.1 | 9.2 TS2M2 | 9.2 TS2M3 |
Microsoft Windows XP Professional | 4.22 | 6.1 | 9.2 TS2M2 | 9.2 TS2M3 |
Windows 7 Enterprise 32 bit | 4.22 | 6.1 | 9.2 TS2M2 | 9.2 TS2M3 |
Windows 7 Enterprise x64 | 4.22 | 6.1 | 9.2 TS2M2 | 9.2 TS2M3 |
Windows 7 Home Premium 32 bit | 4.22 | 6.1 | 9.2 TS2M2 | 9.2 TS2M3 |
Windows 7 Home Premium x64 | 4.22 | 6.1 | 9.2 TS2M2 | 9.2 TS2M3 |
Windows 7 Professional 32 bit | 4.22 | 6.1 | 9.2 TS2M2 | 9.2 TS2M3 |
Windows 7 Professional x64 | 4.22 | 6.1 | 9.2 TS2M2 | 9.2 TS2M3 |
Windows 7 Ultimate 32 bit | 4.22 | 6.1 | 9.2 TS2M2 | 9.2 TS2M3 |
Windows 7 Ultimate x64 | 4.22 | 6.1 | 9.2 TS2M2 | 9.2 TS2M3 |
Windows Vista | 4.22 | 6.1 | 9.2 TS2M2 | 9.2 TS2M3 |
Windows Vista for x64 | 4.22 | 6.1 | 9.2 TS2M2 | 9.2 TS2M3 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2012-09-05 11:07:27 |
Date Created: | 2012-08-31 15:12:36 |