We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Why I get JRException

today it is my first time to try Aspose.Words for JasperReports. But I got net.sf.jasperreports.engine.JRException.

The code is very simple:
… // jasperPrints have been generated
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
AWDocExporter exporter = new AWDocExporter();
exporter.setParameter(JRExporterParameter.JASPER_PRINT_LIST, jasperPrints);
exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, outputStream);
exporter.exportReport();

But similar code is fine
… //jasperPrints have been generated
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
JRExporter exporter = new JRRtfExporter();
exporter.setParameter(JRExporterParameter.JASPER_PRINT_LIST, jasperPrints);
exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, outputStream);
exporter.exportReport();


I don’t know whether it is related to license issue.
I put aspose.words.jasperreports.jar into /lib and also copy LICENSE.txt in web-inf, which I download from web.

Hi

Thanks for your request. Could you please provide a full stack trace of the exception? Do you get an exception when export some specific report? If so, could you please attach your .jrprint file here for testing? We will check the issue and provide you more information.

Best regards.

i have four jrprint files. Please check them out.

Do you have new update for it?

Thanks,
Joe

Hi

Thanks for your inquiry. Your request has been logged in our defect database. The developer, who is responsible for Aspose.Words for JasperReports will answer you shortly.

Best regards.