"java.lang.IndexOutOfBoundsException" Exception When Running Agent Action "ORDER RELEASE - MOD - PROPAGATE CHANGES" (Doc ID 1553757.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

Agent is configured with action "ORDER RELEASE - MOD - PROPAGATE CHANGES". An XML is used to add a ship unit (and line) to an Order Release which triggers this action. This action fails with the following:

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.business.omd.OrderModHelper.propagateCountChanges(OrderModHelper.java:793)
at glog.business.omd.OrderModHelper.propagateTShipUnitUpdate(OrderModHelper.java:868)
at glog.business.omd.ShipUnitQtyChangePropagator.applyUpdate(ShipUnitQtyChangePropagator.java:333)
at glog.business.omd.ShipUnitQtyChangePropagator.applyInsertUpdate(ShipUnitQtyChangePropagator.java:357)
at glog.business.omd.ShipUnitQtyChangePropagator.propagateChanges(ShipUnitQtyChangePropagator.java:273)
at glog.business.omd.ShipUnitQtyChangePropagator.propagate(ShipUnitQtyChangePropagator.java:125)
at glog.business.omd.OrderModPropagator.propagate(OrderModPropagator.java:76)
at glog.business.session.OMDProcessorSessionBean.propagateORModChange(OMDProcessorSessionBean.java:111)
at glog.business.session.OMDProcessorSessionServerSideEJBWrapper.propagateORModChange(OMDProcessorSessionServerSideEJBWrapper.java:134)
at glog.business.session.OMDProcessorSessionHome_f09cq7_EOImpl.propagateORModChange(OMDProcessorSessionHome_f09cq7_EOImpl.java:210)
at glog.server.agent.business.order.ORModPropagateChanges.propagateChanges(ORModPropagateChanges.java:51)
at glog.server.agent.business.order.ORModPropagateChanges.process(ORModPropagateChanges.java:83)
at glog.server.agent.business.order.ORActionTopic.persist(ORActionTopic.java:48)
at glog.server.agent.PersistActionTopic.execute(PersistActionTopic.java:34)
at glog.server.agent.business.order.ORModPropagateChanges.execute(ORModPropagateChanges.java:37)
at glog.server.agent.ActionWorkflow.execute(ActionWorkflow.java:50)
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:146)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:98)
at glog.util.event.EventThread.run(EventThread.java:87)
at java.lang.Thread.run(Thread.java:619)

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