NullPointerException is Shown When Repositioning Driver Who Has Power Unit (Doc ID 1917254.1)

Last updated on AUGUST 14, 2014

Applies to:

Oracle Fleet Management - Version 6.2.0 to 6.3.3 [Release 6.2 to 6.3]
Information in this document applies to any platform.

Symptoms

If trying to create a driver re-position shipment from driver with power unit, then null pointer error is shown.

-- Error Message:
java.lang.NullPointerException java.lang.NullPointerException at
glog.business.fleetassignment.DriverAssigner.assignDriverToShipment(DriverAssigner.java:549) at
glog.business.fleetassignment.DriverAssigner.assignFleetResource(DriverAssigner.java:239) at
glog.business.service.fleetassignment.DriverAssignmentShipmentService.assignDriver(DriverAssignmentShipmentService.java:209) at
glog.business.fleetassignment.repositioning.RepositionDriverLogic.assignDriver(RepositionDriverLogic.java:126) at
glog.business.fleetassignment.repositioning.RepositionDriverLogic.process(RepositionDriverLogic.java:86) at
glog.business.shipment.AbstractShipmentLogic.perform(AbstractShipmentLogic.java:67) at
glog.business.service.fleetassignment.RepositioningShipmentService.repositionDriver(RepositioningShipmentService.java:105) at
glog.business.action.fleetassignment.repositioning.RepositionDriverAction.process(RepositionDriverAction.java:79) at
glog.business.action.shipment.AbstractShipmentPlanningAction.perform(AbstractShipmentPlanningAction.java:167) at
glog.business.action.fleetassignment.AbstractFleetShipmentPlanningAction.perform(AbstractFleetShipmentPlanningAction.java:105) at

REPRODUCE STEPS
----------------------
1. Create new driver as active.
2. Create the power unit as active and assign it to the driver
3. Do action NAT/NAL override and decide the driver's NAT and NAL.
4. Do action Driver Repositioning, notice NPE is occurred.
5. Remove the power unit from driver and perform Driver Repositioning again.
6. Success to build repositioning shipment.

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