Bulk Plan To Not Able To Assign Drivers To Multiple Shipments In 6.2 with the Error: Error Exception java.lang.IndexOutOfBoundsException: Index: 3, Size: 3 (Doc ID 1299041.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version: 6.2.0 and later   [Release: 6.2 and later ]
Information in this document applies to any platform.

Symptoms

On OTM 6.2.0 version, when Bulk planning OTM is not able to assign drivers to multiple shipments the log contains the following error:

ERROR
-----------------------
Error Exception java.lang.IndexOutOfBoundsException: Index: 3, Size: 3

java.lang.IndexOutOfBoundsException: Index: 3, Size: 3
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at glog.business.fleetassignment.optimization.FleetOptimizationHelper.getLastFreightStop(FleetOptimizationHelper.java:112)
at glog.business.fleetassignment.optimization.FleetOptimizationHelper.canNotBeAfter(FleetOptimizationHelper.java:31)
at glog.business.fleetassignment.optimization.DriverAssignmentOptimizer.createShortestPathNetwork(DriverAssignmentOptimizer.java:126)
at glog.business.fleetassignment.optimization.FleetAssignmentOptimizer.optimizeAssigment(FleetAssignmentOptimizer.java:78)
at glog.business.fleetassignment.optimization.DriverAssignmentEngine.optimizeAssignment(DriverAssignmentEngine.java:52)
at glog.business.action.fleetassignment.driver.OptimizeDriverAssignmentAction.optimizeAssignment(OptimizeDriverAssignmentAction.java:248)
at glog.business.action.fleetassignment.driver.OptimizeDriverAssignmentAction.perform(OptimizeDriverAssignmentAction.java:192)
at glog.business.session.FleetAssignmentActionSessionBean.optimizeDriverAssignment(FleetAssignmentActionSessionBean.java:736)
at glog.business.session.FleetAssignmentActionSessionServerSideEJBWrapper.optimizeDriverAssignment(FleetAssignmentActionSessionServerSideEJBWrapper.java:797)
at glog.business.session.FleetAssignmentActionSessionServerSideEJBWrapper_c0gjd_EOImpl.optimizeDriverAssignment(FleetAssignmentActionSessionServerSideEJBWrapper_c0gjd_EOImpl.java:3946)
at glog.business.fleetassignment.fleetbulkplan.FleetBulkPlanResultSessionBean.executeFleetBulkPlan(FleetBulkPlanResultSessionBean.java:120)
at glog.business.fleetassignment.fleetbulkplan.FleetBulkPlanResultSessionServerSideEJBWrapper.executeFleetBulkPlan(FleetBulkPlanResultSessionServerSideEJBWrapper.java:91)
at glog.business.fleetassignment.fleetbulkplan.FleetBulkPlanResultSessionServerSideEJBWrapper_jbyh5b_EOImpl.executeFleetBulkPlan(FleetBulkPlanResultSessionServerSideEJBWrapper_jbyh5b_EOImpl.java:60)
at glog.server.workflow.adhoc.OptimizeFleetResourceAssignmentInternal.execute(OptimizeFleetResourceAssignmentInternal.java:66)
at glog.server.workflow.SimpleWorkflow.execute(SimpleWorkflow.java:23)
at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper.execute(WorkflowSessionNonTransServerSideEJBWrapper.java:38)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.execute(WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.java:278)
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:147)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:98)
at glog.util.event.EventThread.run(EventThread.java:83)
at java.lang.Thread.run(Thread.java:619)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1 - Select Shipments to have Drivers assigned.

2 - Click Actions > Fleetmanagement > Assign > Optimize driver Assignment

3 - Select a Parameter Set configured to allow Driver Fleet assignment.

4 - Enter a Driver Saved Query ID to select the drive/s.

5 - Bulk Plan ends in a few seconds, the UI does not show this but the log does.

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