Jump to content

Recommended Posts

Posted

By: alka - alkabhardwaj

ExceptionConverter: java.lang.NullPointerExce

2004-09-29 05:18

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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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