My Oracle Support Banner

NullPointer Exceptoin When Planning Order Movement Using Carrier Capacity Where Splitting is Expected (Doc ID 1332946.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Operational Planning - Version 6.2.0 to 6.2.3 [Release 6.2]
Information in this document applies to any platform.
***Checked for relevance on 18-Dec-2012***

Symptoms


With Carrier Capacity turned on, if an order movement is too large to fit onto one truck/equipment and has to be split across multiple trucks/equipments over several days, the order movement fails to plan. The following exception is encountered:

java.lang.NullPointerException
at glog.business.shipment.ShipmentBuilder.applyConoptPreferredRateOption(ShipmentBuilder.java:5085)
at glog.business.shipment.ShipmentBuilder.makeLegOptionsOnTLeg(ShipmentBuilder.java:1442)
at glog.business.shipment.ShipmentBuilder.buildTShipmentsOnTLeg(ShipmentBuilder.java:1259)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:955)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraphCollection(ShipmentBuilder.java:909)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:647)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:615)
at glog.business.consolidation.bulkplan.BuildShipmentGraphForOrderMovementsTask.executePlanning(BuildShipmentGraphForOrderMovementsTask.java:40)
at glog.business.util.PlanningTask.execute(PlanningTask.java:14)
at glog.server.workflow.tasklist.Task.perform(Task.java:51)
at glog.server.workflow.tasklist.TaskList.executeInCallerThread(TaskList.java:117)
at glog.business.util.PlanningTaskList.executeInCallerThread(PlanningTaskList.java:83)
at glog.server.workflow.tasklist.TaskList.execute(TaskList.java:97)
at glog.server.workflow.tasklist.TaskList.execute(TaskList.java:158)
at glog.business.consolidation.bulkplan.OrderPlanner.buildShipmentGraphsForOrderMovements(OrderPlanner.java:1977)
at glog.business.consolidation.bulkplan.OrderPlanner.makeDirectShipmentsForOMBundles(OrderPlanner.java:1845)
at glog.business.consolidation.bulkplan.OrderPlanner.bulkPlanOrderMovements(OrderPlanner.java:1706)
at glog.business.action.ordermovement.BulkPlanOrderMovementsAction.planUnassignedOrderMovements(BulkPlanOrderMovementsAction.java:555)
at glog.business.action.ordermovement.BulkPlanOrderMovementsAction.planUnassignedOrderMovements(BulkPlanOrderMovementsAction.java:406)
at glog.business.action.ordermovement.BulkPlanOrderMovementsAction.planAllOrderMovements(BulkPlanOrderMovementsAction.java:329)
at glog.business.action.ordermovement.BulkPlanOrderMovementsAction.execute(BulkPlanOrderMovementsAction.java:158)
at glog.business.session.OrderMovementActionSessionBean.bulkPlanOrderMovements(OrderMovementActionSessionBean.java:362)
at glog.business.session.OrderMovementActionSessionServerSideEJBWrapper.bulkPlanOrderMovements(OrderMovementActionSessionServerSideEJBWrapper.java:283)
at glog.business.session.OrderMovementActionSessionServerSideEJBWrapper_ak3ax7_EOImpl.bulkPlanOrderMovements(OrderMovementActionSessionServerSideEJBWrapper_ak3ax7_EOImpl.java:795)
at glog.server.workflow.adhoc.BulkPlan.executeOrderMovement(BulkPlan.java:113)
at glog.server.workflow.adhoc.BulkPlan.execute(BulkPlan.java:51)
at glog.server.workflow.SimpleWorkflow.execute(SimpleWorkflow.java:23)
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.execute(WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.java:134)
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:146)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:98)
at glog.util.event.EventThread.run(EventThread.java:82)
at java.lang.Thread.run(Thread.java:619)

If planned at the order release level, it splits the order over the multiple days successfully.

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

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.