"java.lang.NullPointerException" Exception When Planning Using Depot and Rush Hour (Doc ID 1540167.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

When Planning using fixed times between locations, Depot functionality and Rush Hour set up but not switched on the following error is seen:

ERROR
-----------------------
java.lang.NullPointerException

at glog.business.calendar.WorkPeriodSchedule.checkDate(WorkPeriodSchedule.java:1432)
at glog.business.calendar.CalendarWorkPeriodManager.getWorkPeriodRanges(CalendarWorkPeriodManager.java:185)
at glog.business.rateservicescheduling.TRushHour.makeRushHourPeriods(TRushHour.java:54)
at glog.business.rateservicescheduling.TRushHourGroup.makeRushHourPeriods(TRushHourGroup.java:45)
at glog.business.rateservicescheduling.RushHourManager.retrieveRushHours(RushHourManager.java:358)
at glog.business.rateservicescheduling.RushHourManager.getSrcRushHourGroup(RushHourManager.java:98)
at glog.business.rateservicescheduling.RushHourManager.getMaxRushHourDelay(RushHourManager.java:259)
at glog.business.rateservicescheduling.RateServiceHelper.getMaxTransitTime(RateServiceHelper.java:932)
at glog.business.rateservicescheduling.RateServiceHelper.estimateDestDepotTimeWindow(RateServiceHelper.java:829)
at glog.business.rateservicescheduling.RateServiceHelper.estimateOtherStopTimeWindow(RateServiceHelper.java:650)
at glog.business.rateservicescheduling.RateServiceEngine.drive(RateServiceEngine.java:111)
at glog.business.rate.rateservice.RateServiceSession.calculateRateServiceResultWindow(RateServiceSession.java:1736)
at glog.business.serviceprovider.ServiceProviderAssigner.assignServiceProviderUsingRateEngineResults(ServiceProviderAssigner.java:955)
at glog.business.serviceprovider.ServiceProviderAssigner.assignLeastCostServiceProvider(ServiceProviderAssigner.java:587)
at glog.business.equipment.EquipmentAssigner.getLeastCostTShipment(EquipmentAssigner.java:938)
at glog.business.equipment.EquipmentAssigner.assignBestEquipmentGroup(EquipmentAssigner.java:682)
at glog.business.equipment.EquipmentAssigner.assignEquipmentGroupInternal(EquipmentAssigner.java:217)
at glog.business.equipment.EquipmentAssigner.assignEquipmentGroup(EquipmentAssigner.java:92)
at glog.business.shipment.MiniShipmentBuilder.constructTShipment(MiniShipmentBuilder.java:729)
at glog.business.shipment.MiniShipmentBuilder.buildTShipment(MiniShipmentBuilder.java:126)
at glog.business.consolidation.bulkplan.BuildShipmentTask.executePlanning(BuildShipmentTask.java:36)
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.PoolXDockPlanner.buildDirectShipmentsUsingMiniShipmentBuilder(PoolXDockPlanner.java:12329)
at glog.business.consolidation.bulkplan.PoolXDockPlanner.makeDirectShipmentsForSmallBundles(PoolXDockPlanner.java:12256)
at glog.business.consolidation.bulkplan.PoolXDockPlanner.makeDirectTShipments(PoolXDockPlanner.java:1106)
at glog.business.consolidation.bulkplan.PoolXDockPlanner.bulkPlan(PoolXDockPlanner.java:554)
at glog.business.consolidation.bulkplan.OrderPlanner.bulkPlan(OrderPlanner.java:339)
at glog.business.action.order.OrderActions.planUnassignedOrders(OrderActions.java:923)
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