Question

1
Replies
21
Views
Close popover
Anand Kumar Maturi (MAnandKumar)
Accenture

Accenture
IN
MAnandKumar Member since 2013 3 posts
Accenture
Posted: 2 weeks 3 days ago
Last activity: 2 weeks 3 days ago

Nullpointer exception observed in Impression HTTP Service

I am observing below Null Pointer exception while invoking IMPRv2 service and Impressions were not recording for some requests.

Please help me.

2021-04-05 00:00:24,487 [fault (self-tuning)'] [  STANDARD] [                    ] ERROR |HTTP|MKT|RH|IMPRv2|AN5RH1I7K0TXR6DXCZBPF54DTKET8D3Z5  - Exception 

java.lang.NullPointerException 

2021-04-05 00:00:24,488 [fault (self-tuning)'] [  STANDARD] [                    ](  internal.services.ServiceAPI) ERROR |HTTP|MKT|RH|IMPRv2|AN5RH1I7K0TXR6DXCZBPF54DTKET8D3Z5  - HTTP service [MKT][RH][IMPRv2] 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:484) 

        at com.pega.pegarules.integration.engine.internal.RuleExecutionUtils.runServiceActivity(RuleExecutionUtils.java:436) 

        at com.pega.pegarules.integration.engine.internal.services.ServiceAPI.runActivities(ServiceAPI.java:1921) 

        at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:417) 

        at sun.reflect.GeneratedMethodAccessor233.invoke(Unknown Source) 

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 

        at java.lang.reflect.Method.invoke(Method.java:498) 

        at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1368) 

        at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1105) 

        at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:959) 

        at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:354) 

        at com.pega.pegarules.integration.engine.internal.services.StatelessServiceAPI.processRequest(StatelessServiceAPI.java:51) 

        at com.pega.pegarules.integration.engine.internal.services.http.HTTPService.invoke(HTTPService.java:526) 

        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.GeneratedMethodAccessor160.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: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.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.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:278) 

        at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:223) 

        at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:691) 

        at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:397) 

        at sun.reflect.GeneratedMethodAccessor232.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: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.invokeMethod(AppServerBridgeToPega.java:273) 

        at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:129) 

        at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doGet(WebStandardBoot.java:100) 

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) 

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 

        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286) 

        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260) 

        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137) 

        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350) 

        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247) 

        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3702) 

        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3672) 

        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:328) 

        at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197) 

        at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203) 

        at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71) 

        at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2443) 

        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2291) 

        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2269) 

        at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1705) 

        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1665) 

        at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:272) 

        at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352) 

        at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337) 

        at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57) 

        at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41) 

        at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:652) 

        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420) 

        at weblogic.work.ExecuteThread.run(ExecuteThread.java:360) 

Caused by: java.lang.NullPointerException 

 

com.pega.pegarules.pub.PRRuntimeError: PRRuntimeError 

        at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:712) ~[prprivate.jar:?] 

        at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:484) ~[prprivate.jar:?] 

        at com.pega.pegarules.integration.engine.internal.RuleExecutionUtils.runServiceActivity(RuleExecutionUtils.java:436) ~[printegrint.jar:?] 

        at

 

***Edited by Moderator Marissa to update Content Type from Discussion to Question***
Pega Marketing 7.4 Decision Management Communications and Media Marketing Consultant