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

Multiple errors occur when publishing a document

SA-87490

Summary



In the Pega Publisher portal, multiple errors are generated in the logs while working or publishing a document.


Error Messages



[WebContainer : 4] [STANDARD] [ ] (rd.resolve.SqlReportResolver) ERROR - An error occured during resolving the report definition - Invalid workpool specified: '' java.lang.IllegalArgumentException: Invalid workpool specified: ''

                at com.pega.pegarules.data.internal.rd.service.DefaultCommonsService.checkArgumentWithLocalizedText(DefaultCommonsService.java:350) ~[prprivate.jar:?]
                at com.pega.pegarules.data.internal.rd.service.DefaultCommonsService.getWorkPoolforAbstractClass(DefaultCommonsService.java:198) ~[prprivate.jar:?]
                at com.pega.pegarules.data.internal.rd.utils.CommonUtils.getWorkPoolforAbstractClass(CommonUtils.java:100) ~[prprivate.jar:?]
...
                at com.pega.platform.query.LogicalQueryExecutions.executor(LogicalQueryExecutions.java:124) ~[logicaldatastore.jar:?]
                at com.pega.pegarules.data.internal.PRDataProviderImpl.executeReport(PRDataProviderImpl.java:1533) ~[prprivate.jar:?]
                at com.pega.pegarules.session.internal.mgmt.Executable.executeReport(Executable.java:11220) ~[prprivate.jar:?]
                at com.pegarules.generated.definition.ra_action_pygetallfollowedcases_774a3a3e311e9a110219d282c5dd7869.perform(ra_action_pygetallfollowedcases_774a3a3e311e9a110219d282c5dd7869.java:54) ~[?:?]
                at com.pega.pegarules.session.internal.mgmt.Executable.doAction(Executable.java:2204) ~[prprivate.jar:?]
...
                at com.pega.pegarules.session.internal.mgmt.autostreams.AutoStreamRuntimeImpl.handleEvaluateWhen(AutoStreamRuntimeImpl.java:1266) ~[prprivate.jar:?]
                at com.pega.pegarules.session.internal.mgmt.autostreams.uicomponent.context.ContextProcessor.updateWhenInContextData(ContextProcessor.java:2348) ~[prprivate.jar:?]
                at com.pega.pegarules.session.internal.mgmt.autostreams.uicomponent.context.RuntimeContextTree.executeVisibleWhen(RuntimeContextTree.java:322) ~[prprivate.jar:?]
                at com.pega.pegarules.session.internal.mgmt.autostreams.uicomponent.context.RuntimeContextTree.beginVisibleWhen(RuntimeContextTree.java:502) ~[prprivate.jar:?]
                at com.pegarules.generated.html_section.ra_stream_pyrecentfollowedcases_31e9eb1cb3daf68ce1e21a0061d415e5.simpleLayoutTemplateCell_1(ra_stream_pyrecentfollowedcases_31e9eb1cb3daf68ce1e21a0061d415e5.java:1318) ~[?:?]
                at com.pegarules.generated.html_section.ra_stream_pyrecentfollowedcases_31e9eb1cb3daf68ce1e21a0061d415e5.simpleLayout_2(ra_stream_pyrecentfollowedcases_31e9eb1cb3daf68ce1e21a0061d415e5.java:1648) ~[?:?]



Steps to Reproduce

  1. Launch the Pega Publisher portal.
  2. Work with a document or publish it.


Root Cause



A defect or configuration issue in the operating environment.

The access group of the operator did not have the work pool to execute the pyGetAllFollowedCases report definition which was invoked in the pyRecentFollowedCases section.


Resolution



Perform the following local-change such that the report definition is executed in the work pool instead of in the empty('') context:

Add a Work Pool class in the Operator's access group in the Advanced tab.

Published March 19, 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