SUMMARY
When users create a Financial Reporting dashboard and select a large amount of elements from a hierarchy in the filter panel e.g. > 5000 elements, the below error might occur.

Cannot read property 'layout' of undefined
We could not locate a task from the supplied request.
Set the maxPostSize parameter in the Connector to a value less than zero, this will disable the limit. (See https://tomcat.apache.org/tomcat-7.0-doc/config/http.html and https://tomcat.apache.org/tomcat-8.0-doc/config/http.html for further information).
Set the MaxPostSize parameter to a value less than 0, this means an unlimited size.(https://docs.oracle.com/cd/E13222_01/wls/docs81/adminguide/web_server.html)
KB303816