"The Report is Empty" when trying to publish a report from Jaspersoft Studio to JasperReports Server
book
Article ID: 106148
calendar_today
Updated On:
Products
CA Service Management - Asset Portfolio ManagementCA Service Management - Service Desk Manager
Issue/Introduction
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".
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.
Environment
CABI JasperReports Server 6.3.0 CA Service Desk Manager 17.1
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.