NullPointer Exception Assiging a Driver to Shipment Using "Replace Last Shipment" option (Doc ID 1316841.1)

Last updated on JULY 09, 2014

Applies to:

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

Symptoms


When assigning a driver to a shipment (selecting a "Replace Last Shipment" option) the following nullpointer exception is encountered. The driver was assigned to a previous shipment and also has a Nat/Nal Override.

java.lang.NullPointerException
at glog.business.fleetassignment.DriverAssigner.convertDriverAssignmentOptionForUnassign(DriverAssigner.java:1677)
at glog.business.fleetassignment.DriverAssigner.createWork(DriverAssigner.java:1562)
at glog.business.fleetassignment.DriverAssigner.assignFleetResource(DriverAssigner.java:194)
at glog.business.service.fleetassignment.DriverAssignmentShipmentService.assignDriver(DriverAssignmentShipmentService.java:187)
at glog.business.action.fleetassignment.driver.AssignDriverAction.process(AssignDriverAction.java:87)
at glog.business.action.shipment.AbstractShipmentPlanningAction.perform(AbstractShipmentPlanningAction.java:140)
at glog.business.action.fleetassignment.AbstractFleetShipmentPlanningAction.perform(AbstractFleetShipmentPlanningAction.java:96)
at glog.business.session.FleetAssignmentActionSessionBean.assignDriverToShipment(FleetAssignmentActionSessionBean.java:646)
at glog.business.session.FleetAssignmentActionSessionServerSideEJBWrapper.assignDriverToShipment(FleetAssignmentActionSessionServerSideEJBWrapper.java:624)
at glog.business.session.FleetAssignmentActionSessionServerSideEJBWrapper_c0gjd_EOImpl.assignDriverToShipment(FleetAssignmentActionSessionServerSideEJBWrapper_c0gjd_EOImpl.java:1574)
at glog.business.session.gen.FleetAssignmentActionSessionSkel.assignDriverToShipment(FleetAssignmentActionSessionSkel.java:743)
at glog.business.session.gen.FleetAssignmentActionSessionSkel.exec(FleetAssignmentActionSessionSkel.java:154)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:15)
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:61)
at glog.server.wrapper.WrapperSessionServerSideEJBWrapper.execDispatch(WrapperSessionServerSideEJBWrapper.java:48)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.execDispatch(WrapperSessionHome_a06097_EOImpl.java:61)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:590)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:232)
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