ActualShipment XML Failing with NullPointerException When Invoking the Agent Action "Assign Distance"
(Doc ID 1585363.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Transportation Management - Version 6.0 and laterInformation in this document applies to any platform.
Symptoms
When running the agent action “assign Distance” against a SAW shipment, the action fails with the error:
java.lang.NullPointerException
at glog.business.order.TShipUnitLine.getPackingCount(TShipUnitLine.java:540)
at glog.business.order.TShipUnitLine.getPackingCount(TShipUnitLine.java:549)
at glog.business.order.TShipUnit.calcDimensions(TShipUnit.java:1831)
at glog.business.order.TShipUnit.calculateNoPropagation(TShipUnit.java:1453)
at glog.business.order.TShipUnit.calculate(TShipUnit.java:1419)
at glog.business.shipment.TSShipUnit.calcWeightVolume(TSShipUnit.java:4285)
at glog.business.shipment.TShipmentRecalcHelper.recalcSShipUnitFields(TShipmentRecalcHelper.java:146)
at glog.business.shipment.TShipmentRecalcHelper.recalculate(TShipmentRecalcHelper.java:165)
at glog.business.shipment.ShipmentPostProcessor.postProcessing(ShipmentPostProcessor.java:356)
at glog.business.shipment.ShipmentPostProcessor.postProcessing(ShipmentPostProcessor.java:228)
at glog.business.shipment.ShipmentPostProcessor.postProcessing(ShipmentPostProcessor.java:185)
at glog.business.action.ShipmentPlanningActionExecutor.calculateShipmentDistances(ShipmentPlanningActionExecutor.java:3140)
at glog.business.session.ShipmentPlanningActionSessionBean.calculateShipmentDistances(ShipmentPlanningActionSessionBean.java:3210)
at glog.business.session.ShipmentPlanningActionSessionServerSideEJBWrapper.calculateShipmentDistances(ShipmentPlanningActionSessionServerSideEJBWrapper.java:2656)
at glog.business.session.ShipmentPlanningActionSessionServerSideEJBWrapper_7zfvrj_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.business.session.ShipmentPlanningActionSessionServerSideEJBWrapper_7zfvrj_EOImpl.calculateShipmentDistances(Unknown Source)
at glog.server.agent.business.shipment.AssignDistance.execute(AssignDistance.java:48)
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 |