Question

17
Views
YolandaAndreinaS Member since 2019 2 posts
Entel
Posted: 5 months ago
Last activity: 5 months 3 weeks ago

The collective.metrics (CollectMetricsFeature) class causes stuck thread

Please help me. The CollectMetricsFeature class causes me to crash the entire platform. This is one of the mistakes. The threads get stuck

 

           "PegaRULES-Batch-66" #310 daemon prio=3 os_prio=0 tid=0x00007f389c073000 nid=0x2429 waiting on condition [0x00007f370a763000]                           java.lang.Thread.State: WAITING (parking)                            at sun.misc.Unsafe.park(Native Method)                            - parking to wait for  <0x00000003d0710e08> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)                            at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)                            at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)                            at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:870)                            at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1199)                            at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:209)                            at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:285)                            at com.pega.dsm.dnode.api.prpc.service.ServiceManager.seriallyBootstrapServicesOfType(ServiceManager.java:359)                            at com.pega.dsm.dnode.api.prpc.service.ServiceManager.getService(ServiceManager.java:673)                            at com.pega.dsm.dnode.api.prpc.service.ServiceManager.getService(ServiceManager.java:690)                            at com.pega.dsm.dnode.api.dataflow.DataFlows.getService(DataFlows.java:46)                            at com.pega.dsm.dnode.api.dataflow.operation.feature.SingleCaseMetricsFeature.getSingleCaseMetricsManager(SingleCaseMetricsFeature.java:32)                            at com.pega.dsm.dnode.api.dataflow.operation.feature.SingleCaseMetricsFeature.collect(SingleCaseMetricsFeature.java:25)                            at com.pega.dsm.dnode.api.dataflow.operation.feature.CollectMetricsFeature.collectMetrics(CollectMetricsFeature.java:65)                            at com.pega.dsm.dnode.api.dataflow.operation.feature.CollectMetricsFeature.access$000(CollectMetricsFeature.java:22)                            at com.pega.dsm.dnode.api.dataflow.operation.feature.CollectMetricsFeature$1$1.onCompleted(CollectMetricsFeature.java:49)                            at com.pega.dsm.dnode.impl.stream.DataObservableImpl$SafeDataSubscriber.onCompleted(DataObservableImpl.java:322)                            at com.pega.dsm.dnode.api.dataflow.DataFlowExecutor$SynchronousQueueDataFlowExecutor$4.process(DataFlowExecutor.java:630)                            at com.pega.dsm.dnode.api.dataflow.DataFlowExecutor$SynchronousQueueDataFlowExecutor.runEventLoop(DataFlowExecutor.java:576)                            - locked <0x00000004164041a0> (a com.pega.dsm.dnode.api.dataflow.DataFlow$6$1)                            at com.pega.dsm.dnode.api.dataflow.DataFlow$6.emit(DataFlow.java:545)                            at com.pega.dsm.dnode.impl.stream.DataObservableImpl$SafeDataSubscriber.subscribe(DataObservableImpl.java:338)                            at com.pega.dsm.dnode.impl.stream.DataObservableImpl.subscribe(DataObservableImpl.java:40)                            at com.pega.dsm.dnode.impl.stream.DataObservableImpl$3.emit(DataObservableImpl.java:161)                            at com.pega.dsm.dnode.impl.stream.DataObservableImpl$SafeDataSubscriber.subscribe(DataObservableImpl.java:338)                            at com.pega.dsm.dnode.impl.stream.DataObservableImpl.subscribe(DataObservableImpl.java:40)                            at com.pega.dsm.dnode.impl.stream.DataObservableImpl.await(DataObservableImpl.java:102)                            at com.pega.dsm.dnode.impl.stream.DataObservableImpl.toList(DataObservableImpl.java:81)                            at com.pegarules.generated.activity.ra_action_pxrunsinglecaseddf_2b53a473b5617f9e4d8b4b6f3f03ca45.step1_circum0(ra_action_pxrunsinglecaseddf_2b53a473b5617f9e4d8b4b6f3f03ca45.java:187)                            at com.pegarules.generated.activity.ra_action_pxrunsinglecaseddf_2b53a473b5617f9e4d8b4b6f3f03ca45.perform(ra_action_pxrunsinglecaseddf_2b53a473b5617f9e4d8b4b6f3f03ca45.java:72)                            at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3556)                            at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10878)                            at com.pegarules.generated.activity.ra_action_executesinglecasedf_74d6815b5781ad3cff17fcceb49eb608.step4_circum0(ra_action_executesinglecasedf_74d6815b5781ad3cff17fcceb49eb608.java:391)                            at com.pegarules.generated.activity.ra_action_executesinglecasedf_74d6815b5781ad3cff17fcceb49eb608.perform(ra_action_executesinglecasedf_74d6815b5781ad3cff17fcceb49eb608.java:137)                            at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3556)                            at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10878)                            at com.pegarules.generated.activity.ra_action_executeeventrun_3aa1fd2cc111cddbd2f6ea1547d331d9.step23_circum0(ra_action_executeeventrun_3aa1fd2cc111cddbd2f6ea1547d331d9.java:1977)                            at com.pegarules.generated.activity.ra_action_executeeventrun_3aa1fd2cc111cddbd2f6ea1547d331d9.perform(ra_action_executeeventrun_3aa1fd2cc111cddbd2f6ea1547d331d9.java:495)                            at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3556)                            at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10878)                            at com.pegarules.generated.activity.ra_action_processeventrun8_eeb0c44174cf9dbd33141fc059a1c774.step1_circum0(ra_action_processeventrun8_eeb0c44174cf9dbd33141fc059a1c774.java:175)                            at com.pegarules.generated.activity.ra_action_processeventrun8_eeb0c44174cf9dbd33141fc059a1c774.perform(ra_action_processeventrun8_eeb0c44174cf9dbd33141fc059a1c774.java:70)                            at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3556)                            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:1139)                            at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1366)                            at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1109)                            at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:990)                            at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:805)                            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)                        "PegaRULES-Batch-65" #309 daemon prio=3 os_prio=0 tid=0x00007f389c071000 nid=0x2428 waiting on condition [0x00007f370a866000]                           java.lang.Thread.State: WAITING (parking)                            at sun.misc.Unsafe.park(Native Method)                            - parking to wait for  <0x000000040fc00020> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)                            at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)                            at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)                            at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)                            at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)                            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)                            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)                            at java.lang.Thread.run(Thread.java:748)                        "Atmosphere-Scheduler-13" #308 daemon prio=5 os_prio=0 tid=0x00007f38840fc000 nid=0x2427 waiting on condition [0x00007f370a967000]                           java.lang.Thread.State: WAITING (parking)                            at sun.misc.Unsafe.park(Native Method)                            - parking to wait for  <0x000000041bbd0e00> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)                            at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)                            at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)                            at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088)                            at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)                            at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)                            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)                            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)                            at java.lang.Thread.run(Thread.java:748)  

Pega Platform 8.1.1 Data Integration Java and Activities Consumer Services QA Specialist
Share this page LinkedIn