Free Support Forum - aspose.com

Aspose.Slides plugin for JasperReports : couln't read template

Hi,

I’ve been trying to use this new plugin for JasperReports, but I’ve got some issue running my sample report :

net.sf.jasperreports.engine.JRException: asjr_obfuscated.dB: Internal library error. Couldn’t read template from a resource.
at com.aspose.slides.jasperreports.JRPptExporter.exportReport(Unknown Source)
at projettestjr.Main.main(Main.java:81)
Caused by: asjr_obfuscated.dB: Internal library error. Couldn’t read template from a resource.
at asjr_obfuscated.eU.(Unknown Source)
at com.aspose.slides.jasperreports.i.(Unknown Source)
at com.aspose.slides.jasperreports.JRPptExporter.c(Unknown Source)
… 2 more

Should I add a template somewhere ? I don’t understand this error message.

I’m using JasperReports 3.0.0, and I’ve attached my Java code. All this works perfectly - I can generate PDF, HTML, XLS, … but no PPT. Here is the Java code I wrote to export in PPT :

pptExporter = new JRPptExporter();

// jasperPrint has jasperPrint type and is correctly filled by previous lines
pptExporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
pptExporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, “EssaisRapport.ppt”);
pptExporter.exportReport();


Any kind of advice is welcome.

[edit] I would also be great if some informations - like pricing - about the license were published.

It looks like too heavy obfuscation. I have updated jar file.
Please download it from the same location.
The version number in the manifest file should be 1.0.0.1.

Works now. Thanks !