My Oracle Support Banner

"java.lang.NullPointerException" Exception Encountered When Running Action "ORDER RELEASE - MOD - EDIT SHIPMENT" for Shipment with Associated Secondary Charge (Doc ID 1902217.1)

Last updated on JULY 20, 2024

Applies to:

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

Symptoms

A shipment has a Secondary Charge associated. When the order is updated which causes the Agent Action "ORDER RELEASE - MOD - EDIT SHIPMENT" to process, the following Exception is encountered:

 

java.lang.NullPointerException
at glog.business.shipment.TSShipUnit.equals(TSShipUnit.java:2764)
at java.util.ArrayList.indexOf(ArrayList.java:216)
at java.util.ArrayList.contains(ArrayList.java:199)
at glog.business.shipment.TShipmentStop.addTSShipUnits(TShipmentStop.java:855)
at glog.business.omd.OrderModShipmentEditor.replaceTSShipUnits(OrderModShipmentEditor.java:1286)
at glog.business.omd.OrderModShipmentEditor.replaceTSShipUnitsInGraph(OrderModShipmentEditor.java:1240)
at glog.business.omd.OrderModShipmentEditor.editShipmentsForPerspective(OrderModShipmentEditor.java:631)
at glog.business.omd.OrderModShipmentEditor.editShipments(OrderModShipmentEditor.java:530)
at glog.business.session.OMDProcessorSessionBean.editShipments(OMDProcessorSessionBean.java:89)
at glog.business.session.OMDProcessorSessionServerSideEJBWrapper.editShipments(OMDProcessorSessionServerSideEJBWrapper.java:93)
at glog.business.session.OMDProcessorSessionHome_f09cq7_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.business.session.OMDProcessorSessionHome_f09cq7_EOImpl.editShipments(Unknown Source)
at glog.server.agent.business.order.ORModEditShipment.process(ORModEditShipment.java:88)
at glog.server.agent.business.order.ORActionTopic.persist(ORActionTopic.java:47)
at glog.server.agent.PersistActionTopic.execute(PersistActionTopic.java:34)
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:38)
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:352)
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:662)

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.