Jump to content
Changes to the Jaspersoft community edition download ×

Compile error Jasper Reports fonts sample


2004 IR Help

Recommended Posts

By: John Zoetebier - johnzoet

Compile error Jasper Reports fonts sample

2004-01-12 18:06

I opened a smaple XML file from Jasper Reports in jasperreports/demo/samples/fonts/FontsReport.xml

This report is working fine when I run it using the Ant build file delivered with the sample file.

When I click on complie in iReport 0.2.2 I get this error:

==>

Compiling to file... /home/johnz/learning_eclipse/jasperreports/demo/samples/fonts/FontsReport.jasper -> /opt/iReport-0.2.2/FontsReport.java Errors compiling /home/johnz/learning_eclipse/jasperreports/demo/samples/fonts/FontsReport.jasper! dori.jasper.engine.JRException:?Report?design?not?valid?:? ?????1.?The?title?section,?the?page?and?column?headers?and?footers?and?the?margins?do?not?fit?the?page?height. ????at?dori.jasper.engine.design.JRAbstractJavaCompiler.compileReport(JRAbstractJavaCompiler.java:110) ????at?dori.jasper.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:136) ????at?dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:135) ????at?dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:123) ????at?it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:139) ????at?java.lang.Thread.run(Thread.java:534)

==>

 

 

 

 

By: Giulio Toffoli - gt78

RE: Compile error Jasper Reports fonts sample

2004-01-15 09:08

wow!

 

Anyway check band heights. It's possible that some bands are not declared in FontsReport.xml

and iReport insert they with an height of 50 pixels (iReport default for new bands height).

The result is that you have a total height > page height.

 

Solution: Set to zero the hight of unused bands.

 

Giulio

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