Support Article
Large list view sometimes fails with Java error
SA-5893
Summary
Sometimes, when user runs a large list view (>20 columns), the list view does not come up and user sees the below error on the screen.
Error Messages
Failed to compile generated Java com.pegarules.generated.listview.ra_stream_browseinactiveoperatorsbusa_all_82e6988dc5541bead38773a0cf4aaa11: ---------- 1. ERROR in com/pegarules/generated/listview/ra_stream_browseinactiveoperatorsbusa_all_82e6988dc5541bead38773a0cf4aaa11.java (at line 72) public void execute() { ^^^^^^^^^ The code of method execute() is exceeding the 65535 bytes limit ---------- 1 problem (1 error)
Steps to Reproduce
Run a list view with more than 20 columns and both sorting and filtering enabled.
Root Cause
The root cause of this problem is a defect in customer application code or rules.
The list view has a large enough number of columns that enabling sorting and filtering causes the generated code to exceed the Java 64K bytecode limit.
Resolution
This issue is resolved through the following local change:
Enable sorting for the list view to be within the Java 64K bytecode limit.
Published January 31, 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.