Support Article
Data table editor error
SA-3421
Summary
Unable to edit data table using data table editor as error is thrown.
Error Messages
Status fail
Message Failed to compile generated Java com.pegarules.generated.listview.ra_stream_datatableclasseditor_all_590ce039af08297733b5f5f3f3f71509: ---------- 1. ERROR in com/pegarules/generated/listview/ra_stream_datatableclasseditor_all_590ce039af08297733b5f5f3f3f71509.java (at line 73) public void execute() { ^^^^^^^^^ The code of method execute() is exceeding the 65535 bytes limit ---------- 1 problem (1 error)
Operator ID csmsysadmin
Requestor ID HA62F373BFAE0F6F20C00F4D58B6DF662
Timestamp Thu Nov 06 16:08:31 HKT 2014
Engine Version PegaRULES 7.10 ML5 (coreAssemblyCached_715_230)
Steps to Reproduce
Not Applicable
Root Cause
The root cause of this problem is in a third-party product integrated with PRPC.
The error is due to a Java compiler limitation on Methode size text to be not greater than 64 KB.
Resolution
The explanation for this behavior is as follows:
This is a known limitation with Java compiler. Essentially any Java method size (text size of the method) cannot exceed 64 KB. Since PRPC generates Java dynamically, for very complex rules it is possible to exceed this size when generating code. That is when you get this error.
See: https://pdn.pega.com/performance/issue-java-64k-method-size-limit
The only way around is to simplify the rule (Data table in this case). Break it down into smaller segments (smaller tables).
Published April 26, 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.