Support Article
When rule exceeding 65535 byte limit
SA-19711
Summary
When using a large When rule with multiple sum of products of the form : (A && EA) || (B && EA) .... || (DZ && EA) And error occurs at runtime and when saving the rule.
Error Messages
Failed to compile generated java ... The code of method evaluate() is exceeding the 65535 bytes limit.
Steps to Reproduce
- build complicated when rule with over 200 variables to test.
Root Cause
The rule appears to have larger byte code in the 7.1.8 FUA circumstances compared to 6.2sp2.
Resolution
Perform the following local-change:
Refactor the expression to be simpler, or break the When rule into multiple When rules.
Published February 13, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.