When you view a Duplicate Report in SAS Enterprise Guide, the process flow might fail with the following error:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
This error occurs when you open the Duplicate Report in Page mode and configure the page with Fit Width (depending on the data currently displayed in the original SAS Report) and set the values for the margins.
This issue prevents the report from being rendered correctly and can cause subsequent tasks in the process flow to fail, such as generating a PDF report.
This issue is caused by a defect in SAS Enterprise Guide.
Workaround
To circumvent this issue, complete the following steps:
- In the Report node, click Design ► Page Setup.


- Adjust the margin values or (if possible) select a Fit option other than Fit Width.