Jasper Reports and iReport issue

Posted by William on Stack Overflow See other posts from Stack Overflow or by William
Published on 2010-05-05T00:51:01Z Indexed on 2012/09/27 15:38 UTC
Read the original article Hit count: 181

Filed under:
|

I am having an issue with JasperReports I can not solve. I am using Eclipse, OpenReports 3.2 and IReport 3.7

The issue I am having is that the report does nothing. When I preview the report in IReport I can at least get a "Document has no pages" message but when I try to open it using OpenReports it doesn't do anything. I get the open reports header and the copyright message but nothing between them.

I was able to track it down to line 150 in ReportRunAction.java in OpenReports. That line is:

jasperPrint = jasperEngine.fillReport(reportInput);

At least that is the line the page dies on. It trips the catch block that the line is inside of but the error is empty. When I try to print the description it is null. I can't swear that the issue isn't that parameter. Through looking around all I have been able to find is something about how the report needs to be compiled with the same version of the jasperreports.jar that OpenReports uses. I have no idea how to tell if/what version of jasper reports is being bundled into the .jasper file though.

Is that my problem? If so how do I tell/set the version of the jar that gets bundled? If not; help!

© Stack Overflow or respective owner

Related posts about jasper-reports

Related posts about ireport