"java.lang.NullPointerException" Exception When Entering Event to a Static Shipment (Doc ID 1339291.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Fleet Management - Version: 6.2.0 to 6.2.4 - Release: 6.2 to 6.2
Information in this document applies to any platform.

Symptoms


A Shipment is created from a Ground Schedule instance. A driver is then assigned to this shipment via Fleet Actions. When a Shipment Event is entered for this shipment, the following exception is encountered:

java.lang.NullPointerException
at glog.business.rateservicescheduling.RateServiceDriveEngine.prepDriverWorkPeriods(RateServiceDriveEngine.java:749)
at glog.business.rateservicescheduling.RateServiceDriveEngine.prepShipmentData(RateServiceDriveEngine.java:486)
at glog.business.rateservicescheduling.RateServiceDriveEngine.prepData(RateServiceDriveEngine.java:398)
at glog.business.rateservicescheduling.DeltaCalculator.prepareRateServiceScheduler(DeltaCalculator.java:104)
at glog.business.rateservicescheduling.DeltaCalculator.calcDelta(DeltaCalculator.java:52)
at glog.business.rateservicescheduling.RateServiceEngine.calcDelta(RateServiceEngine.java:1029)
at glog.business.rate.rateservice.RateServiceSession.calcDelta(RateServiceSession.java:664)
at glog.business.action.ShipmentExecutionActionExecutor.setShipmentActualStopTimes(ShipmentExecutionActionExecutor.java:714)
at glog.business.session.ShipmentExecutionActionSessionBean.setShipmentActualStopTimes(ShipmentExecutionActionSessionBean.java:173)
at glog.business.session.ShipmentExecutionActionSessionServerSideEJBWrapper.setShipmentActualStopTimes(ShipmentExecutionActionSessionServerSideEJBWrapper.java:153)
at glog.business.session.ShipmentExecutionActionSessionServerSideEJBWrapper_idwxv7_EOImpl.setShipmentActualStopTimes(ShipmentExecutionActionSessionServerSideEJBWrapper_idwxv7_EOImpl.java:308)
at glog.server.executionapi.servprov.shipmentstatus.ShipmentStopSchedule.updateActual(ShipmentStopSchedule.java:250)
at glog.server.agent.business.shipment.UpdateTimes.execute(UpdateTimes.java:68)
at glog.server.agent.ActionWorkflow.execute(ActionWorkflow.java:49)
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:350)
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:82)
at java.lang.Thread.run(Thread.java:619)
[shipmentEvents - 1]

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