Support Article
Stream Overwritten errors
SA-9647
Summary
User observes many PEGA0031 StreamOverwritten errors in ALERT logs.
Error Messages
java;RULE-OBJ-ACTIVITY @BASECLASS SHOW-HARNESS #20120716T123943.212 GMT Step: 6 Circum: 0;doActivity Rule-Obj-Activity:Show-Harness;Call Show-Harness;RULE-OBJ-ACTIVITY MM-CSO-PSS-WORK-INTERACTION-PWEB OPENHARNESS #20120626T151647.805 GMT Step: 11 Circum: 0;2 additional frames in stack;
Steps to Reproduce
Open the CPM Portal and navigate between Tabs in the Application.
Root Cause
You get PEGA0031 alert when the generated stream has been overwritten without being sent to a browser client. The processing steps used to create the stream is wasted, since the stream was not sent.
For example, when a user starts the interaction and establishes a connection to the system, pxHTMLStream ( property which stores the HTML stream) does not exist. When an activity is called to display the stream (Show-Html, Show-Harness) it sends HTML content to the user, now it verifies whether pxHTMLStream exists or not.
PEGA0031 alert occurs if the Show-Html/Show-Harness method detects that the property pxHTMLStream already exists, which means there was a redundant call.
Resolution
Refere the below PDN link to know the troubleshooting tips.
https://pdn.pega.com/performance/understanding-the-pega0031-generated-stream-overwritten-and-not-sent-to-client
Tags:
Published May 11, 2015 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.