[#4385] - can't export jrxml file to PDF

Category:
Bug report
Priority:
Urgent
Status:
Assigned
Project: Severity:
Critical
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

iReport 3.6.0 cant export report in to PDF ,i have also plug in the PDF viewer in option menu and set it as PDF preview but iReport giving the error as mentioned below .

ERROR :

Exporting PDF (using iText) to file... /home/vasanth/NetBeansProjects/DAS/web/Jasper/Procurement/Datewisemilkcollectionreport.pdf!
Error exporting print... com.lowagie.text.pdf.PdfWriter.setRgbTransparencyBlending(Z)V
java.lang.NoSuchMethodError: com.lowagie.text.pdf.PdfWriter.setRgbTransparencyBlending(Z)V at net.sf.jasperreports.engine.export.JRPdfExporter.exportReportToStream(JRPdfExporter.java:481) at net.sf.jasperreports.engine.export.JRPdfExporter.exportReport(JRPdfExporter.java:380) at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:1124) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)

AttachmentSize
Binary Data Datewisemilkcollectionreport.jrxml12.11 KB
vasanthgtn's picture
Joined: Oct 16 2009 - 4:11am
Last seen: 13 years 7 months ago

3 Comments:

#1

I think you have an old version of itext in the classpath. Can you verify that?

Thanks

Giulio

#2

i have verified using both iText 2.1.0 and 2.1.7 in my class path ,but still i getting the same error,off course i have also try to run the jrxml file using javacode(using above mentioned iText versions in library path),but i cant export in to PDF.

#3

My favorite way to check a classpath problem is by removing the jar that I suspect is not loaded (in your case iText) and see if I get a classnotfoundexception.

Giulio

Feedback
randomness