Bulk Plan Fails When Rate Service Lookup Time Does Not Exist (Doc ID 578242.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Operational Planning - Version: 5.5.03.05
This problem can occur on any platform.

Symptoms

-- Problem Statement:
When 2 or more orders are being bulk planned and a Rate Service is being evaluated where the a lane is not defined, the entire bulk plan is failing due to the following Exception:

java.lang.NullPointerException
at glog.business.rate.rateservice.RateServiceSession.calculateDepotTimes(RateServiceSession.java:1901)
at glog.business.rate.rateservice.RateServiceSession.calculateServiceTime(RateServiceSession.java:1795)
at glog.business.rate.rateservice.RateServiceSession.calculateRateService(RateServiceSession.java:1258)
at glog.business.rate.rateservice.RateServiceSession.calculateRateServiceSolutionWindow(RateServiceSess
ion.java:1365)
at glog.business.rate.rateservice.RateServiceSession.calculateRateServiceResultWindow(RateServiceSession.java:1335)
at glog.business.serviceprovider.ServiceProviderAssigner.assignServiceProviderUsingRateEngineResults(ServiceProviderAssigner.java:863)
at glog.business.serviceprovider.ServiceProviderAssigner.assignLeastCostServiceProvider(ServiceProviderAssigner.java:528)
at glog.business.equipment.EquipmentAssigner.getLeastCostTShipment(EquipmentAssigner.java:632)
at glog.business.equipment.EquipmentAssigner.assignBestEquipmentGroup(EquipmentAssigner.java:485)
at glog.business.equipment.EquipmentAssigner.assignEquipmentGroup(EquipmentAssigner.java:136)
at glog.business.consolidation.multistop.MultiStopShipmentHelper.assignEquipmentGroup(MultiStopShipmentHelper.java:404)
at glog.business.consolidation.multistop.MultiStopShipmentHelper.isValidToCombine(MultiStopShipmentHelper.java:135)
at glog.business.consolidation.multistop.PairableTShipment.combine(PairableTShipment.java:141)
at glog.optimization.merge.savingsmerge.SavingsMerge.processList(SavingsMerge.java:298)
at glog.optimization.merge.savingsmerge.SavingsMerge.concurrentSavings(SavingsMerge.java:253)
at glog.optimization.merge.savingsmerge.SavingsMerge.solve(SavingsMerge.java:133)
at glog.business.consolidation.multistop.MultiStopShipmentBuilder.mergePairableTShipments(MultiStopShipmentBuilder.java:1376)
at glog.business.consolidation.multistop.MultiStopShipmentBuilder.mergeTShipments(MultiStopShipmentBuilder.java:1248)
at glog.business.consolidation.multistop.MultiStopShipmentBuilder.combineTShipments(MultiStopShipmentBuilder.java:1165)
at
glog.business.consolidation.multistop.MultiStopShipmentBuilder.combineTShipments(MultiStopShipmentBuilder.java:1056)
at
glog.business.consolidation.bulkplan.PoolXDockPlanner.makeMultiStopShipmentsBeforePlanThruPools(PoolXDockPlanner.java:1475)
at glog.business.consolidation.bulkplan.PoolXDockPlanner.bulkPlan(PoolXDockPlanner.java:581)
at glog.business.consolidation.bulkplan.OrderPlanner.bulkPlan(OrderPlanner.java:299)
at glog.business.action.order.OrderActions.planUnassignedOrders(OrderActions.java:804)
at glog.business.action.order.BulkPlanActionExecutor.planOrders(BulkPlanActionExecutor.java:254)
at glog.business.action.order.BulkPlanActionExecutor.planOrders(BulkPlanActionExecutor.java:113)
at glog.business.session.OrderActionSessionBean.planOrders(OrderActionSessionBean.java:1072)
at glog.business.session.OrderActionSessionServerSideEJBWrapper.planOrders(OrderActionSessionServerSideEJBWrapper.java:1118)
at glog.business.session.OrderActionSessionHome_likuwd_EOImpl.planOrders(OrderActionSessionHome_likuwd_EOImpl.java:2530)
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)


When the orders are planned separately, they plan successfully.

Note: This only occurs when the planning parameter "PLAN SHIPMENTS WITH CARRIER COMMITMENT" is enabled.


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