2004 IR Help Posted August 24, 2006 Share Posted August 24, 2006 By: vtzeta - vtzeta Anyone seen this error before?? 2005-12-14 11:42 Errors compiling .USAOEvents.jasper! it.businesslogic.ireport.ReportClassLoader@98a143 net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 1. The code of method evaluate(int) is exceeding the 65535 bytes limit public Object evaluate(int id) throws Throwable <-------------------------------> 2. The code of method evaluateOld(int) is exceeding the 65535 bytes limit public Object evaluateOld(int id) throws Throwable <----------------------------------> 3. The code of method evaluateEstimated(int) is exceeding the 65535 bytes limit public Object evaluateEstimated(int id) throws Throwable <----------------------------------------> 3 errors at net.sf.jasperreports.engine.design.JRJdtCompiler.compileReport(JRJdtCompiler.java:178) at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:129) 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:461) at java.lang.Thread.run(Unknown Source) By: Lucian Chirita - lucianc RE: Anyone seen this error before?? 2005-12-15 00:54 Hi JR generates a class containing methods for expression evaluation. It seems that the method generated for your expressions exceeds the JVM's max method size. Which JR version are you using? Starting with 0.6.8, expression methods contain at most 100 expressions and this situattion should not occur. HTH, Lucian 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