NullPointerException Exception Evaluation CarrierConnect Rate Service (Doc ID 1320537.1)

Last updated on APRIL 01, 2016

Applies to:

Oracle Transportation Management - Version: 6.1.0 to 6.2.4 - Release: 6.1 to 6.2
Information in this document applies to any platform.

Symptoms


Client is planning a simple order release using an SMC Rate (Base/Master) using Carrier Connect. Everything is working fine up until the point we start to calculate Service Time which fails with the following Exception:

java.lang.NullPointerException
at glog.optimization.scheduling.DiscontinuousRange.getNextRange(DiscontinuousRange.java:104)
at glog.optimization.scheduling.ByDayScheduler.getRangeAfterServiceDays(ByDayScheduler.java:984)
at glog.optimization.scheduling.ByDayScheduler.forwardDrive(ByDayScheduler.java:882)
at glog.optimization.scheduling.ByDayScheduler.drivePossibleStartTimesFromLast(ByDayScheduler.java:473)
at glog.optimization.scheduling.ByDayScheduler.findStartTimesAndDriveForBestResult(ByDayScheduler.java:349)
at glog.optimization.scheduling.ByDayScheduler.drive(ByDayScheduler.java:225)
at glog.business.rateservicescheduling.RateServiceDriveEngine.drive(RateServiceDriveEngine.java:118)
at glog.business.rateservicescheduling.RateServiceEngine.drive(RateServiceEngine.java:177)
at glog.business.rateservicescheduling.RateServiceEngine.drive(RateServiceEngine.java:256)
at glog.business.rateservicescheduling.RateServiceEngine.calculateRateServiceSolutionWindow(RateServiceEngine.java:805)
at glog.business.rate.rateservice.RateServiceSession.calculateSinglePathRateServiceSolutionWindow(RateServiceSession.java:1914)
at glog.business.shipment.LegOptionOptimizer.calculateServiceTime(LegOptionOptimizer.java:544)
at glog.business.shipment.LegOptionOptimizer.getCheapestFeasibleOption(LegOptionOptimizer.java:369)
at glog.business.shipment.LegOptionOptimizer.buildItineraryOptionOnBestLegOptions(LegOptionOptimizer.java:122)
at glog.business.shipment.ShipmentBuilder.buildBestItineraryOption(ShipmentBuilder.java:1482)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:1521)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraphCollection(ShipmentBuilder.java:506)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraphCollection(ShipmentBuilder.java:445)
at glog.business.consolidation.bulkplan.BuildShipmentGraphCollectionTask.executePlanning(BuildShipmentGraphCollectionTask.java:25)
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.buildDirectShipmentGraphCollection(OrderPlanner.java:788)
at glog.business.consolidation.bulkplan.OrderPlanner.makeDirectTShipments(OrderPlanner.java:731)
at glog.business.consolidation.bulkplan.OrderPlanner.bulkPlan(OrderPlanner.java:322)
at glog.business.action.order.OrderActions.planUnassignedOrders(OrderActions.java:800)
at glog.business.action.order.BulkPlanActionExecutor.planOrders(BulkPlanActionExecutor.java:272)
at glog.business.action.order.BulkPlanActionExecutor.planOrders(BulkPlanActionExecutor.java:112)
at glog.business.session.OrderActionSessionBean.planOrders(OrderActionSessionBean.java:1216)
at glog.business.session.OrderActionSessionServerSideEJBWrapper.planOrders(OrderActionSessionServerSideEJBWrapper.java:1213)
at glog.business.session.OrderActionSessionHome_likuwd_EOImpl.planOrders(OrderActionSessionHome_likuwd_EOImpl.java:4667)
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_t6tuwu_EOImpl.execute(WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.java:353)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:353)
at glog.server.workflow.Trigger.trigger(Trigger.java:122)
at glog.util.event.EventThread.isInterrupted(EventThread.java:40)
at glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable.java:142)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:96)
at glog.util.event.EventThread.run(EventThread.java:83)
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