Question

java.lang.NullPointerException in Log File

Hi,

We are getting below exception in Log file. Can someone tell me the reason for this? Thank you in advance.

java.lang.NullPointerException
 at com.pegarules.generated.pzGetWorkTypeForClass_071017_i_aZwpXf5p48ht9NME_J7g.pzGetWorkTypeForClass07_10_17(pzGetWorkTypeForClass_071017_i_aZwpXf5p48ht9NME_J7g.java:172)
 at com.pegarules.generated.pzGetWorkTypeForClass_071017_i_aZwpXf5p48ht9NME_J7g.invoke(pzGetWorkTypeForClass_071017_i_aZwpXf5p48ht9NME_J7g.java:76)
 at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:133)
 at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:110)
 at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:8954)
 at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflection(LibrarySupport.java:181)
 at com.pegarules.generated.pega_processarchitect_utilities.pzGetWorkTypeForClass(pega_processarchitect_utilities.java:329)
 at com.pegarules.generated.activity.ra_action_pzcorrectinvalidspeckeys_a13c516d8dc90198d2f3663d4a0e6f3f.step13_circum0(ra_action_pzcorrectinvalidspeckeys_a13c516d8dc90198d2f3663d4a0e6f3f.java:788)
 at com.pegarules.generated.activity.ra_action_pzcorrectinvalidspeckeys_a13c516d8dc90198d2f3663d4a0e6f3f.perform(ra_action_pzcorrectinvalidspeckeys_a13c516d8dc90198d2f3663d4a0e6f3f.java:211)
 at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3500)
 at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10521)
 at com.pegarules.generated.activity.ra_action_pzsetupspecificationview_22a2333ed3fa2df0bd854bbd7baa2dea.step21_circum0(ra_action_pzsetupspecificationview_22a2333ed3fa2df0bd854bbd7baa2dea.java:1973)
 at com.pegarules.generated.activity.ra_action_pzsetupspecificationview_22a2333ed3fa2df0bd854bbd7baa2dea.perform(ra_action_pzsetupspecificationview_22a2333ed3fa2df0bd854bbd7baa2dea.java:429)
 at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3500)
 at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10521)
 at com.pegarules.generated.activity.ra_action_pzsetupspecformodal_42ffce9aef49d64d5c607f48db12894c.step2_circum0(ra_action_pzsetupspecformodal_42ffce9aef49d64d5c607f48db12894c.java:238)
 at com.pegarules.generated.activity.ra_action_pzsetupspecformodal_42ffce9aef49d64d5c607f48db12894c.perform(ra_action_pzsetupspecformodal_42ffce9aef49d64d5c607f48db12894c.java:86)
 at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3500)
 at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10521)
 at com.pegarules.generated.activity.ra_action_pzsetuptransition_e7aefed38415a0225b718c13e27babc6.step10_circum0(ra_action_pzsetuptransition_e7aefed38415a0225b718c13e27babc6.java:2805)
 at com.pegarules.generated.activity.ra_action_pzsetuptransition_e7aefed38415a0225b718c13e27babc6.perform(ra_action_pzsetuptransition_e7aefed38415a0225b718c13e27babc6.java:326)
 at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3500)
 at com.pegarules.generated.callActivity_071017_xvj4o_pyNDBZ4Gy293rekg.callActivity07_10_17(callActivity_071017_xvj4o_pyNDBZ4Gy293rekg.java:122)
 at com.pegarules.generated.callActivity_071017_xvj4o_pyNDBZ4Gy293rekg.invoke(callActivity_071017_xvj4o_pyNDBZ4Gy293rekg.java:82)
 at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:133)
 at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:110)
 at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:8954)
 at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflection(LibrarySupport.java:181)
 at com.pegarules.generated.pega_rules_utilities.callActivity(pega_rules_utilities.java:1619)
 at com.pegarules.generated.flowaction.ra_action_pzpropertypanelmodal_fe234fb2958a6cb07de79a83f2e8fad7.RunFlowActionActivity_circum0(ra_action_pzpropertypanelmodal_fe234fb2958a6cb07de79a83f2e8fad7.java:354)
 at com.pegarules.generated.flowaction.ra_action_pzpropertypanelmodal_fe234fb2958a6cb07de79a83f2e8fad7.perform(ra_action_pzpropertypanelmodal_fe234fb2958a6cb07de79a83f2e8fad7.java:72)
 at com.pega.pegarules.session.internal.mgmt.Executable.doAction(Executable.java:3305)
 at com.pegarules.generated.activity.ra_action_performpreprocessing_f9262bb49406977ef02af1d08f66d1f8.step1_circum0(ra_action_performpreprocessing_f9262bb49406977ef02af1d08f66d1f8.java:179)
 at com.pegarules.generated.activity.ra_action_performpreprocessing_f9262bb49406977ef02af1d08f66d1f8.perform(ra_action_performpreprocessing_f9262bb49406977ef02af1d08f66d1f8.java:69)
 at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3500)
 at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10521)
 at com.pegarules.generated.activity.ra_action_processaction_02b5cbe2afbb365c9522cd3126b41bf3.step18_circum0(ra_action_processaction_02b5cbe2afbb365c9522cd3126b41bf3.java:2017)
 at com.pegarules.generated.activity.ra_action_processaction_02b5cbe2afbb365c9522cd3126b41bf3.perform(ra_action_processaction_02b5cbe2afbb365c9522cd3126b41bf3.java:370)
 at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3500)
 at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646)
 at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:461)
 at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3322)
 at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:385)
 at sun.reflect.GeneratedMethodAccessor107.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:1270)
 at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1008)
 at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:841)
 at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:331)
 at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:850)
 at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:315)
 at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:263)
 at com.pega.pegarules.session.internal.engineinterface.etier.ejb.EngineBean.invokeEngine(EngineBean.java:225)
 at sun.reflect.GeneratedMethodAccessor73.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:367)
 at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:408)
 at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:223)
 at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingException(AppServerBridgeToPega.java:245)
 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.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:574)
 at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:374)
 at sun.reflect.GeneratedMethodAccessor105.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:367)
 at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:408)
 at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:223)
 at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:272)
 at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:121)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1232)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:781)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:480)
 at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1114)
 at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
 at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:940)
 at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
 at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
 at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
 at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)
 at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
 at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
 at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
 at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
 at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
 at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
 at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)
""
"
Regards,

Jayami

***Updated by moderator: Lochan to add Categories***

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

December 29, 2016 - 5:49am

Hello,

Looks like the pre-processing of opening modal is failing, or somthing like that. What are you doing when this issue is occuring ? 

 

December 29, 2016 - 7:12am
Response to MarcLasserre_GCS

Hi Marc,

Thank you for the response. This is an Production exception. We are unable to find the exact scenario yet.

Regards,

Jayami

Pega
December 29, 2016 - 6:49am

You can go through the generated java class file 'pzGetWorkTypeForClass_071017_i_aZwpXf5p48ht9NME_J7g.java'  at line number 172 you are getting an NPE. You can find this file in 'PRGenJava' in pega temp directory.