"java.lang.NullPointerException" Exception when Adding a Shipment Event for a Driver Assigned Shipment (Doc ID 1097757.1)

Last updated on JULY 09, 2014

Applies to:

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

Symptoms


The following Exception is encountered when a Shipment Event is created that causes a redrive of the stop times.

java.lang.NullPointerException
at glog.optimization.scheduling.HOSCalculator.resetConsumedActivityTime(HOSCalculator.java:522)
at glog.optimization.scheduling.DriveSimulator.processDeparture(DriveSimulator.java:686)
at glog.optimization.scheduling.DriveSimulator.driveAtNode(DriveSimulator.java:553)
at glog.optimization.scheduling.DriveSimulator.driveNode(DriveSimulator.java:369)
at glog.optimization.scheduling.DriveSimulator.drive(DriveSimulator.java:327)
at glog.optimization.scheduling.DriveSimulator.drive(DriveSimulator.java:160)
at glog.optimization.scheduling.DriveSimulator.drive(DriveSimulator.java:70)
at glog.optimization.scheduling.SimulationRateServiceScheduler.drive(SimulationRateServiceScheduler.java:39)
at glog.business.rateservicescheduling.RateServiceDriveEngine.drive(RateServiceDriveEngine.java:118)
at glog.business.rateservicescheduling.RateServiceEngine.drive(RateServiceEngine.java:177)
at glog.business.rateservicescheduling.RateServiceEngine.calculateRateServiceResults(RateServiceEngine.java:718)
at glog.business.rate.rateservice.RateServiceSession.calculateRateServiceResultWindows(RateServiceSession.java:943)
at glog.business.action.ShipmentExecutionActionExecutor.setShipmentActualStopTimes(ShipmentExecutionActionExecutor.java:694)
at glog.business.session.ShipmentExecutionActionSessionBean.setShipmentActualStopTimes(ShipmentExecutionActionSessionBean.java:168)
at glog.business.session.ShipmentExecutionActionSessionServerSideEJBWrapper.setShipmentActualStopTimes(ShipmentExecutionActionSessionServerSideEJBWrapper.java:149)
at glog.business.session.ShipmentExecutionActionSessionServerSideEJBWrapper_idwxv7_EOImpl.setShipmentActualStopTimes(ShipmentExecutionActionSessionServerSideEJBWrapper_idwxv7_EOImpl.java:2975)
at glog.server.executionapi.servprov.shipmentstatus.ShipmentStopSchedule.updateActual(ShipmentStopSchedule.java:258)
at glog.server.agent.business.shipment.UpdateTimes.execute(UpdateTimes.java:68)
at glog.server.agent.ActionWorkflow.execute(ActionWorkflow.java:50)
at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at glog.server.workflow.WorkflowSessionServerSideEJBWrapper.execute(WorkflowSessionServerSideEJBWrapper.java:38)
at glog.server.workflow.WorkflowSessionServerSideEJBWrapper_61kh96_EOImpl.execute(WorkflowSessionServerSideEJBWrapper_61kh96_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.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)

This only occurs when there are no HOS Rules assigned to the Rate Service

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