2004 IR Help Posted September 2, 2006 Share Posted September 2, 2006 By: alka - alkabhardwaj Exporting large file creating problem 2004-09-29 05:28 Hi All, i am creating a huge pdf file(around 600+ pages) and trying to view it on the browser.I am using follwing code bytes = JasperRunManager.runReportToPdf(reportFile.getPath(), parameters,dataSource.getTheDatasource()); Its working absolutely fine for a pdf of 200+ pages, but on big size like 600 pages it is throwing ExceptionConverter: java.lang.NullPointerException at com.lowagie.text.pdf.PdfDocument.newPage(Unknown Source) at com.lowagie.text.pdf.PdfDocument.close(Unknown Source) How to solve this problem.Is there any kind of restriction of the number of pages of the pdf file? Thanks, alka 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