Jump to content
Changes to the Jaspersoft community edition download ×

PageFooter in iReport 2.0 with JasperReport 1.3.4


ODIM

Recommended Posts

Hello,

 

I´m using iReport 2.0 with JasperReport 1.3.4

My Problem is following:

 

in the Main Report the Band for PageFooter has Height = 20

The Subreportform in this Band has Height = 20

 

The PageFooter Band (where my data are stored) in the Subreport self has Height = 25 and all other Bands have Height = 0 and "Print when Expression" are set to "false", only in the details Band i forgot to set "Print when Expression" to "false"

 

at runtime this Error aacours:

 

Code:
14:08:38,920 [AWT-EventQueue-0] DEBUG net.sf.jasperreports.engine.fill.JRThreadSubreportRunner  - Fill 29427764: notified of fill result
14:08:38,920 [AWT-EventQueue-0] DEBUG net.sf.jasperreports.engine.fill.JRFillSubreport - Fill 25305362: subreport 29427764 finished
14:08:38,920 [AWT-EventQueue-0] DEBUG net.sf.jasperreports.engine.fill.JRVirtualizationContext - Cached template net.sf.jasperreports.engine.fill.JRTemplateRectangle@1d4ab0e having id 30714638_1186488518920_-1031387529
14:08:38,920 [AWT-EventQueue-0] DEBUG net.sf.jasperreports.engine.fill.JRVirtualizationContext - Cached template net.sf.jasperreports.engine.fill.JRTemplateText@ad962c having id 11376172_1186488518920_1185320769
14:08:38,920 [AWT-EventQueue-0] DEBUG net.sf.jasperreports.engine.fill.JRVerticalFiller - Fill 25305362: column footer
14:08:38,920 [AWT-EventQueue-0] DEBUG net.sf.jasperreports.engine.fill.JRVerticalFiller - Fill 25305362: page footer
14:08:38,967 [AWT-EventQueue-0] DEBUG net.sf.jasperreports.engine.fill.JRFillSubreport - Fill 25305362: creating subreport filler
14:08:38,967 [AWT-EventQueue-0] DEBUG net.sf.jasperreports.engine.fill.JRBaseFiller - Fill 7309408: created for LogisticMasterDataFooter
14:08:38,967 [AWT-EventQueue-0] DEBUG net.sf.jasperreports.engine.fill.JRFillSubreport - Fill 25305362: starting 7309408
14:08:38,967 [AWT-EventQueue-0] DEBUG net.sf.jasperreports.engine.fill.JRThreadSubreportRunner - Fill 7309408: starting thread Thread[LogisticMasterDataFooter subreport filler,6,main]
14:08:38,967 [AWT-EventQueue-0] DEBUG net.sf.jasperreports.engine.fill.JRThreadSubreportRunner - Fill 7309408: waiting for fill result
14:08:38,967 [LogisticMasterDataFooter subreport filler] DEBUG net.sf.jasperreports.engine.fill.JRBaseFiller - Fill 7309408: filling report
14:08:38,967 [LogisticMasterDataFooter subreport filler] DEBUG net.sf.jasperreports.engine.fill.JRThreadSubreportRunner - Fill 7309408: notifying of completion
14:08:38,967 [AWT-EventQueue-0] DEBUG net.sf.jasperreports.engine.fill.JRThreadSubreportRunner - Fill 7309408: notified of fill result
14:08:38,967 [AWT-EventQueue-0] ERROR net.sf.jasperreports.engine.fill.JRFillSubreport - Fill 25305362: exception
net.sf.jasperreports.engine.JRRuntimeException: Subreport overflowed on a band that does not support overflow.
at net.sf.jasperreports.engine.fill.JRVerticalFiller.addPage(JRVerticalFiller.java:1169)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageHeader(JRVerticalFiller.java:376)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:226)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:113)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:763)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:688)
at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:526)
at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:63)
at net.sf.jasperreports.engine.fill.JRThreadSubreportRunner.run(JRThreadSubreportRunner.java:209)
at java.lang.Thread.run(Thread.java:595)
14:08:38,982 [AWT-EventQueue-0] DEBUG net.sf.jasperreports.engine.fill.JRBaseFiller - Fill 5793473: created for EmptyReport
14:08:38,982 [AWT-EventQueue-0] DEBUG net.sf.jasperreports.engine.fill.JRBaseFiller - Fill 5793473: filling report
14:08:38,982 [AWT-EventQueue-0] DEBUG net.sf.jasperreports.engine.fill.JRBaseFiller - Fill 5793473: adding page 1
14:08:38,982 [AWT-EventQueue-0] DEBUG net.sf.jasperreports.engine.fill.JRVerticalFiller - Fill 5793473: detail
14:08:38,982 [AWT-EventQueue-0] DEBUG net.sf.jasperreports.engine.fill.JRBaseFiller - Fill 5793473: ended
14:08:39,029 [AWT-EventQueue-0] DEBUG com.agfa.hap.base.app.form.MessageBoxGUI - ----> start activate for com.agfa.hap.base.app.form.MessageBoxGUI
14:08:38,998 [AWT-EventQueue-0] ERROR com.agfa.hap.base.app.report.form.CoolReportForm - Subreport overflowed on a band that does not support overflow.
net.sf.jasperreports.engine.JRRuntimeException: Subreport overflowed on a band that does not support overflow.
at net.sf.jasperreports.engine.fill.JRVerticalFiller.addPage(JRVerticalFiller.java:1169)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageHeader(JRVerticalFiller.java:376)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:226)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:113)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:763)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:688)
at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:526)
at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:63)
at net.sf.jasperreports.engine.fill.JRThreadSubreportRunner.run(JRThreadSubreportRunner.java:209)
at java.lang.Thread.run(Thread.java:595)
14:08:39,029 [AWT-EventQueue-0] DEBUG hap.jdbc -

 

after i set "the print when Expression" from the details band in subreport to "false" no Error accours, but the subreport is never shown at runtime.

 

when i set the Height to 25 of the MainReport PageFooter Band (same as the subreport Band Height), then the PageFooter subreport is displayed correctly at runtime.

 

Is this a bug in the PageFooter Band from MainReport when it used with subreport and the "Print when Expressions" from details band in subreport isn´t set and the Height is not the same as Height in MainReport ???

Post edited by: ODIM, at: 2007/08/07 14:36

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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