Question

3
Replies
254
Views
JohnPaulRaja,C Member since 2011 246 posts
Cognizant
Posted: 2 years ago
Last activity: 2 years 9 months ago
Closed

Sporadic Error in JMS listener

Hi,

JMS listener sporadically generates error and fails to process the record.

This listener is running in multiple nodes.

Any idea to resolve the issue.

Log exception details

failed: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:467)
at com.pega.pegarules.integration.engine.internal.services.ServiceAPI.runActivities(ServiceAPI.java:1896)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:390)
at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1301)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1038)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:893)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:331)
at com.pega.pegarules.integration.engine.internal.services.jms.JMSListener.handleRequest(JMSListener.java:1267)
at com.pega.pegarules.integration.engine.internal.services.jms.JMSListener.processMessages(JMSListener.java:841)
at com.pega.pegarules.integration.engine.internal.services.jms.JMSListener.runPoller(JMSListener.java:760)
at com.pega.pegarules.integration.engine.internal.services.jms.JMSListener.run_(JMSListener.java:752)
at com.pega.pegarules.integration.engine.internal.services.listener.ServiceListenerBaseImpl.run(ServiceListenerBaseImpl.java:454)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.AsyncServant.processAsyncTask(AsyncServant.java:213)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.AsyncServant.invoke(AsyncServant.java:167)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:327)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:270)
at com.pega.pegarules.session.internal.engineinterface.etier.ejb.EngineBean.invokeEngine(EngineBean.java:225)
at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)
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.interfaces.EJSLocalStatelessEngineBMT_f2439d86.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.asynchbeans.AsyncTask.run(AsyncTask.java:64)
at com.pega.pegarules.session.internal.engineinterface.etier.asynchbeans.RunnableWrapper.run(RunnableWrapper.java:71)
at com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java:271)
at java.security.AccessController.doPrivileged(AccessController.java:396)
at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:797)
at com.ibm.ws.asynchbeans.WorkWithExecutionContextImpl.go(WorkWithExecutionContextImpl.java:222)
at com.ibm.ws.asynchbeans.ABWorkItemImpl.run(ABWorkItemImpl.java:206)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
Caused by: java.lang.NullPointerException
at com.pega.pegarules.data.internal.access.Opener.getClassFromKeyPage(Opener.java:1937)
at com.pega.pegarules.data.internal.access.DatabaseImpl.openIfStale(DatabaseImpl.java:3890)
at com.pega.pegarules.data.internal.access.DatabaseImpl.openIfStale(DatabaseImpl.java:3876)
at com.pegarules.generated.activity.ra_action_sbmautoclose_94aa52b84bdb6f293a1cdb3a14dda9d9.step1_2_circum0(ra_action_sbmautoclose_94aa52b84bdb6f293a1cdb3a14dda9d9.java)
at com.pegarules.generated.activity.ra_action_sbmautoclose_94aa52b84bdb6f293a1cdb3a14dda9d9.step1_0_circum0(ra_action_sbmautoclose_94aa52b84bdb6f293a1cdb3a14dda9d9.java:537)
at com.pegarules.generated.activity.ra_action_sbmautoclose_94aa52b84bdb6f293a1cdb3a14dda9d9.perform(ra_action_sbmautoclose_94aa52b84bdb6f293a1cdb3a14dda9d9.java:81)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10674)
at com.pegarules.generated.activity.ra_action_processpreauditmessage_4576b4b195800b09280d8c079ca99ed7.step30_circum0(ra_action_processpreauditmessage_4576b4b195800b09280d8c079ca99ed7.java:2611)
at com.pegarules.generated.activity.ra_action_processpreauditmessage_4576b4b195800b09280d8c079ca99ed7.perform(ra_action_processpreauditmessage_4576b4b195800b09280d8c079ca99ed7.java:651)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646)
... 38 more

Data Integration Java and Activities Data Integration
Moderation Team has archived post
Share this page LinkedIn