Question

3
Replies
2454
Views
KonstantinB Member since 2012 6 posts
I.T. Co.
Posted: December 22, 2017
Last activity: January 3, 2018
Closed

Some PRRuntimeError in logs caused by com.pega.pegarules.pub.runtime.IndeterminateConditionalException: Trying to evaluate Rule-Access-When conditions < ACCESS WHEN NAME > when there is no page to evaluate them against

Hello,

There are some errors like this in the logs for our application when a user creates a new case instance(user uses Create button) :

ERROR - Batch activity "<CLASS_NAME>.pxTrackAction" threw:
com.pega.pegarules.pub.PRRuntimeError: PRRuntimeError
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:712)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivities(ThreadRunner.java:572)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivities(PRThreadImpl.java:459)
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.executeBatchTask(QueueProcessor.java:257)
at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(QueueProcessor.java:321)
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:980)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1290)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1038)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:920)
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:697)
at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:991)
at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:532)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.pega.pegarules.pub.runtime.IndeterminateConditionalException: Trying to evaluate Rule-Access-When conditions <ACCESS_WHEN_NAME> when there is no page to evaluate them against
at com.pega.pegarules.exec.internal.basic.dictionary.AccessInfoConclusion.evaluateConditions(AccessInfoConclusion.java:894)
at com.pega.pegarules.exec.internal.basic.dictionary.AccessInfoConclusion.evaluate(AccessInfoConclusion.java:798)
at com.pega.pegarules.session.internal.authorization.access.AccessEvaluator.haveAccess(AccessEvaluator.java:193)
at com.pega.pegarules.session.internal.authorization.Authorization.haveAccess(Authorization.java:1592)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3484)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646)
... 12 more
There are no any errors on UI.
I guess the issue root is a using of Access Deny rule to restrict the number of users who can create and work with this case instances.
So, could you please let me know how to fix this error?
The version of Pega Platform is 7.2.1 .
Thank you in advance.
***1/2/2018- edited by moderator, Maryrita: moved to Product Support from Applications***
Low-Code App Development Security
Moderation Team has archived post
Share this page LinkedIn