Jump to content
Changes to the Jaspersoft community edition download ×

Infinite loop with multiple subreports


2004 IR Help

Recommended Posts

By: Chris - qoviachris

Infinite loop with multiple subreports

2005-08-04 08:58

I have a master report with 6 subreports, each subreport has its own scriplet class. When i run the sub reports by themselves everything works.

 

When I run the master report with only 1 subreport inside it, everything works.

 

When I run the master report with more than 1 subreport inside it, then the 1st subreport's scriplet class gets called in an infinite loop

 

Any Ideas?

 

 

 

 

By: Teodor Danciu - teodord

RE: Infinite loop with multiple subreports

2005-08-05 01:07

 

Hi,

 

I suspect you place the subreports into the same band

of the master report which gets very tall.

This way lower subreport get to be rendered always

lower on the page and there seems to be not enough

space for them to render and a new page is started.

 

You need to split the tall band into multiple pieces

and have each subreport placed in its own band

like suggested here:

http://jasperreports.sourceforge.net/tips.tricks.html#largebands

 

I hope this helps.

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...