Page index out of range exception

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

2006 IR Open Dicussion's picture
Joined: Aug 10 2006 - 3:24am
Last seen: 16 years 10 months ago

0 Answers:

No answers yet
Feedback