This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes error while creating jasper report using jasper apis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "error while creating jasper report using jasper apis" Watch "error while creating jasper report using jasper apis" New topic
Author

error while creating jasper report using jasper apis

praveen shinde
Ranch Hand

Joined: Jun 03, 2009
Posts: 63
Hello friends,
When I run a simple application for crating a jasper report with jasper apis getting following error.

net.sf.jasperreports.engine.JRException: Invalid page index range : 0 - -1 of 0

Any help is welcome.

code is given below:
praveen shinde
Ranch Hand

Joined: Jun 03, 2009
Posts: 63
The error is at the following line.
JasperPrintManager.printReport("build/reports/report5.jrprint", true);
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error while creating jasper report using jasper apis
 
Similar Threads
Creating a custom datasource in Jasper Reports and iReport
Unable to export Jasper Report in html format.
How to call Jasper Report
Getting excetpion while generating report through jasper
Generate excel reports using jasper report