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
- Create a File Listener.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.