NullPointerException Processing Shipment Event on Shipment with Driver Assigned (Doc ID 1203877.1)

Last updated on JULY 09, 2014

Applies to:

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

Symptoms


When adding a shipment event to a shipment with a Driver, the Shipment Event Tracker agent is failing with the following exception and therefore not updating the shipment status appropriately:

java.lang.NullPointerException
at glog.optimization.scheduling.HOSCalculator.resetConsumedActivityTime(HOSCalculator.java:522)
at glog.optimization.scheduling.DriveSimulator.driveToNode(DriveSimulator.java:486)
at glog.optimization.scheduling.DriveSimulator.driveToNode(DriveSimulator.java:390)
at glog.optimization.scheduling.DriveSimulator.driveNode(DriveSimulator.java:365)
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.rate.rateservice.RateServiceSession.calculateRateService(RateServiceSession.java:1476)
at glog.business.action.ShipmentExecutionActionExecutor.setShipmentActualStopTimes(ShipmentExecutionActionExecutor.java:716)
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:141)
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