Question

2
Replies
33
Views
Close popover
Abhishek Gubba (AbhishekG0256)
Centene Corporation

Centene Corporation
US
AbhishekG0256 Member since 2020 4 posts
Centene Corporation
Posted: January 28, 2021
Last activity: March 7, 2021

Jobscheduler is failing randomly with java.lang.NoClassDefFoundError:

A Job scheduler is set to run at a particular time every day and it is failing randomly (atleast once in a week) with an exception like shown below. The activity referred in the job scheduler ran successfully on a manual attempt (after the failure scenario). Can anyone throw some light on this issue, below is the stack trace,

Java Stack Trace console

java.lang.NoClassDefFoundError: com/pega/pegarules/generation/internal/vtable/dao/impl/LookupClassNameQuery at com.pega.pegarules.generation.internal.vtable.dao.VirtualTableAssemblerDataAccessImpl.lookupClassName(VirtualTableAssemblerDataAccessImpl.java:64) at com.pega.pegarules.generation.internal.vtable.asm.VirtualTableAssemblyHandler.lookupForAspect(VirtualTableAssemblyHandler.java:257) at com.pega.platform.executionengine.vtable.containers.AspectOnlyRuleContainer.upgrade(AspectOnlyRuleContainer.java:74) at com.pega.platform.executionengine.vtable.ruleres.VirtualTableCandidate.upgradeContainerFor(VirtualTableCandidate.java:311) at com.pega.platform.executionengine.vtable.ruleres.VirtualTableCandidate.getExecutableContainerFor(VirtualTableCandidate.java:237) at com.pega.pegarules.generation.internal.vtable.ruleres.VirtualTableCandidateRuleResolverImpl.getContainerFromCandidate(VirtualTableCandidateRuleResolverImpl.java:396) at com.pega.pegarules.generation.internal.vtable.ruleres.VirtualTableCandidateRuleResolverImpl.resolveToContainer(VirtualTableCandidateRuleResolverImpl.java:381) at com.pega.pegarules.generation.internal.vtable.ruleres.VirtualTableCandidateRuleResolverImpl.resolveRule(VirtualTableCandidateRuleResolverImpl.java:104) at com.pega.platform.executionengine.vtable.value.internal.GenericVirtualTableCandidatesGroupImpl.resolve(GenericVirtualTableCandidatesGroupImpl.java:112) at com.pega.platform.executionengine.vtable.internal.VirtualTableImpl.resolve(VirtualTableImpl.java:460) at com.pega.platform.executionengine.vtable.internal.VirtualTableClientHelperImpl.lambda$resolveRule$1(VirtualTableClientHelperImpl.java:117) at com.pega.platform.executionengine.vtable.key.internal.VirtualRuleKeyFactoryImpl.doWithKey(VirtualRuleKeyFactoryImpl.java:171) at com.pega.platform.executionengine.vtable.internal.VirtualTableClientHelperImpl.resolveRule(VirtualTableClientHelperImpl.java:116) at com.pega.pegarules.generation.internal.PRGenProviderImpl.get(PRGenProviderImpl.java:612) at com.pega.pegarules.generation.internal.PRGenProviderImpl.get(PRGenProviderImpl.java:602) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2705) at com.pega.platform.executor.jobscheduler.internal.ActivityExecutor.runActivity(ActivityExecutor.java:42) at com.pega.platform.executor.jobscheduler.internal.ActivityExecutor.executeActivity(ActivityExecutor.java:33) at com.pega.platform.executor.jobscheduler.internal.ActivityProcessor.execute(ActivityProcessor.java:55) at com.pega.platform.executor.jobscheduler.internal.ActivityProcessor.run(ActivityProcessor.java:108) at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1382) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1125) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1006) at com.pega.pegarules.session.internal.PRSessionProviderImplForModules.doWithRequestorLocked(PRSessionProviderImplForModules.java:55) at com.pega.platform.executor.jobscheduler.internal.JobSchedulerProcessor.execute(JobSchedulerProcessor.java:48) at com.pega.platform.executor.jobscheduler.scheduler.internal.JobRunTimeImpl.execute(JobRunTimeImpl.java:67) at com.pega.platform.executor.jobscheduler.scheduler.internal.JobRunTimeDecorator.execute(JobRunTimeDecorator.java:57) at com.pega.platform.executor.jobscheduler.scheduler.internal.JobRunTimeDecorator.execute(JobRunTimeDecorator.java:57) at com.pega.platform.executor.jobscheduler.scheduler.internal.JobExecutionTemplate.executeJob(JobExecutionTemplate.java:45) at com.pega.platform.executor.jobscheduler.scheduler.internal.JobExecutionTemplate.run(JobExecutionTemplate.java:35) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

***Edited by Moderator: Pooja Gadige to add platform capability tag***
Pega Platform 8.3.2 Enterprise Application Development System Administration Healthcare and Life Sciences Senior System Architect