Jump to content
Changes to the Jaspersoft community edition download ×

Exporting large file creating problem

2004 IR Help

Recommended Posts

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?




Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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