"java.lang.NullPointerException" Error When Attempting to Assign Driver/Equipment to a Shipment (Doc ID 1538892.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Management - Version 6.0 to 6.3.2 [Release 6 to 6.3]
Information in this document applies to any platform.

Symptoms

When Equipment is being assigned and OTM is searching for an Equipment Pool, if the Location where the Driver is located has no Latitude or Longitude, the following NullPointer Exception is thrown:

java.lang.NullPointerException
at glog.business.location.LocationHelper.adjustOutofRouteDistance(LocationHelper.java:250)
at glog.business.location.LocationHelper.getLocationPKsWithinEllipse(LocationHelper.java:151)
at glog.business.fleetassignment.PositionEquipmentTypeLogic.setUpMaps(PositionEquipmentTypeLogic.java:799)
at glog.business.fleetassignment.PositionEquipmentTypeLogic.(PositionEquipmentTypeLogic.java:108)
at glog.business.service.fleetassignment.EquipmentTypeAssignmentShipmentService.evaluateEquipmentType(EquipmentTypeAssignmentShipmentService.java:216)
at glog.business.action.fleetassignment.equipment.EvaluateEquipmentTypesAction.process(EvaluateEquipmentTypesAction.java:110)
at glog.business.action.fleetassignment.AbstractFleetShipmentPlanningAction.perform(AbstractFleetShipmentPlanningAction.java:122)
at glog.business.session.FleetAssignmentActionSessionBean.evaluateEquipmentTypesForShipment(FleetAssignmentActionSessionBean.java:1108)
at glog.business.session.FleetAssignmentActionSessionServerSideEJBWrapper.evaluateEquipmentTypesForShipment(FleetAssignmentActionSessionServerSideEJBWrapper.java:1166)
at glog.business.session.FleetAssignmentActionSessionServerSideEJBWrapper_c0gjd_EOImpl.evaluateEquipmentTypesForShipment(FleetAssignmentActionSessionServerSideEJBWrapper_c0gjd_EOImpl.java:1786)
at glog.business.session.gen.FleetAssignmentActionSessionSkel.evaluateEquipmentTypesForShipment(FleetAssignmentActionSessionSkel.java:1009)
at glog.business.session.gen.FleetAssignmentActionSessionSkel.exec(FleetAssignmentActionSessionSkel.java:198)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:16)
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:83)
at glog.server.wrapper.WrapperSessionServerSideEJBWrapper.execDispatch(WrapperSessionServerSideEJBWrapper.java:48)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.execDispatch(WrapperSessionHome_a06097_EOImpl.java:58)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

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