Jump to content
Changes to the Jaspersoft community edition download ×

Page index out of range exception


Recommended Posts

By: robert casson - rcasson
Page index out of range exception
2002-12-11 07:54
Hi. When I attempt to view a filled report that contains no rows I get this exception
view:

dori.jasper.engine.JRException: Page index out of range : 0 of -1  at dori.jasper.engine.export.JRGraphics2DExporter.exportReport(RGraphics2DExporter.java:202)

How can I avoid this?

Thanks




By: Teodor Danciu - teodord
RE: Page index out of range exception
2002-12-11 08:11

Hi,

Use the "whenNoDataType" attribute.

Good luck!
Teodor

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...