Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

NPE related to ProcessBatch activity

SA-30244

Summary



Many entries of Null Pointer Exception (NPE) from ProcessBatch activity in the log file.

Error Messages


2016-10-05 00:00:49,043 [ PegaRULES-Batch-3] [ STANDARD] [ an_app:01.01.01] (cessBatch.System_Queue_.Action) ERROR - One of the child requestors failed in running offer flows in batch.
java.lang.NullPointerException
at com.pegarules.generated.activity.ra_action_processbatch_b23c9a0ad277be7a52f420ef7f7e3436.step2_circum0(ra_action_processbatch_b23c9a0ad277be7a52f420ef7f7e3436.java:743)
at com.pegarules.generated.activity.ra_action_processbatch_b23c9a0ad277be7a52f420ef7f7e3436.perform(ra_action_processbatch_b23c9a0ad277be7a52f420ef7f7e3436.java:89)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3505)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivities(ThreadRunner.java:572)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivities(PRThreadImpl.java:453)
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:320)
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:945)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1259)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1008)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:901)
at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:670)
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)


Steps to Reproduce



As mentioned above.


Root Cause



A defect or configuration issue in the operating environment . the system was upgraded from Pega 7.1.6 and Next-Best-Action Marketing (NBAM) 7.11.1 to Pega 7.1.9 and PM 7.13.

In PRPC System Queue table, there was one queue item for Wait flow for a program run from older NBAM version.

Resolution



Perform the following local-change:

Use the System Management Application to delete the System-Queue-Waitflow queue item for an older program run.

Published August 23, 2017 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us