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

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

Published May 11, 2015 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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