Milan Posted May 17, 2007 Share Posted May 17, 2007 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 More sharing options...
Milan Posted May 28, 2007 Author Share Posted May 28, 2007 anyone? Link to comment Share on other sites More sharing options...
arunvishvin Posted May 29, 2007 Share Posted May 29, 2007 Compile the reports externally using Jasper Assistant or iReport and use the .japer files in your project...and remove the compilation codes when you request for a report. Link to comment Share on other sites More sharing options...
Milan Posted May 30, 2007 Author Share Posted May 30, 2007 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 More sharing options...
Milan Posted June 7, 2007 Author Share Posted June 7, 2007 any ideas? 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