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

Report Browser does not respond instead of Error Handling

SA-94204

Summary



The browser is unresponsive when the Pega Report Browser fails to execute a report. This occurs when an Association class' Attribute-based access control (ABAC) policy prevents the access to one of the classes in the Association.


Error Messages



Exception printed in logs,

com.pega.pegarules.pub.clipboard.InvalidParameterException: cannot be null.  page: Tmp7B5F617FC4911FCA3D4D.  Details: Invalid value for aMsgDescr passed to com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.addMessage(String)


Steps to Reproduce

  1. Create two classes (for example, class A and class B).
  2. Create an Association rule X in class A that joins class B.
  3. Provide an operator ABAC access to class A but not to class B.
  4. Create a report in the Report Browser for class A.
  5. On the Data Explorer (left pane) click the All Matches tab.
  6. Click the '+More' icon. The Association X displays in the property tree in the Report Browser for class A.
  7. Drag a property from the Association rule to the columns section in the Report Browser.


Root Cause



A defect in Pegasystems’ code or rules.

When the Access Control Policy condition has the 'Any Of' or 'All Of' relationship, and the policy conditions start with a 'Is Null' or 'Is not Null' relationship, the SecurityPolicyUtils.getPolicyMetadataList API displays incorrect metadata about 'AnyOf' or 'AllOf' relationships. 
As a result, NullPointerException (NPE) occurs during a save, execution of the report definition, or drag and drop of the properties in the Report Browser.


Resolution



Perform the following local-change:
  1. Change the order of the Policy conditions.
  2. Set all the Policy conditions with 'Is Null' or 'Is Not Null' relationship.

Published March 18, 2020 - 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