My Oracle Support Banner

ArrayIndexOutOfBoundsException During Planning via Agent (Doc ID 1666260.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Management - Version 6.0 to 6.3.4 [Release 6 to 6.3]
Information in this document applies to any platform.

Symptoms


When attempting to upload many Order Bases at one time where agents are configured that release the Orders and then Plan them, for random orders find that the planning of the orders is failing (i.e. the agent action to plan the orders is failing). The exception is:

java.lang.ArrayIndexOutOfBoundsException: 966
at sun.util.calendar.BaseCalendar.getCalendarDateFromFixedDate(BaseCalendar.java:436)
at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2081)
at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1996)
at java.util.Calendar.setTimeInMillis(Calendar.java:1109)
at java.util.Calendar.setTime(Calendar.java:1075)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:876)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:869)
at java.text.DateFormat.format(DateFormat.java:316)
at glog.util.LocalDate.toStringNoTZ(LocalDate.java:99)
at glog.util.LocalDate.toString(LocalDate.java:98)
at java.lang.String.valueOf(String.java:2826)
at java.lang.StringBuilder.append(StringBuilder.java:115)
at glog.business.rate.rateengine.guts.RECharge.toString(RECharge.java:2821)
at java.text.MessageFormat.subformat(MessageFormat.java:1246)
at java.text.MessageFormat.format(MessageFormat.java:836)
at java.text.Format.format(Format.java:140)
at java.text.MessageFormat.format(MessageFormat.java:812)
at glog.util.log.Log.logID(Log.java:83)
at glog.business.rate.rateengine.guts.RACAccessorial.processAccessorials(RACAccessorial.java:827)
at glog.business.rate.rateengine.guts.RACAccessorial.applyGlobalAccessorials(RACAccessorial.java:273)
at glog.business.rate.rateengine.guts.RACAccessorial.costShipment(RACAccessorial.java:162)
at glog.business.rate.rateengine.RatingEngine.rateIt(RatingEngine.java:883)
at glog.business.rate.rateengine.RatingEngine.findShipmentCosts(RatingEngine.java:414)
at glog.business.rate.ratefinder.RateFinder.findShipmentCosts(RateFinder.java:119)
at glog.business.rate.ratefinder.RateFinder.findCommonFeasibleRateEngineResult(RateFinder.java:575)
at glog.business.shipment.ShipmentBuilder.expandLegOptionOnCosts(ShipmentBuilder.java:3348)
at glog.business.shipment.ShipmentBuilder.calculateAndSetCosts(ShipmentBuilder.java:3232)
at glog.business.shipment.ShipmentBuilder.makeLegOptionsOnTLeg(ShipmentBuilder.java:1428)
at glog.business.shipment.ShipmentBuilder.makeLegOptions(ShipmentBuilder.java:1785)
at glog.business.shipment.ShipmentBuilder.buildBestItineraryOption(ShipmentBuilder.java:1488)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraphCollection(ShipmentBuilder.java:509)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:311)
at glog.business.action.OrderActionExecutor.buildShipmentGraph(OrderActionExecutor.java:388)
at glog.business.action.OrderActionExecutor.buildShipments(OrderActionExecutor.java:338)
at glog.business.session.OrderActionSessionBean.buildShipments(OrderActionSessionBean.java:244)
at glog.business.session.OrderActionSessionServerSideEJBWrapper.buildShipments(OrderActionSessionServerSideEJBWrapper.java:142)
at glog.business.session.OrderActionSessionHome_likuwd_EOImpl.buildShipments(OrderActionSessionHome_likuwd_EOImpl.java:1353)
at glog.server.agent.business.order.BuildShipment.execute(BuildShipment.java:51)
at glog.server.agent.ActionWorkflow.execute(ActionWorkflow.java:50)
at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at glog.server.workflow.WorkflowSessionServerSideEJBWrapper.execute(WorkflowSessionServerSideEJBWrapper.java:38)
at glog.server.workflow.WorkflowSessionServerSideEJBWrapper_61kh96_EOImpl.execute(WorkflowSessionServerSideEJBWrapper_61kh96_EOImpl.java:206)
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)

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.