Issue:
We are trying to schedule a dashboard and send email to couple of clients but it was throwing error as below.
ERROR DashboardExecutionJob,JasperServerScheduler_Worker-2:192 – The dashboard export job for /Delivery_Network/Beacon_Provided_Reports/Dashboards/Analysis_by_Region failed to execute.
ERROR SecureExceptionHandlerImpl,JasperServerScheduler_Worker-2:116 – There was an error on the server. Try again or contact site administrators. (Error UID: 24baa642-043d-4d6a-9b78-d45dcd855f0c)
ERROR ReportExecutionJob,JasperServerScheduler_Worker-2:327 – The export to report.output.report.scheduling.output.format.16.label was not completed. An error interrupted the process. (Error UID: 24baa642-043d-4d6a-9b78-d45dcd855f0c) java.lang.NullPointerException
Resolution:
1. Check the chromium path in the js.config.properties file. This should be set to path where chromium is installed.
Configuration File : …/WEB-INF/js.config.properties
Property:
chrome.path=/usr/bin/chromium-browser
2. If Tomcat is run as root on Linux, the export of Reports, Ad Hoc Views, and Dashboards fails. To avoid this, Add the below property in the jasperreports.properties
Configuration File: …/WEB-INF/classes/jasperreports.properties
Property:
net.sf.jasperreports.chrome.argument.no-sandbox=true
3. FinallyConfigure the following property to enable the scheduler and headless browser to load the dashboard on the server side and export it.
Configuration File: …/WEB-INF/js.config.properties
Property:
deploy.base.local.url
Set this property to the localhost URL. This URL must include the application name.
For example:
http://remotehostdomainname:8080/jasperserver-pro
4. Restart jasperserver
Thank You
Archana Verma
Helical IT Solutions
Best Open Source Business Intelligence Software Helical Insight is Here