The First Time The Xml Is Posted, It Fails With A Java Null Pointer Error In External System Report (Doc ID 1574727.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Management - Version 6.0 to 6.3.3 [Release 6 to 6.3]
Information in this document applies to any platform.

Symptoms

On OTM version 6.2.7

When trying to send integration (PlannedShipment) using a Service (BPEL) through an Agent Action. This is failing with the Exception noted below. When this is done via the Shipment Action: Send Inteface Transmission, it works fine.


ERROR
-----------------------
Error Exception java.lang.NullPointerException

java.lang.NullPointerException
at glog.server.webservice.WebServiceType.encode(WebServiceType.java:46)
at glog.server.webservice.WebServiceBinder.bindValue(WebServiceBinder.java:204)
at glog.server.webservice.WebServiceBinder.bindParameter(WebServiceBinder.java:137)
at glog.server.webservice.WebServiceBinder.bind(WebServiceBinder.java:52)
at glog.server.webservice.WebServiceCall.call(WebServiceCall.java:104)
at glog.server.workflow.webservice.ServiceTransmission.execute(ServiceTransmission.java:97)
at glog.server.workflow.webservice.ServiceCall.executeWithReturn(ServiceCall.java:31)
at glog.server.workflow.webservice.ServiceCallTopic.execute(ServiceCallTopic.java:19)
at glog.server.workflow.SimpleWorkflow.execute(SimpleWorkflow.java:23)
at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:43)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:47)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at workflow_WorkflowSession_NonTransactional_RemoteProxy_1m49e63.execute(Unknown Source)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:341)
at glog.server.workflow.Trigger.trigger(Trigger.java:123)
at glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable.java:141)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:96)
at glog.util.event.EventThread.run(EventThread.java:82)
at java.lang.Thread.run(Thread.java:534)
transport - Services - 2


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Attempt to send integration (PlannedShipment) using a Service (BPEL) through an Agent Action.


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms