Shipment Planning Fails When Planning Parameter- CHECK EQUIPMENT CAPACITY IN REFERENCE UNITS Is TRUE (Doc ID 1633495.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version 6.3.1 to 6.3.3 [Release 6.3]
Information in this document applies to any platform.

Symptoms

Shipment planning fails when the Planning Parameter - CHECK EQUIPMENT CAPACITY IN REFERENCE UNITS is TRUE

The following error is seen in the logs

ERROR
-----------------------


2014-01-15 04:50:32.437 87094 Debug Conopt SShipUnits total weight = 500.0 LB [batch - 1]
2014-01-15 04:50:32.437 87094 Debug Conopt SShipUnits total volume = 0.0 CUFT [batch - 1]
2014-01-15 04:50:32.442 87094 Error Exception java.lang.NullPointerException


java.lang.NullPointerException
at glog.business.shipment.TSShipUnit.getCONReferenceUnits(TSShipUnit.java:2688)
at glog.business.conopt.ConoptConverter.getCONPackageLine(ConoptConverter.java:465)
at glog.business.equipment.EquipmentPacker.makeCONPackageLines(EquipmentPacker.java:2131)
at glog.business.equipment.EquipmentPacker.makeCONPackageLines(EquipmentPacker.java:1963)
at glog.business.equipment.EquipmentPacker.getCONOptSolutions(EquipmentPacker.java:1721)
at glog.business.equipment.EquipmentPacker.makeEquipmentOptionsNoRepackSSU(EquipmentPacker.java:1510)
at glog.business.equipment.EquipmentPacker.makeEquipmentOptions(EquipmentPacker.java:1458)
at glog.business.equipment.EquipmentPacker.makeEquipmentOptions(EquipmentPacker.java:481)
at glog.business.shipment.EquipmentOptionBuilder.createEquipmentOptionsOnLeg(EquipmentOptionBuilder.java:253)
at glog.business.shipment.ShipmentBuilder.makeLegOptionsOnTLeg(ShipmentBuilder.java:1368)
at glog.business.shipment.ShipmentBuilder.buildTShipmentsOnTLeg(ShipmentBuilder.java:1283)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:966)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraphCollection(ShipmentBuilder.java:920)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:660)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:629)
at glog.business.consolidation.bulkplan.BuildShipmentGraphForOrderMovementsTask.executePlanning(BuildShipmentGraphForOrderMovementsTask.java:52)
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:2143)
at glog.business.consolidation.bulkplan.OrderPlanner.makeDirectShipmentsForOMBundles(OrderPlanner.java:1977)
at glog.business.consolidation.bulkplan.OrderPlanner.bulkPlanOrderMovements(OrderPlanner.java:1815)
at glog.business.action.ordermovement.BulkPlanOrderMovementsAction.planUnassignedOrderMovements(BulkPlanOrderMovementsAction.java:578)
at glog.business.action.ordermovement.BulkPlanOrderMovementsAction.planUnassignedOrderMovements(BulkPlanOrderMovementsAction.java:443)
at glog.business.action.ordermovement.BulkPlanOrderMovementsAction.planAllOrderMovements(BulkPlanOrderMovementsAction.java:348)
at glog.business.action.ordermovement.BulkPlanOrderMovementsAction.execute(BulkPlanOrderMovementsAction.java:172)
at glog.business.session.OrderMovementActionSessionBean.bulkPlanOrderMovements(OrderMovementActionSessionBean.java:429)
at glog.business.session.OrderMovementActionSessionServerSideEJBWrapper.bulkPlanOrderMovements(OrderMovementActionSessionServerSideEJBWrapper.java:283)
at glog.business.session.OrderMovementActionSessionServerSideEJBWrapper_ak3ax7_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.business.session.OrderMovementActionSessionServerSideEJBWrapper_ak3ax7_EOImpl.bulkPlanOrderMovements(Unknown Source)
at glog.server.workflow.adhoc.BulkPlan.executeOrderMovement(BulkPlan.java:140)
at glog.server.workflow.adhoc.BulkPlan.execute(BulkPlan.java:56)
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.__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)
[batch - 1]
2014-01-15 04:50:32.444 87094 Error Exception No shipments built for order bundle



STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1. CHECK EQUIPMENT CAPACITY IN REFERENCE UNITS is TRUE
2. Find Order Release
Order Management > Order Release > Order Release
3. Perform Action Bulk Plan - Buy
Actions > Operational Planning >Create Buy Shipment or Create Sell Shipment >Bulk Plan - Buy

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