Symptoms
Application users cannot work on any cases because they are blocked by the error message indicating that they are not authorized to open instances.
Logs also show Exceptions and NPEs.
PDC shows that, for affected application users, HTTP applications (web node and user interface) are very slow and trigger PEGA0004, PEGA0020, PEGA0040, and PEGA0133 alerts.
Errors
On-screen error
You are not authorized to open instance.
PEGA alerts PEGA0004, PEGA0020, PEGA0040, PEGA0013
Log errors
Exception encountered while executing a data transform.
java.lang.NullPointerException
Explanation
When the DEBUG logger is enabled for the AccessEvaluator Java class, background processing and system performance are negatively affected.
The PEGA0004 alert indicates that a PegaRULES database WRITE operation has saved a single Storage Stream BLOB (pzPVStream property value) that is larger than the threshold value.
The AccessEvaluator logger is set to DEBUG to display log messages. The AccessEvaluator DEBUG logger triggers auto populate of properties after the work object is open during security checks that ensure the end user can view the data being opened. The DEBUG logging is using getXML() on the work object page causing auto populate properties to load and can cause exceptions when loading associated data pages. Furthermore, because the DEBUG logger retrieves the full XML data for the work object page the logfiles can grow large quickly causing file storage to fill up impacting system performance.
Future Pega Platform releases will remove getXML() from the DEBUG logger to prevent it from triggering auto populate and loading data for the Obj-Open method.
Environment
The issue was reported in the following environments:
- Pega Platform version 8.7.3
- Pega Platform version 8.7.3 on Pega Cloud 2.23.4
Solutions
For Pega Platform versions later than Pega Platform version 8.7.3, perform the following local change:
Reset the AccessEvaluator logger to turn off DEBUG.
See (Optional) Configuring logging for Pega Platform deployments.
For Pega Platform version 8.7.3 and earlier versions, do not enable DEBUG mode for the AccessEvaluate logger.
This Pega Platform issue will be addressed in future patch releases.
Watch the Pega Support Center for Pega Platform Resolved Issues for ISSUE-777839 (Pega Platform version 8.7.5), ISSUE-777840, and ISSUE-777841 (Pega Platform version 8.8.3).
Related Content
PEGA0004 alert: Quantity of data received by database query exceeds limit
PEGA0020 alert: Total connect interaction time exceeds limit
PEGA0040 alert: BLOB size written to the database exceeded a threshold
PEGA0133 alert: Allocated memory threshold reached
(Optional) Configuring logging for Pega Platform deployments