Results 1 to 3 of 3
  1. #1
    simon is offline Member
    Join Date
    Jul 2007
    Posts
    44
    Rep Power
    0

    Default net.sf.jasperreports.engine.JRException: Report design not valid

    I'm using jasper reports and I'm getting the following exception when compile my xml
    Java Code:
    net.sf.jasperreports.engine.JRException: Report design not valid :
    1. Warning : Element bottom reaches outside band area : y=20 height=1 band-height=20
    What is band how do I set it correctly?

    thank you

  2. #2
    oregon is offline Member
    Join Date
    Jul 2007
    Posts
    41
    Rep Power
    0

    Default

    it seems to be only warning is generated and not error. The warning is because starting from y=20 the height=1 so the vertical position is now 20+1 =21, so the band height must be greater than 21 increase it above 21 say 25.

  3. #3
    Join Date
    Jan 2008
    Posts
    1
    Rep Power
    0

    Question hello please try me sort out this exception

    Exception in thread "main" java.lang.UnsupportedClassVersionError: (DbReport_1200898605940_430273) bad major version at offset=6
    at java.lang.ClassLoader.defineClassImpl(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java :222)
    at net.sf.jasperreports.engine.util.JRClassLoader.loa dClass(JRClassLoader.java:245)
    at net.sf.jasperreports.engine.util.JRClassLoader.loa dClassFromBytes(JRClassLoader.java:154)
    at net.sf.jasperreports.engine.design.JRAbstractJavaC ompiler.loadEvaluator(JRAbstractJavaCompiler.java: 77)
    at net.sf.jasperreports.engine.design.JRAbstractCompi ler.loadEvaluator(JRAbstractCompiler.java:327)
    at net.sf.jasperreports.engine.design.JRDefaultCompil er.loadEvaluator(JRDefaultCompiler.java:195)
    at net.sf.jasperreports.engine.fill.JRFillDataset.cre ateCalculator(JRFillDataset.java:370)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.<ini t>(JRBaseFiller.java:341)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller. <init>(JRVerticalFiller.java:92)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller. <init>(JRVerticalFiller.java:74)
    at net.sf.jasperreports.engine.fill.JRFiller.createFi ller(JRFiller.java:147)
    at net.sf.jasperreports.engine.fill.JRFiller.fillRepo rt(JRFiller.java:83)
    at net.sf.jasperreports.engine.JasperFillManager.fill Report(JasperFillManager.java:601)
    at net.sf.jasperreports.engine.JasperFillManager.fill ReportToFile(JasperFillManager.java:492)
    at net.sf.jasperreports.engine.JasperFillManager.fill ReportToFile(JasperFillManager.java:448)
    at report.DbReportFill.generateReport(DbReportFill.ja va:80)
    at report.DbReportFill.main(DbReportFill.java:94)

Similar Threads

  1. JasperReports 2.0.5
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 03-14-2008, 07:29 PM
  2. Valid declarations
    By heat84 in forum New To Java
    Replies: 1
    Last Post: 12-22-2007, 03:29 AM
  3. Help with valid declarations of a float
    By baltimore in forum New To Java
    Replies: 1
    Last Post: 07-31-2007, 11:28 AM
  4. Reports in JasperReports
    By Jack in forum Advanced Java
    Replies: 2
    Last Post: 07-04-2007, 04:09 AM
  5. JasperReports 1.3.4
    By levent in forum Java Software
    Replies: 0
    Last Post: 06-19-2007, 06:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •