Jump to content
Changes to the Jaspersoft community edition download ×

Code of a method longer than 65535 bytes

2005 IR Help

Recommended Posts

By: Piotr Sieniawski - psieniawski

Code of a method longer than 65535 bytes

2004-10-19 02:59


I have a big number (268) of fields in the report and I get the exception printed below.

Any advice but change in the jasper sources?


java.lang.ClassFormatError: Code of a method longer than 65535 bytes

at java.lang.ClassLoader.defineClass0(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:502)

at java.lang.ClassLoader.defineClass(ClassLoader.java:431)

at net.sf.jasperreports.engine.util.JRClassLoader.loadClass(JRClassLoader.java:247)

at net.sf.jasperreports.engine.util.JRClassLoader.loadClassFromBytes(JRClassLoader.java:162)

at net.sf.jasperreports.engine.design.JRAbstractJavaCompiler.loadCalculator(JRAbstractJavaCompiler.java:201)

at net.sf.jasperreports.engine.design.JRDefaultCompiler.loadCalculator(JRDefaultCompiler.java:184)

at net.sf.jasperreports.engine.fill.JRBaseFiller.loadCalculator(JRBaseFiller.java:634)

at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:331)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:127)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:119)

at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:151)

at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:353)

at net.sf.jasperreports.engine.JasperFillManager.fillReportToStream(JasperFillManager.java:323)





By: Chuck Deal - cdeal

RE: Code of a method longer than 65535 bytes

2004-10-19 04:21

You might have to use subreports to break your one large report into smaller pieces,

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