avinash.eng18 Posted July 17, 2017 Share Posted July 17, 2017 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 More sharing options...
darth_fader Posted July 17, 2017 Share Posted July 17, 2017 Can you post your stack trace? I haven't hit this error before. Link to comment Share on other sites More sharing options...
hozawa Posted July 17, 2017 Share Posted July 17, 2017 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now