Title: Bug in method JasperFillManager.fillReport()?

Hi,

my file .jrxml contains only static text; if I call JasperFillManager.fillReport() without DataSource, next the method JasperExportManager.exportReportToPdfFile(jp, "A4p.pdf") creates an empty pdf file.

// Empty pdf
jp = JasperFillManager.fillReport(jr, new HashMap());
JasperExportManager.exportReportToPdfFile(jp, "A4p.pdf");

// Right pdf!
jp = JasperFillManager.fillReport(jr, new HashMap(), new JREmptyDataSource());
JasperExportManager.exportReportToPdfFile(jp, "A4p.pdf");

Is it a bug? My version of JasperReports is 1.2.3 and my JDK is 1.4.2.

Thanks,

        Vincenzo

_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Reply via email to