Question
Skandiabanken
SE
Last activity: 5 Jul 2016 2:43 EDT
Getting "Attempting to access a rule with a bad defined-on class:" ---------7.1.8
Getting following bad defined-on class exception .
It's giving PRRunTimeError,which is caused by : com.pega.pegarules.pub.runtime.IndeterminateConditionalException: Attempting to access a rule with a bad defined-on class: <blank>.
at com.pega.pegarules.priv.FUAUtil.activityPreTranIndeterminateConditionalCheck(FUAUtil.java:442)
The exception was observed on tracer while evaluating the below precondition of the step after Data Page Load End
Precondition :
( @String.equalsIgnoreCase(.PageName1.Prop1,"ALL") || (.PageName1.Prop1=="") ) &&
@(Pega-RULES:Utilities).IsInPageList(.PageName1.Prop2, ".pyUserIdentifier", D_OperatorList[UserID:PageName1.Prop2,UserName:""].pxResults).
Any work around to this?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems
US
Could you please post the detailed stack trace from your log file, including any associated "caused by" lines as well? /Eric
Skandiabanken
SE
com.pega.pegarules.pub.PRRuntimeError
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.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:461)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3322)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:385)
at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1270)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1008)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:841)
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:850)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:315)
com.pega.pegarules.pub.PRRuntimeError
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.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:461)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3322)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:385)
at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1270)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1008)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:841)
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:850)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:315)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:263)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:240)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:278)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:223)
at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:574)
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:374)
at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:367)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:408)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:223)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:272)
at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:121)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:420)
at org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:134)
at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:99)
at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:92)
at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:64)
at org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:272)
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.pega.pegarules.pub.runtime.IndeterminateConditionalException: Attempting to access a rule with a bad defined-on class: <blank>.
at com.pega.pegarules.priv.FUAUtil.activityPreTranIndeterminateConditionalCheck(FUAUtil.java:442)
at com.pegarules.generated.activity.ra_action_getAct_ee8ffe90ccb515493a9bdfb98c4809cf.step8_circum0(ra_action_getAct_ee8ffe90ccb515493a9bdfb98c4809cf.java:881)
at com.pegarules.generated.activity.ra_action_getAct_ee8ffe90ccb515493a9bdfb98c4809cf.perform(ra_action_getAct_ee8ffe90ccb515493a9bdfb98c4809cf.java:218)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3500)
at com.pegarules.generated.activity.ra_action_reloadsection_8d636d6ea3d6b9b680f77d0cd1f195dd.step5_circum0(ra_action_reloadsection_8d636d6ea3d6b9b680f77d0cd1f195dd.java:730)
at com.pegarules.generated.activity.ra_action_reloadsection_8d636d6ea3d6b9b680f77d0cd1f195dd.perform(ra_action_reloadsection_8d636d6ea3d6b9b680f77d0cd1f195dd.java:137)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3500)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646)
... 47 more
Pegasystems
US
The interesting part seems to be your step 8 of "getact" which you're calling during reload-section.
What is the step page in effect during the error? What are the pre and post conditions of that step?
/Eric
Skandiabanken
SE
Yes.. StepPage is pyWorkPage .
As I mentioned in my earlier post ,precondition of the step is causing the issue where DataPage is being referred .
Precondition :
( @String.equalsIgnoreCase(.PageName1.Prop1,"ALL") || (.PageName1.Prop1=="") ) &&
@(Pega-RULES:Utilities).IsInPageList(.PageName1.Prop2, ".pyUserIdentifier", D_OperatorList[UserID:PageName1.Prop2,UserName:""].pxResults).
UseCase : On change of drop down value calling an activity, user is experienced with below error .
Yes.. StepPage is pyWorkPage .
As I mentioned in my earlier post ,precondition of the step is causing the issue where DataPage is being referred .
Precondition :
( @String.equalsIgnoreCase(.PageName1.Prop1,"ALL") || (.PageName1.Prop1=="") ) &&
@(Pega-RULES:Utilities).IsInPageList(.PageName1.Prop2, ".pyUserIdentifier", D_OperatorList[UserID:PageName1.Prop2,UserName:""].pxResults).
UseCase : On change of drop down value calling an activity, user is experienced with below error .
Status | fail |
Message | There has been an issue; please consult your system administrator |
Operator ID | User1 |
Requestor ID | H5CC46EEF4C0B6B0145CEA63B3B3C60C6 |
|
Skandiabanken
SE
Pegasystems Inc.
US
What is the fail message that you are seeing in the tracer. If possible could you please attach the tracer file here.
--Ravi
Skandiabanken
SE
The error message is "Attempting to access a rule with a bad defined-on class"
Greenfield
DE
Please share the tracer file or the details of the "alert" and the both "fails". Additionally it would be interesting to see the configuration of the D_OperatorList (haven't found this one on my PRPC).