Question

java.lang.NoClassDefFoundError: com/pega/pegarules/data/internal/store/RetryPolicy

Hi,

For one of our implementations, we take in an excel sheet and queue it for processing. Agent takes 1 excel file at a time and processes it. Sproadically we are seeing below error in our log files and the agent processing is going into Broken-Process. When we re-queue this Broken-Process item, it works fine.

java.lang.NoClassDefFoundError: com/pega/pegarules/data/internal/store/RetryPolicy at com.pega.pegarules.data.internal.store.DataStoreManager.getRetryPolicy(DataStoreManager.java:431) at com.pega.pegarules.data.internal.store.DataStoreManager.doInTransaction(DataStoreManager.java:300) at com.pega.pegarules.data.internal.access.UpdateProcessor.processUpdates(UpdateProcessor.java:215) at com.pega.pegarules.data.internal.access.DatabaseImpl.commit(DatabaseImpl.java:2120) at com.pega.pegarules.data.internal.access.DatabaseImpl.commit(DatabaseImpl.java:2082) at com.pegarules.generated.activity.ra_action_datacommitwitherrorhandling_73a071d3cfa11356d132aa901c9239fd.step2_circum0(ra_action_datacommitwitherrorhandling_73a071d3cfa11356d132aa901c9239fd.java:337) at com.pegarules.generated.activity.ra_action_datacommitwitherrorhandling_73a071d3cfa11356d132aa901c9239fd.perform(ra_action_datacommitwitherrorhandling_73a071d3cfa11356d132aa901c9239fd.java:89) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2695) at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10961) at com.pegarules.generated.activity.ra_action_saveorupdatelicenseowner_671e08114817713955a35e15a157d04e.step12_circum0(ra_action_saveorupdatelicenseowner_671e08114817713955a35e15a157d04e.java:1150) at com.pegarules.generated.activity.ra_action_saveorupdatelicenseowner_671e08114817713955a35e15a157d04e.perform(ra_action_saveorupdatelicenseowner_671e08114817713955a35e15a157d04e.java:300) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2695) at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10961) at com.pegarules.generated.activity.ra_action_wrappercreatelicenseowner_ecfe0f9caf18adf6d9d20fde9804cd9e.step5_circum0(ra_action_wrappercreatelicenseowner_ecfe0f9caf18adf6d9d20fde9804cd9e.java:569) at com.pegarules.generated.activity.ra_action_wrappercreatelicenseowner_ecfe0f9caf18adf6d9d20fde9804cd9e.perform(ra_action_wrappercreatelicenseowner_ecfe0f9caf18adf6d9d20fde9804cd9e.java:161) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2695) at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10961) at com.pegarules.generated.activity.ra_action_wrappercreateportfolioobjects_3570202e8ba8b8723ed446565ecf992c.step6_circum0(ra_action_wrappercreateportfolioobjects_3570202e8ba8b8723ed446565ecf992c.java:612) at com.pegarules.generated.activity.ra_action_wrappercreateportfolioobjects_3570202e8ba8b8723ed446565ecf992c.perform(ra_action_wrappercreateportfolioobjects_3570202e8ba8b8723ed446565ecf992c.java:156) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2695) at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10961) at com.pegarules.generated.activity.ra_action_getimportfileidrecords_43ee713a7979e4c55d6027b0292bf9d1.step5_3_circum0(ra_action_getimportfileidrecords_43ee713a7979e4c55d6027b0292bf9d1.java:858) at com.pegarules.generated.activity.ra_action_getimportfileidrecords_43ee713a7979e4c55d6027b0292bf9d1.step5_0_circum0(ra_action_getimportfileidrecords_43ee713a7979e4c55d6027b0292bf9d1.java:660) at com.pegarules.generated.activity.ra_action_getimportfileidrecords_43ee713a7979e4c55d6027b0292bf9d1.perform(ra_action_getimportfileidrecords_43ee713a7979e4c55d6027b0292bf9d1.java:158) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2695) at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10961) at com.pegarules.generated.activity.ra_action_processcustomerfiledata_e4da50b26a117f5add2f8ef429f6f32f.step5_circum0(ra_action_processcustomerfiledata_e4da50b26a117f5add2f8ef429f6f32f.java:701) at com.pegarules.generated.activity.ra_action_processcustomerfiledata_e4da50b26a117f5add2f8ef429f6f32f.perform(ra_action_processcustomerfiledata_e4da50b26a117f5add2f8ef429f6f32f.java:153) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2695) at com.pega.pegarules.session.internal.async.agent.QueueProcessor.runActivity(QueueProcessor.java:798) at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(QueueProcessor.java:655) at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:1155) at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1371) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1114) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:995) at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:816) at com.pega.pegarules.session.internal.async.Agent.queueBatchActivityForAgent(Agent.java:1569) at com.pega.pegarules.session.internal.async.Agent.queueBatchActivityForAgent(Agent.java:1338) at com.pega.pegarules.session.internal.async.AgentQueue.run(AgentQueue.java:945) at com.pega.pegarules.session.internal.async.Agent.runAgentTask(Agent.java:982) at com.pega.pegarules.session.internal.engineinterface.etier.impl.AsyncServant.processAsyncTask(AsyncServant.java:237) at com.pega.pegarules.session.internal.engineinterface.etier.impl.AsyncServant.invoke(AsyncServant.java:172) at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:331) at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:274) at com.pega.pegarules.session.internal.engineinterface.etier.ejb.EngineBean.invokeEngine(EngineBean.java:225) at sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:381) at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:422) at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224) at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingException(AppServerBridgeToPega.java:246) at com.pega.pegarules.internal.etier.ejb.EngineBeanBoot.invokeEngine(EngineBeanBoot.java:168) at com.pega.pegarules.internal.etier.ejb.EngineBMT_h449u3_ELOImpl.__WL_invoke(Unknown Source) at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:33) at com.pega.pegarules.internal.etier.ejb.EngineBMT_h449u3_ELOImpl.invokeEngine(Unknown Source) at com.pega.pegarules.session.internal.engineinterface.etier.mdb.PRAsync.processRequest(PRAsync.java:155) at com.pega.pegarules.session.internal.engineinterface.etier.mdb.PRAsync.onMessage(PRAsync.java:112) at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:381) at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:422) at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224) at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273) at com.pega.pegarules.internal.etier.mdb.PRAsyncBoot.onMessage(PRAsyncBoot.java:91) at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:453) at weblogic.ejb.container.internal.MDListener.run(MDListener.java:683) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:553) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311) at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

Any pointers would be helpful.

***Edited by Moderator Marissa to update platform capability tags****

Comments

Keep up to date on this post and subscribe to comments

Pega
August 21, 2019 - 5:55am

Hello Piyush,

Could you share the trace of the agent and the complete log since the agent wakes up start processing?

 

Thank you,
Pawan

October 16, 2019 - 9:34am

I just got same exception.

Do somebody have any update?

 

TX, HiDe

October 17, 2019 - 4:51am
Response to HiDeT509

Hi,

Thank you for posting your query in the PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write Post button here. Once created, please reply here with the URL of the new post.

You may also refer this discussion link as a reference in the new thread.

Vidyaranjan | Community Moderator | Pegasystems Inc.