"The Report is Empty" when trying to publish a report from Jaspersoft Studio to JasperReports Server

Document ID : KB000106148
Last Modified Date : 13/07/2018
Show Technical Document Details
Issue:
Customer creates a new jasper report having Input Controls.
When he clicks on preview in Jaspersoft Studio, the report content comes up correctly.
However, when he publishes it in JasperReports Server, he gets: "The Report is Empty".
Environment:
CABI JasperReports Server 6.3.0
CA Service Desk Manager 17.1
Cause:
This problem may be caused by different reasons. For instance, when the datasource in the server is not set correctly or when Input Controls are not set correctly. It is possible that there are spaces between the parameter name causing the jasper report to work fine in Jaspersoft Studio but displaying empty content after it is deployed to JasperReports Server.
Resolution:
You might need to perform some verification in both places:
  • Check if the datasource in the server was correctly set. You might need to test the datasource used by the report on the server.
  • Check if the Input Controls are set correctly. Try displaying the parameters set by the Input Controls
Check whether there are any typos like spaces in them providing identifier names for your parameters.
Additional Information:
"The Report is Empty" in Server, but not in Studio