This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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
Unable to export Jasper Report in html format.
Generate excel reports using jasper report
Creating a custom datasource in Jasper Reports and iReport
How to call Jasper Report
Getting excetpion while generating report through jasper