Jump to content
Changes to the Jaspersoft community edition download ×

JRPDFExporter blank page


Recommended Posts


I have a strange problem. I generate a jrxml file with my java application then I compile it to the .jasper file.

Both work, I can view it in the iReportViewer and if I try it with the sql connection I have the right data behind it.

But when i try to export the jasper file to a pdf document my application stops in the middle.

It generates the pdf file and the page has the right width and the right height but it is blank.


JRPdfExporter exporter3 = new JRPdfExporter();

exporter3.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);

exporter3.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, application.getRealPath("/report/WebappReport"+time+".pdf"));



can somebody help me?

or do you need something else?

Link to comment
Share on other sites

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