[#3263] - Never ending loop when generating report

Category:
Bug report
Priority:
Urgent
Status:
New
Project: Severity:
Critical
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

We have a problem when generating reports in specific conditions:
1. There are more elements below
2. One of the elements has set Stretch with overflow=true
3. Element from the previous item has longer value than size of detail band (detail band requires create new page)

If exists error in template (or nonstandard configuration), JasperReports must throw an error when generating report (now is it an infinite loop). When we are trying to generate report more times, it leads to the collapse of the our entire system.

We tested this bug in JasperReports v4.7.0 and v5.1.0.

In attachments there are two files:
1. report-loop.jrxml - this is example of problematic template
2. report-ok.jrxml - this is example of what we need

Thanks, regards
Radek

AttachmentSize
Package icon jasper.zip1.97 KB
Binary Data report-loop.jrxml4.26 KB
Binary Data report-ok.jrxml4.23 KB
v5.1.0
majer's picture
2
Joined: Nov 6 2013 - 12:51am
Last seen: 1 year 1 week ago

1 Comment:

#1
  • Priority:High» Urgent

System Message

Feedback
randomness