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

Exception occurs when reports use unexposed columns

SA-57604

Summary



Reports of Data-Decision-StrategyExecution-ResultOutput class using Data-pxStrategyResult properties class (inherited) are not exposed in the pr_dm_proposition out-of-the-box table. Therefore, the properties are fetched from the BLOB.
Errors occur while running these report definitions after disabling user-defined functions (UDF) for cloud compatibility and security issues.



Error Messages



An error occured on executing the query for the report definition - There was a problem getting a list: code: 0 SQLState: 42883 Message: ERROR: function pegadata.pr_read_from_stream(unknown, character varying, bytea) does not exist Hint: No function matches the given name and argument types. You might need to add explicit type casts. Position: 8 DatabaseException caused by prior exception: org.postgresql.util.PSQLException: ERROR: function pegadata.pr_read_from_stream(unknown, character varying, bytea) does not exist Hint: No function matches the given name and argument types. You might need to add explicit type casts. Position: 8 | SQL Code: 0 | SQL State: 42883


Steps to Reproduce

  1. Disable the UDF.
  2. Run the report definition from Data-Decision-StrategyExecution-ResultOutput


Root Cause



The reports must run on the Data-Decision-StrategyExecution-ResultOutput sub-classes and not on this class directly.

The output definitions must be created from Designer Studio > Decisioning > Decisions > Simulation > Output definition wizard. A new class is created automatically based on the user configuration. This new class inherits from Data-Decision-StrategyExecution-ResultOutput.



Resolution



Perform the following local-change such that the reports are not used.

Hide the reports from the Public Reports category.

An enhancement request, FDBK-26386, is created for consideration by Pega Product Management.


 
Suggest Edit

Published August 24, 2018 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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