"More than one Stop Order Bundle created" When Manipulating a Shipment Created from an Order Release with Stops where the Times are in the PAST. (Doc ID 1356421.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version: 6.1.0 to 6.2.4 - Release: 6.1 to 6.2
Information in this document applies to any platform.

Symptoms


When attempting to manipulate a shipment (such as an update) whose order includes an Order Release with Stops where the times are in the past, the following error occurs.

-- Error
Error creating Stop Order Bundle for Shipment Stop DOMAIN.SHIPMENT_ID 1. More than one Stop Order Bundle created.
at sun.reflect.GeneratedConstructorAccessor305.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at glog.util.exception.GLException.factory(GLException.java:434) at glog.util.exception.GLException.factory(GLException.java:410) at glog.util.exception.GLException.factory(GLException.java:406) at glog.util.exception.GLException.factory(GLException.java:402) at glog.business.consolidation.bulkplan.OrderBundleBuilder.makeStopOrderBundleForActivity(OrderBundleBuilder.java:859) at glog.business.consolidation.bulkplan.OrderBundleBuilder.makeStopOrderBundle(OrderBundleBuilder.java:675) at glog.business.shipment.TShipmentStop.createShipmentStopOrderBundle(TShipmentStop.java:722) at glog.business.shipment.TShipment.createTShipmentStops(TShipment.java:1224) at glog.business.shipment.TShipment.createTShipment(TShipment.java:1092) at glog.business.shipment.TShipment.createTShipments(TShipment.java:1063) at glog.business.shipment.TShipment.load(TShipment.java:1011) at glog.business.shipment.ShipmentLoader.load(ShipmentLoader.java:563) at glog.business.shipment.ShipmentLoader.loadShipments(ShipmentLoader.java:378) at glog.business.shipment.ShipmentLoader.loadShipments(ShipmentLoader.java:234) at glog.business.shipment.ShipmentLoader.loadShipments(ShipmentLoader.java:195) at glog.business.shipment.ShipmentLoader.loadShipment(ShipmentLoader.java:162) at glog.business.shipment.ShipmentLoader.loadShipment(ShipmentLoader.java:152) at glog.business.shipmentactual.ShipmentActualExecutor.execute(ShipmentActualExecutor.java:225) at glog.business.shipmentactual.ShipmentActualExecutor.execute(ShipmentActualExecutor.java:169) at glog.business.shipmentactual.ShipmentActualSessionBean.executeShipmentActual(ShipmentActualSessionBean.java:99) at glog.business.shipmentactual.ShipmentActualSessionServerSideEJBWrapper.executeShipmentActual(ShipmentActualSessionServerSideEJBWrapper.java:85) at glog.business.shipmentactual.ShipmentActualSessionHome_4tsowh_EOImpl.executeShipmentActual(ShipmentActualSessionHome_4tsowh_EOImpl.java:62) at glog.integration.application.shipment.ShipmentWrapper.invokeShipmentActualSession(ShipmentWrapper.java:1171) at glog.integration.application.shipment.ShipmentWrapper.invokeShipmentActualSession(ShipmentWrapper.java:1152) at glog.integration.application.shipment.ShipmentWrapper.persistViaShipmentActualSession(ShipmentWrapper.java:1202) at glog.integration.application.shipment.ShipmentWrapper.persistContainerSelf(ShipmentWrapper.java:1347) at glog.integration.xmlbasewrapper.XmlBaseWrapper.persistViaContainer(XmlBaseWrapper.java:349) at glog.integration.application.shipment.ShipmentInterface.persistIndivXML(ShipmentInterface.java:270) at glog.integration.application.shipment.ShipmentInterface.persistXML(ShipmentInterface.java:208) at glog.integration.application.BaseInterface.persistXMLBase(BaseInterface.java:195) at glog.integration.application.TransactionProcessor.processTransaction(TransactionProcessor.java:224) at glog.integration.application.TransactionProcessor.processTransaction(TransactionProcessor.java:363) at glog.server.workflow.transproc.TransProc.execute(TransProc.java:110) at glog.server.workflow.SimpleWorkflow.execute(SimpleWorkflow.java:23) at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64) at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.execute(WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.java:353) at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:353) at glog.server.workflow.Trigger.trigger(Trigger.java:122) at glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable.java:141) at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:96) at glog.util.event.EventThread.run(EventThread.java:86) at java.lang.Thread.run(Thread.java:619)


-- Steps
The issue can be reproduced at will with the following steps.

1. Created Order Release with Stops (e.g. P-D-D) where there are defined times on the stops
2. Plan this order onto a shipment
3. Navigated to Business Process and Automation > Integration > Integration Manager

5. Selected XML_1.  The XML, in this example, will add a Special Service to Shipment Stop number 3 (Phoenix).

Error is seen

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