KB Article #178336

Analytics Generates a Blank Report

Problem

Analytics creates a PDF with no charts or graphs sometimes when it generates a report after processing lots of data.

Resolution

Internally, Analytics relies on wkhtmltopdf to generate reports. It may take quite a while to generate the charts and graphs in some cases, especially when a lot of data is being processed and so it can be necessary to increase the JavaScript timeout. To do this, you must add the following parameter to a jvm.xml file for Analytics -


<VMArg name="-DjavascriptDelay=3000000" />


You may have to do some experimentation to find a delay that works for your use case. The time is in milliseconds.