Support Article
InvalidReferenceException occurs on executing reports
SA-99892
Summary
InvalidReferenceException occurs on executing reports. This occurs despite exposing the report properties.
Error Messages
Error: ** ** InvalidReferenceException OpID.pyAccessGroup Unexposed properties cannot be selected for classes mapped to external tables
Steps to Reproduce
- Create a report definition in the Work class.
- Add an Operator class Join with a worklist.
- Execute the report.
Root Cause
A backwards compatibility defect in Pegasystems’ code or rules.
The report definition has a Join on the Data-Admin-Operator-ID which also has an Implementation class. Since the 'Report on Implementation classes' option is enabled, it applies for the Join class as well. The exception occurred because the Implementation class of the Data-Admin-Operator-ID is mapped to an external table and the Join properties used in the report are not exposed in the external table.
Resolution
Here’s the explanation for the reported behavior:
Prior to Pega Platform 7.3.1, the 'Report on Implementation classes' option did not apply to the Join class and but only to the applies-to class. Hence, exceptions do not occur for the same report. However, this behavior changed as of Pega Platform 7.3.1.
Published June 3, 2020 - 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.