Problem Note 66742: A SAS® Risk and Finance Workbench report might fail with a java.lang.NullPointerException error if the project data does not satisfy the template
In SAS Risk and Finance Workbench, a java.lang.NullPointerException error might occur when you run a report and the data in the project does not satisfy the template column. For example, there could be no data available for a given report cell.
You encounter the issue when you complete steps similar to the following:
- Log on to SAS Risk and Finance Workbench.
- Go to the Projects page, and then click one of the projects.
- Click the Reports tab. Create a Category, and then click New Report.
- Select Filter.
- Select the new report that you created above and run it. An error similar to the following occurs if the data does not satisfy the template column.
2020-07-21 21:07:31,553 [Thread-4968] [sasdemo] sasdemo/-123c ERROR com.sas.stress.rest.services.ReportService - Exception while running report: Report 3 java.lang.NullPointerException
at com.sas.risk.output.generators.XlsxGenerator.generate(XlsxGenerator.java:121)
at com.sas.risk.output.generators.XlsxEmbedGenerator.generate(XlsxEmbedGenerator.java:51) ...
Click the Hot Fix tab in this note to access the hot fix for this issue.
After you apply this hot fix, the java.lang.NullPointerException does not occur when there is no data available for a given report cell.
Operating System and Release Information
SAS System | SAS Risk and Finance Workbench | Microsoft® Windows® for x64 | 3.1 | | 9.4 TS1M5 | |
Linux for x64 | 3.1 | | 9.4 TS1M5 | |
*
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.
After you apply this hot fix, the java.lang.NullPointerException error does not occur when there is no data available for a given report cell.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2020-10-19 08:49:33 |
Date Created: | 2020-10-09 05:58:02 |