"java.lang.NullPointerException" Exception When Deleting Lines via XML that Triggers Agent Action "ORDER RELEASE - MOD - EDIT SHIPMENT" (Doc ID 1096915.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Management - Version 6.1.0 to 6.1.2 [Release 6.1]
Information in this document applies to any platform.
***Checked for relevance on 23-Sep-2013***

Symptoms


An OMD agent is configured with the the following action to process Order updates via integration:

ORDER RELEASE - MOD - EDIT SHIPMENT

A Release XML is sent inbound to OTM where Order Lines are being removed from an order (i.e. the new Release XML contains less Order Lines that what the order currently on the Release). This Transmission Code being used is RC.

When the agent action "ORDER RELEASE - MOD - EDIT SHIPMENT" is executed, it is failing with the following Exception:

java.lang.NullPointerException
at glog.business.order.TOrderReleaseLine.getOrderReleaseLineXid(TOrderReleaseLine.java:481)
at glog.business.order.TOrderReleaseLine.setOrderReleaseLineGidByOrderReleaseGid(TOrderReleaseLine.java:496)
at glog.business.order.TOrderRelease.addTChildren(TOrderRelease.java:364)
at glog.business.order.TOrderRelease.<init>(TOrderRelease.java:265)
at glog.business.omd.OrderModShipmentEditor.editShipments(OrderModShipmentEditor.java:415)
at glog.business.session.OMDProcessorSessionBean.editShipments(OMDProcessorSessionBean.java:84)
at glog.business.session.OMDProcessorSessionServerSideEJBWrapper.editShipments(OMDProcessorSessionServerSideEJBWrapper.java:89)
at glog.business.session.OMDProcessorSessionHome_f09cq7_EOImpl.editShipments(OMDProcessorSessionHome_f09cq7_EOImpl.java:69)
at glog.server.agent.business.order.ORModEditShipment.process(ORModEditShipment.java:87)
at glog.server.agent.business.order.ORActionTopic.persist(ORActionTopic.java:48)
at glog.server.agent.PersistActionTopic.execute(PersistActionTopic.java:34)
at glog.server.agent.ActionWorkflow.execute(ActionWorkflow.java:50)
at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.execute(WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.java:353)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:353)
at glog.server.workflow.Trigger.trigger(Trigger.java:122)
at glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable.java:142)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:96)
at glog.util.event.EventThread.run(EventThread.java:83)
at java.lang.Thread.run(Thread.java:619)

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