Jump to content
Changes to the Jaspersoft community edition download ×

iText version support?


Recommended Posts

By: Jim Snyder - jdsnyderii

iText version support?

2002-01-11 12:04

I got the following stack trace when printing the sample to PDF

C:srcjasper>C:jdk1.3.1binjava.exe -classpath ./;jasperreports-0.2.1.jar;C:

jdk1.3.1/lib/tools.jar;iText.jar;commons-beanutils.jar;commons-collections.jar;c

ommons-digester.jar;xerces.jar -Dorg.xml.sax.driver=org.apache.xerces.parsers.SA

XParser JasperReportsTestApp -Tpdf -FFirstJasper.jrprint

java.lang.RuntimeException: Inconsistent writers. Are you mixing two documents?

at com.lowagie.text.pdf.PdfContentByte.add(PdfContentByte.java:155)

at dori.jasper.engine.JRPrinterPDF.printReport(JRPrinterPDF.java:105)

at dori.jasper.engine.JRPrinterPDF.printReport(JRPrinterPDF.java:66)

at dori.jasper.engine.JasperManager.printReportToPdfFile(JasperManager.j

ava:173)

at dori.jasper.engine.JasperManager.printReportToPdfFile(JasperManager.j

ava:150)

at JasperReportsTestApp.main(JasperReportsTestApp.java:115)

 

 

By: Jim Snyder - jdsnyderii

RE: iText version support?

2002-01-11 13:14

I moved my version of iText back to 0.73 from 0.80. The problem went away and produced a correct PDF.

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