Null Pointer Exception when Executing SAP Service

Hi,

I am using IS4.6, RN4.6 and connection to SAP.

I have a conversation that receives 3A4, executes a RFC service which creates the order in SAP.

The conversation is working fine but occasionally, I will get a Null Pointer Exception ,especially after a period of inactivity.

Did anyone face the same problem?

I am attaching the error message below:

2002-12-23 09:28:33 GMT+08:00 java.lang.NullPointerException
at com.wm.pkg.sap.Mapper.OutboundRFC(Mapper.java:238)
at java.lang.reflect.Method.invoke(Native Method)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java(Compiled Code))
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled Code))
at com.wm.app.b2b.server.BaseService.invoke(BaseService.java(Compiled Code))
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java(Compiled Code))
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java(Compiled Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled Code))
at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java(Compiled Code))
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled Code))
at com.wm.app.b2b.server.BaseService.invoke(BaseService.java(Compiled Code))
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java(Compiled Code))
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java(Compiled Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled Code))
at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java(Compiled Code))
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled Code))
at com.wm.app.b2b.server.BaseService.invoke(BaseService.java(Compiled Code))
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java(Compiled Code))
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java(Compiled Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled Code))
at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java(Compiled Code))
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled Code))
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled Code))
at com.wm.app.b2b.server.Service.doInvoke(Service.java(Compiled Code))
at com.wm.app.b2b.server.Service.doInvoke(Service.java(Compiled Code))
at com.wm.app.tn.cm.B2BServerContext_40.invokeAs(B2BServerContext_40.java:56)
at com.wm.app.tn.cm.ConversationEngine.invokeAs(ConversationEngine.java:188)
at com.wm.app.tn.cm.InvocationStep.process(InvocationStep.java(Compiled Code))
at com.wm.app.tn.cm.Step.performJump(Step.java(Compiled Code))
at com.wm.app.tn.cm.InvocationStep.process(InvocationStep.java(Compiled Code))
at com.wm.app.tn.cm.Step.performJump(Step.java(Compiled Code))
at com.wm.app.tn.cm.InvocationStep.process(InvocationStep.java(Compiled Code))
at com.wm.app.tn.cm.Step.performJump(Step.java(Compiled Code))
at com.wm.app.tn.cm.InvocationStep.process(InvocationStep.java(Compiled Code))
at com.wm.app.tn.cm.Step.performJump(Step.java(Compiled Code))
at com.wm.app.tn.cm.NotificationStep.process(NotificationStep.java:385)
at com.wm.app.tn.cm.Step.performJump(Step.java(Compiled Code))
at com.wm.app.tn.cm.InvocationStep.process(InvocationStep.java(Compiled Code))
at com.wm.app.tn.cm.ConversationScript.process(ConversationScript.java:303)
at com.wm.app.tn.cm.ConversationAgent.process(ConversationAgent.java:202)
at com.wm.app.tn.cm.ConversationThread.synchRun(ConversationThread.java:231)
at com.wm.app.tn.cm.ConversationThread.run(ConversationThread.java:100)
at com.wm.util.pool.PooledThread.run(PooledThread.java:103)
at java.lang.Thread.run(Thread.java:498)

Cheers
Jennifer Chia