Jump to content
Changes to the Jaspersoft community edition download ×

error when use JasperManager.runReportToPdfFi


2005 IR Help

Recommended Posts

By: sepi - sepideh

error when use JasperManager.runReportToPdfFi

2004-07-06 10:21

I have a java class which uses jasper methods.

this method works fine :JasperManager.fillReport(...)

but when I add method JasperManager.runReportToPdfFile(...) to my java class to create a pdf report file.when i sun it,I get the error:

org.apache.jasper.JasperException: com/lowagie/text/DocumentException

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)

 

 

 

 

 

 

By: sepi - sepideh

RE: error when use JasperManager.runReportToPdfFi

2004-07-06 10:55

It seems that something is wrong with the pdf creating,bcause when I use fillReportToFile method it save apdf ile in the server,But I can't open it with acrobat,also ehne i use method runreportToPdf,again I get the error:

org.apache.jasper.JasperException: com/lowagie/text/DocumentException

 

Can you please help me?

 

Thanks,

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