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

File Listener is throwing errors in the log

SA-37009

Summary



Post upgrade to Pega 7.2.2, the File Listener generates errors in the log files.


Error Messages



com.pega.pegarules.pub.clipboard.InvalidParameterException: InvalidParameter Class not defined in dictionary: Rule-Service-null aClassName .createPage

Caught throwable processing some_file_name.xml com.pega.pegarules.pub.PRException: PRException

Caused by: com.pega.pegarules.pub.services.ServiceException: Authorization failed, please contact system administrator.
at com.pega.pegarules.integration.engine.internal.services.ServiceAPI.handleAuthentication(ServiceAPI.java:1629)
at com.pega.pegarules.integration.engine.internal.services.ServiceAPI.setRequestorPrivileges(ServiceAPI.java:3397)



Steps to Reproduce

  1. Create a File Listener.
  2. At runtime, test the File Listener with 200 to 500 files.


Root Cause



A defect in Pegasystems’ code or rules.

When authentication is enabled for the File Listener, the ServiceAPI.setRequestorPrivileges() method is invoked where the Service Type is not set. Hence, the class formed is RULE-Service-null, which causes the issue. 

The defect exists in the below files:
  • com/pega/pegarules/integration/engine/internal/services/ServiceAPI.java
  • com/pega/pegarules/integration/engine/internal/services/file/RuleServiceFile.java
  • com/pega/pegarules/integration/engine/internal/services/file/FileActionImpl.java

Resolution



Apply HFix-33841.

Published October 8, 2020

Was this useful?

100% 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