Support Article

App Explorer fails for large application stack

SA-38192

Summary



User reported that the app explorer failed for a large application stack.

If an application stack contains more than 50 applications then app explorer rule categories are not shown.


Error Messages



2017-05-04 15:10:23,507 GMT [ WebContainer : 0] [ STANDARD] [leQA_Branch:01.01.01] ( rd.resolve.SqlReportResolver) ERROR appservernodeName.OSName.Host.|xxx.xxx.xxx.xxx -

An error occured during resolving the report definition - Invalid list of applications

specified to include in automatic filtering by application context.[Current Application: DevelopmentRuleQA_Branch, Version: 01.01.01]
at com.pega.pegarules.data.internal.rd.utils.ValidationUtils.throwException(ValidationUtils.java:485)
at com.pega.pegarules.data.internal.rd.resolve.AppContextResolver.getIncludeApplications(AppContextResolver.java:208)
at com.pega.pegarules.data.internal.rd.resolve.AppContextResolver.resolveAppContext(AppContextResolver.java:96)
at com.pega.pegarules.data.internal.rd.resolve.AppContextResolver.resolve(AppContextResolver.java:62)
at com.pega.pegarules.data.internal.rd.resolve.SqlReportResolver.resolve(SqlReportResolver.java:62)
at com.pega.pegarules.data.internal.rd.resolve.SqlReportResolver.resolve(SqlReportResolver.java:37)
at com.pega.pegarules.data.internal.rd.SQLExecutorResultsCP.resolve(SQLExecutorResultsCP.java:66)
at com.pega.pegarules.data.internal.rd.SqlReportExecutor.executeMainReport(SqlReportExecutor.java:94)
at com.pega.pegarules.data.internal.rd.SqlReportExecutor.execute(SqlReportExecutor.java:73)
at com.pega.pegarules.data.internal.rd.SqlReportExecutor.execute(SqlReportExecutor.java:46)
at com.pega.pegarules.data.internal.PRDataProviderImpl.executeReport(PRDataProviderImpl.java:1274)
at com.pega.pegarules.session.internal.mgmt.Executable.executeReport(Executable.java:10940)
at com.pegarules.generated.definition.ra_action_pzgetappcategoriesnonpegadeveloper_0776bf21ad422f74c9b9520e55037f78.perform(ra_action_pzgetappcategoriesnonpegadeveloper_0776bf21ad422f74c9b9520e55037f78.java:51)
at com.pega.pegarules.session.internal.mgmt.Executable.doAction(Executable.java:3332)
at com.pegarules.generated.activity.ra_action_pxretrievereportdata_cb86d7b0acc7b97206bb9a5d8f1d9cf9.step32_circum0(ra_action_pxretrievereportdata_cb86d7b0acc7b97206bb9a5d8f1d9cf9.java)
at com.pegarules.generated.activity.ra_action_pxretrievereportdata_cb86d7b0acc7b97206bb9a5d8f1d9cf9.perform(ra_action_pxretrievereportdata_cb86d7b0acc7b97206bb9a5d8f1d9cf9.java:676)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10674)
at com.pegarules.generated.activity.ra_action_pzrunappexplorerexpand_ffb208fdb2075d0bb5156da8b60c5994.step11_circum0(ra_action_pzrunappexplorerexpand_ffb208fdb2075d0bb5156da8b60c5994.java:1025)
at com.pegarules.generated.activity.ra_action_pzrunappexplorerexpand_ffb208fdb2075d0bb5156da8b60c5994.perform(ra_action_pzrunappexplorerexpand_ffb208fdb2075d0bb5156da8b60c5994.java:272)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527)
at com.pegarules.generated.activity.ra_action_pzgetchildnodes_36c7bd718d9cb0c6ff064ad36483c333.step1_circum0(ra_action_pzgetchildnodes_36c7bd718d9cb0c6ff064ad36483c333.java:330)
at com.pegarules.generated.activity.ra_action_pzgetchildnodes_36c7bd718d9cb0c6ff064ad36483c333.perform(ra_action_pzgetchildnodes_36c7bd718d9cb0c6ff064ad36483c333.java:69)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:467)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3166)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:390)
at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1301)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1038)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:893)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:331)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:825)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:327)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:270)
at com.pega.pegarules.session.internal.engineinterface.etier.ejb.EngineBean.invokeEngine(EngineBean.java:225)
at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)


Steps to Reproduce




1.Create an application on top of 50 dependent applications.
2. Log in and open App Explorer.
3. Navigate to the App Explorer and expand the Work class and its child nodes.


Root Cause



A defect in Pegasystems’ code or rules.

The Application lists we get from the appChain Page in Validation Utils gets a a max of 50 records only with the existing code.

Here user has 51 built on apps so the ValidationUtis.isValidaAPPChain is throwing an exception



Resolution



Apply HFix-34358.

Published May 18, 2017 - Updated June 9, 2017


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.