eroblin Posted September 19, 2011 Share Posted September 19, 2011 Hi,I develop on iReport (4.0.2) for 6 months now and i just got this errors: 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<----------------------------------------> Is my report too big (it includes severals subreports) ? What are the ways to solve this issue ? Can i just change a parameter or must i change the conception ? I work on windows XP and java 1.6.0_24 ...Some help is welcomed !Thx P.S : QTEAM_hebdo.jrxml is the main report and it includes 5 subreports Link to comment Share on other sites More sharing options...
eroblin Posted September 21, 2011 Author Share Posted September 21, 2011 I tested my report without the last variable i added and it works !This variable is quite big (many if...else... inside) and i used almost the same many times in the report.Is the scripplet a way to solve the "exceeding the 65535 bytes limit" or it will do the same ?I don't find documentation about this error so i don't know what to do ! It seems that my report is too big but i don't know on what criteria ... number of total charactere in the .jrxml (included the subreport or not) ? number of variable ? number of different data ?I give you an example of variable i use below : Code: Post Edited by eroblin at 09/21/2011 08:10 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