OMD Agent Fails With 'java.lang.NullPointerException' When Checking Condition 'IS ORDER ON EDITABLE SHIPMENT'

(Doc ID 2192373.1)

Last updated on OCTOBER 12, 2016

Applies to:

Oracle Transportation Management - Version 6.3.4 to 6.4.2 [Release 6.3 to 6.4]
Information in this document applies to any platform.

Symptoms

Order is planned to two order movements and the first order movement is planned to a shipment
Agent is configured to check 'IF ORDER ON EDITABLE SHIPMENT' first then call agent action 'ORDER RELEASE- MOD - FUTURE PROCESSING'
Agent failed with NPE when checking condition IS ORDER ON EDITABLE SHIPMENT

Error:
-------
java.lang.NullPointerException
at glog.business.omd.OrderModHelper.isShipmentGraphEditable(OrderModHelper.java:410)
at glog.business.omd.OrderModHelper.isEditableShipment(OrderModHelper.java:306)
at glog.server.agent.business.order.CheckEditableShipment.checkIfCondition(CheckEditableShipment.java:98)
at glog.server.agent.utility.If.checkCondition(If.java:77)
at glog.server.agent.utility.If.execute(If.java:71)
at glog.server.agent.ActionWorkflow.execute(ActionWorkflow.java:49)
at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper.execute(WorkflowSessionNonTransServerSideEJBWrapper.java:40)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.execute(Unknown Source)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:356)
at glog.server.workflow.Trigger.trigger(Trigger.java:122)
at glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable.java:145)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:100)
at glog.util.event.EventThread.run(EventThread.java:86)
at java.lang.Thread.run(Thread.java:680)

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