xagyg Posted October 24, 2006 Share Posted October 24, 2006 Any help appreciated. I installed iReport and attached a data source to the Test Template. I get this: ÂCompiling to file... .classic.jasper -> D:Program FilesJasperSoftiReport-1.2.7classic.javaErrors compiling .classic.jasper! it.businesslogic.ireport.ReportClassLoader@13500b1 net.sf.jasperreports.engine.JRException:ÂReport design not valid :Â ÂÂÂÂÂ1.ÂWarningÂ:ÂElementÂbottomÂreachesÂoutsideÂbandÂareaÂ:Ây=0Âheight=1Âband-height=0 atÂnet.sf.jasperreports.engine.design.JRAbstractCompiler.verifyDesign(JRAbstractCompiler.java:267) ÂÂÂÂatÂnet.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:144) ÂÂÂÂatÂnet.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:105) ÂÂÂÂatÂnet.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:127) ÂÂÂÂatÂnet.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:109) ÂÂÂÂatÂit.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:507) ÂÂÂÂatÂjava.lang.Thread.run(UnknownÂSource) Compilation running time : 78 Link to comment Share on other sites More sharing options...
xagyg Posted October 24, 2006 Author Share Posted October 24, 2006 Ok. I found the problem! From a previous post I see that you have to expand the elements on the left to see where the red element (i.e. the element in error) is highlighted. It is unusual that the default template produces a dodgy layout, but at least I know how to fix it now. NOTE: the red element does NOT appear until you save and reload the report! Only then can you apply the fix above. When you first generate the report no elements are highlighted red, but an error is given. Save and reload... voila! Nasty! .. but fixed. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now