"NullPointerException" When Order is Split Across Multiple Compartments

(Doc ID 1496039.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Management - Version 6.2.0 to 6.2.7 [Release 6.2]
Information in this document applies to any platform.

Symptoms

When planing using multiple compartment on equipment, the build shipment may split a ship unit across multiple compartment. Later Druing multistop, we assign equipment for compbined shipment, and if it splits the SSU again across multiple compartment, there will be a NPE.

java.lang.NullPointerException
  at glog.business.shipment.TSShipUnit.updateTSShipUnitSplitMap(TSShipUnit.java:3493)
  at glog.business.equipment.EquipmentPacker.makeSEquipmentCompartment(EquipmentPacker.java:2694)
  at glog.business.equipment.EquipmentPacker.applyCONSolution(EquipmentPacker.java:1399)
  at glog.business.equipment.EquipmentPacker.packEquipment(EquipmentPacker.java:1250)
  at glog.business.equipment.EquipmentPacker.packEquipment(EquipmentPacker.java:1271)
  at glog.business.equipment.EquipmentPacker.allocateTSShipUnitsToTSEquipment(EquipmentPacker.java:963)
  at glog.business.equipment.EquipmentPacker.allocateTSShipUnitsToBestUtilizedTSEquipment(EquipmentPacker.java:559)
  at glog.business.equipment.EquipmentAssigner.assignBestEquipmentGroup(EquipmentAssigner.java:638)
  at glog.business.equipment.EquipmentAssigner.assignEquipmentGroupInternal(EquipmentAssigner.java:220)
  at glog.business.equipment.EquipmentAssigner.assignEquipmentGroup(EquipmentAssigner.java:94)
  at glog.business.consolidation.multistop.MultiStopShipmentBuilder.finalizeTShipments(MultiStopShipmentBuilder.java:2376)
  at glog.business.consolidation.multistop.MultiStopShipmentBuilder.mergePairableTShipments(MultiStopShipmentBuilder.java:2172)
  at glog.business.consolidation.multistop.MultiStopShipmentBuilder.mergeTShipments(MultiStopShipmentBuilder.java:1949)
  at glog.business.consolidation.multistop.MultiStopShipmentBuilder.combineTShipments(MultiStopShipmentBuilder.java:1846)
  at glog.business.consolidation.multistop.MultiStopShipmentBuilder.combineTShipments(MultiStopShipmentBuilder.java:1723)
  at glog.business.consolidation.bulkplan.PoolXDockPlanner.makeMultiStopShipmentsBeforePlanThruPools(PoolXDockPlanner.java:1504)
  at glog.business.consolidation.bulkplan.PoolXDockPlanner.bulkPlan(PoolXDockPlanner.java:577)
  at glog.business.consolidation.bulkplan.OrderPlanner.bulkPlan(OrderPlanner.java:339)
  at glog.business.action.order.OrderActions.planUnassignedOrders(OrderActions.java:929)
  at glog.business.action.order.BulkPlanActionExecutor.planOrders(BulkPlanActionExecutor.java:287)
  at glog.business.action.order.BulkPlanActionExecutor.planOrders(BulkPlanActionExecutor.java:117)
  at glog.business.session.OrderActionSessionBean.planOrders(OrderActionSessionBean.java:1171)
  at glog.business.session.OrderActionSessionServerSideEJBWrapper.planOrders(OrderActionSessionServerSideEJBWrapper.java:1292)
  at glog.business.session.OrderActionSessionHome_likuwd_EOImpl.planOrders(OrderActionSessionHome_likuwd_EOImpl.java:1785)
  at glog.server.workflow.adhoc.BulkPlan.executeOrder(BulkPlan.java:65)
  at glog.server.workflow.adhoc.BulkPlan.execute(BulkPlan.java:49)
  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:278)
  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:86)
  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