Jump to content

Empty report - recompile needed to fill report


Milan

Recommended Posts

Sometimes when PDF gets generated it comes out empty. Then we need to delete *.jasper files and recompile the templates.

 

Reports get out normally for a while but the same problem happens again.

 

We don't know how to detect the problem - there are no errors visible when the PDF is generated, the page only comes out empty.

 

We would like to avoid compiling the report templates for each request. If you have any ideas how to solve the problem please reply.

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

We compile with JasperCompileManager.compileReportToFile

 

You misunderstood the problem. We are not compiling reports eachtime for every request, we have to do that only if the PDF comes out empty with no reason (sometimes after 100 times, sometimes after 1000 prints of that file). It also does not happen with the same reports. I could say it happens random, but on a aplication with over 1000 reports it's almost not possible to recognise or to catch the problem when it happens because no error is visible.

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...