Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Large list view sometimes fails with Java error



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/ (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.


This issue is resolved through the following local change:

Enable sorting for the list view to be within the Java 64K bytecode limit.
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us