Saved Query of NoDataFoundActionSet To 'NP' Produces java.lang.NullPointerException (Doc ID 1355993.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version: 5.5.05 to 6.2.4 - Release: 5.5 to 6.2
Information in this document applies to any platform.

Symptoms


When attempting to send in an XML to OTM with the NoDataFoundAction set to NP, the following error occurs:

-- Error
java.lang.NullPointerException
at glog.server.workflow.lifetime.LifeTimeTopic.getDomainName(LifeTimeTopic.java:88)
at glog.server.workflow.lifetime.LifeTimeTopic.getDomainName(LifeTimeTopic.java:65)
at glog.server.workflow.lifetime.LifeTimeTopic.setDomainFromPK(LifeTimeTopic.java:59)
at glog.server.workflow.lifetime.shipment.ShipmentTopic.setContext(ShipmentTopic.java:65)
at glog.server.workflow.lifetime.shipment.ShipmentTopic.<init>(ShipmentTopic.java:47)
at glog.server.workflow.lifetime.shipment.ShipmentActualReceived.<init>(ShipmentActualReceived.java:40)
at glog.integration.application.shipment.ShipmentInterface.persistIndivXML(ShipmentInterface.java:276)
at glog.integration.application.shipment.ShipmentInterface.persistXML(ShipmentInterface.java:194)
at glog.integration.application.BaseInterface.persistXMLBase(BaseInterface.java:215)
at glog.integration.application.TransactionProcessor.processTransaction(TransactionProcessor.java:210)
at glog.integration.application.TransactionProcessor.processTransaction(TransactionProcessor.java:349)
at glog.server.workflow.transproc.TransProc.execute(TransProc.java:94)
at glog.server.workflow.SimpleWorkflow.execute(SimpleWorkflow.java:23)
at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at sun.reflect.GeneratedMethodAccessor1060.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_mkgm02.execute(UnknownSource)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:341)
at glog.server.workflow.Trigger.trigger(Trigger.java:123)

-- Expected Behavior
That the XML would upload without error



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