Support Article
Error In creating List view with more than 29 fields
SA-7315
Summary
Error In creating List view with more than 29 fields
Error Messages
failed to compile generated java com.pegarules.generated.listview.ra_stream_.....
Root Cause
The root cause of this problem is It's a JAVA limititation of not creating a JAVA byte code of more than 65353 bytes:
Resolution
The code of method execute() is exceeding the 65535 bytes limit.
It's a JAVA limititation of not creating a JAVA byte code of more than 65353 bytes.
If applied sorting and filtering with large number of fields to be displayed in report,the internal java code generated is exceeding 65535 bytes limit.
Hence we can adjust the design,either by reducing number of columns or removing the sorting and filter functionality if not required.
As a best practice,List view is depricated and Pega suggests the usage of Report Definition.
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.