"java.lang.IndexOutOfBoundsException: Index: 0, Size: 0" Attempting to Unassign an Order Movement

(Doc ID 1931906.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Operational Planning - Version 6.3.2 to 6.3.5 [Release 6.3]
Information in this document applies to any platform.

Symptoms


A user is planning both order movements of a two leg itinerary (TL, then LTL). Both shipments are tendered. The second shipment is then tender-withdrawn and then the Order Movement for the second leg is attempted to be unassigned. This eventually fails with:

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at glog.optimization.scheduling.ByDayScheduler.getDriveParams(ByDayScheduler.java:92)
at glog.optimization.scheduling.ByDayScheduler.drive(ByDayScheduler.java:180)
at glog.business.rateservicescheduling.RateServiceDriveEngine.drive(RateServiceDriveEngine.java:128)
at glog.business.rateservicescheduling.RateServiceEngine.drive(RateServiceEngine.java:230)
at glog.business.serviceprovider.ServiceProviderAssigner.assignServiceProviderUsingRateEngineResults(ServiceProviderAssigner.java:1002)
at glog.business.serviceprovider.ServiceProviderAssigner.assignLeastCostServiceProvider(ServiceProviderAssigner.java:602)
at glog.business.serviceprovider.ServiceProviderAssigner.assignLeastCostServiceProvider(ServiceProviderAssigner.java:510)
at glog.business.serviceprovider.ServiceProviderAssigner.assignLeastCostServiceProviders(ServiceProviderAssigner.java:431)
at glog.business.action.ordermovement.UnassignOrderMovementsAction.unassignOrderMovements(UnassignOrderMovementsAction.java:1194)
at glog.business.action.ordermovement.UnassignOrderMovementsAction.unassignUnassignableOrderMovements(UnassignOrderMovementsAction.java:863)
at glog.business.action.ordermovement.UnassignOrderMovementsAction.unassignOrderMovements(UnassignOrderMovementsAction.java:153)
at glog.business.session.OrderMovementActionSessionBean.unassignOrderMovements(OrderMovementActionSessionBean.java:522)
at glog.business.session.OrderMovementActionSessionServerSideEJBWrapper.unassignOrderMovements(OrderMovementActionSessionServerSideEJBWrapper.java:381)
at glog.business.session.OrderMovementActionSessionServerSideEJBWrapper_ak3ax7_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.business.session.OrderMovementActionSessionServerSideEJBWrapper_ak3ax7_EOImpl.unassignOrderMovements(Unknown Source)
at glog.business.session.gen.OrderMovementActionSessionSkel.unassignOrderMovements(OrderMovementActionSessionSkel.java:330)
at glog.business.session.gen.OrderMovementActionSessionSkel.exec(OrderMovementActionSessionSkel.java:100)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:16)
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:62)
at glog.server.wrapper.WrapperSessionServerSideEJBWrapper.execDispatch(WrapperSessionServerSideEJBWrapper.java:50)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.execDispatch(Unknown Source)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:668)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:232)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:119)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

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