Support Article
Getting bytes limit error on XML stream rules
SA-31932
Summary
User is facing exceeding bytes limit issue in Pega 7.2.1. The same packet is working fine in PRPC 6.1.
Error Messages
In the tracer it shows "Error: The code for the static initializer is exceeding the 65535 bytes limit"
Steps to Reproduce
1. Lookup an account.
2. Enter the account and click on search. Request is sent to the service.
Root Cause
After upgrading from PRPC 6.1 to Pega 7.2.1 the XML Stream rule got changed.
Ananlysed the two XML Stream rules and found that few When rules missed in the Pega 7.2.1 version.
Resolution
Add When rules for the respective elements in XML stream rule to resolve the issue.
Published January 5, 2017 - 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.