Jump to content
Changes to the Jaspersoft community edition download ×

Jasper throwing error when no data is rendered by the query


Recommended Posts

I have a query to display errors occured in the last 5 days in a test case(assume), some times i dont get any error. and in this situation when i try to generate a error details as usual,

JasperServer is throwing an error stating"Error executing SQL query" but doesnt throw any error when run through jasper Studio

 

Anyone have faced similar situation!! Appreciate help on this..

 

Note: i tired using when no data property but of no use.

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

JasperReports Server and Jaspersoft Studio has a differing set of error conditions. Jaspersoft Studio will render a page even when there's no data while JasperReports Server will not. These products are developed by different teams and when I contacted Jaspersoft before, it seems both thinks their way of processing is correct and will not change.
When using JasperReports Server, make sure the sql statement returns at least 1 row.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...