Not able to open a scheduled report in PDF format out of CABI4.1

Document ID : KB000044623
Last Modified Date : 12/07/2018
Show Technical Document Details

When checking a scheduled report result in PDF format out of CABI4.1 via the “History” option we get either a blank browser result (Firefox) or an error message (IE and Chrome):

Error here java.lang.RuntimeException: org.apache.jasper.JasperException: java.lang.NullPointerException: while trying to invoke the method, javax.servlet.http.HttpServletResponse, javax.servlet.ServletContext, of a null object loaded from local variable 'htmlViewer'…

Opening the actual PDF document outside of the “BI Launchpad” is working.
Spectrum 10.x with CABI 4.1

The folder structure of the standard reports (Alarm, Activity, Asset, ...) is not matching internally with the path to the PDF document and CABI/BOXI has therefore issues to open the PDF document out of the “History” option in scheduled reports.
We identified the root cause of the problem and opened an issue with SAP to get it resolved.  Unfortunately, they have not resolved it at the time of publication if this document (10/07/18).
We can suggest two workaround options for generating the PDF report out of the “BI LaunchPad”:
1. Setting the “Destination” as file system and provide the directory name while scheduling the report.
2. Use the “Destination” as BI Inbox and schedule the report. (Access the report via the “Home” tab, as opening the PDF out of the “Home” tab is working)

This problem is not seen using Jaspersoft, so we are recommending to customers move to JasperSoft as soon as they can as a permanent solution.