SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 35733: Errors might occur when scrolling or editing SAS Reports in SAS® Enterprise Guide®

DetailsHotfixAboutRate It

An application error that is similar to the one below might occur in SAS Enterprise Guide when scrolling through a SAS Report. In some cases, the Edit Report window will display a large red X that fills the Edit Report Builder window.

Currently, the only known workaround is to edit the report's text boxes in order to remove leading blank lines and linefeeds.

Enterprise Guide has encountered an unexpected error; click Show Details for more information.

--------------------------------------------------------

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 ------------------------------

[mscorlib] 
 
 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.MeasureText(Rectangle currentRectangle, Graphics g, Int32 wordFrom, Int32 wordTo, Int32& wordEnd, String alignment, Int32 pageNumber, Int32 pageCount, Single& totalTextHeight, Boolean adjustForLongWord, Boolean preformattedText)
   at SAS.Report.Viewer.TextBox.RenderDrawText(IReportLayout reportLayout, Boolean drawText, Graphics graphic, Rectangle rect, Int32 wordFrom, Int32 wordTo, Int32 pageNumber, Int32 pageCount)
   at SAS.Report.Viewer.TextBox.DrawText(IReportLayout reportLayout, Boolean drawText, Rectangle rect, Graphics graphic, Int32 wordFrom, Int32 wordTo)
   at SAS.Report.Viewer.Text.Draw(Graphics graphic, Rectangle gridCell, IReportLayout reportLayout)
   at SAS.Report.Viewer.SASReportView.RenderVisualContainer(Graphics g, VisualContainerInterface visualContainer, Int32 topOffset, Int32 leftOffset, GriddedLayoutEngine gle, Int32 clientWidth, LayoutMode mode, IconRenderer iconRenderer, IReportLayout reportLayout)
   at SAS.Report.Viewer.SASReportView.RenderWebView(Graphics g)
   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.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)System.ArgumentOutOfRangeException

Index was out of range.  Must be non-negative and less than the size of the collection.
Parameter name: index

------------------------------ End of Technical Information ------------------------------



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise GuideMicrosoft Windows Server 2003 Datacenter Edition4.14.29.1 TS1M3 SP49.2 TS2M0
Microsoft Windows Server 2003 Enterprise Edition4.14.29.1 TS1M3 SP49.2 TS2M0
Microsoft Windows Server 2003 Standard Edition4.14.29.1 TS1M3 SP49.2 TS2M0
Microsoft Windows XP Professional4.14.29.1 TS1M3 SP49.2 TS2M0
Windows Vista4.14.29.1 TS1M3 SP49.2 TS2M0
* 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.