Planning An Order With Pattern Based 'Load Config' Where Two Prefered Options Ar Ticked Results In An Error: at java.util.AbstractCollection.removeAll(AbstractCollection.java:336) (Doc ID 1438448.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Operational Planning - Version: 6.2.3 to 6.2.6 - Release: 6.2 to 6.2
Information in this document applies to any platform.

Symptoms


On OTM version 6.2.3.

When planning an order with pattern based load config a Null Pointer Exception is displayed.

ERROR
-----------------------
Exception java.lang.NullPointerException

java.lang.NullPointerException
at java.util.AbstractCollection.removeAll(AbstractCollection.java:336)
at glog.optimization.containerloading.AbstractCLEngine.optimize(AbstractCLEngine.java:68)
at glog.optimization.packingsolver.LoadConfigPackingMethod.optimize(LoadConfigPackingMethod.java:305)
at glog.optimization.packingsolver.LoadConfigPackingMethod.fillSplittableItemList(LoadConfigPackingMethod.java:281)
at glog.optimization.packingsolver.LoadConfigPackingMethod.fillPackedResource(LoadConfigPackingMethod.java:154)
at glog.optimization.packingsolver.PackingHeuristicSolver.packEquipment(PackingHeuristicSolver.java:496)
at glog.optimization.packingsolver.PackingHeuristicSolver.packPackedResource(PackingHeuristicSolver.java:462)
at glog.optimization.packingsolver.PackingHeuristicSolver.packResource(PackingHeuristicSolver.java:350)
at glog.optimization.packingsolver.PackingHeuristicSolver.getBestFitPacking(PackingHeuristicSolver.java:200)
at glog.optimization.packingsolver.PackingHeuristicSolver.solve(PackingHeuristicSolver.java:58)
at glog.optimization.packingsolver.PackingSolver.solve(PackingSolver.java:200)
at glog.optimization.packingsolver.PackingSolver.solve(PackingSolver.java:120)
at glog.business.conopt.ContainerOptimization.optimizeNewConopt(ContainerOptimization.java:664)
at glog.business.conopt.ContainerOptimization.optimize(ContainerOptimization.java:844)
at glog.business.equipment.EquipmentPacker.getCONOptSolutions(EquipmentPacker.java:2236)
at glog.business.equipment.EquipmentPacker.makeEquipmentOptions(EquipmentPacker.java:1968)
at glog.business.equipment.EquipmentPacker.makeEquipmentOptions(EquipmentPacker.java:1905)
at glog.business.shipment.ShipmentBuilder.createEquipmentOptionsOnLeg(ShipmentBuilder.java:2039)
at glog.business.shipment.ShipmentBuilder.makeLegOptionsOnTLeg(ShipmentBuilder.java:1329)
at glog.business.shipment.ShipmentBuilder.makeLegOptions(ShipmentBuilder.java:1764)
at glog.business.shipment.ShipmentBuilder.buildBestItineraryOption(ShipmentBuilder.java:1472)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:1534)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraphCollection(ShipmentBuilder.java:495)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraphCollection(ShipmentBuilder.java:431)
at glog.business.consolidation.bulkplan.BuildShipmentGraphCollectionTask.executePlanning(BuildShipmentGraphCollectionTask.java:34)
at glog.business.util.PlanningTask.execute(PlanningTask.java:14)
at glog.server.workflow.tasklist.Task.perform(Task.java:51)
at glog.server.workflow.tasklist.TaskList.executeInCallerThread(TaskList.java:117)
at glog.business.util.PlanningTaskList.executeInCallerThread(PlanningTaskList.java:83)
at glog.server.workflow.tasklist.TaskList.execute(TaskList.java:97)
at glog.server.workflow.tasklist.TaskList.execute(TaskList.java:158)
at glog.business.consolidation.bulkplan.OrderPlanner.buildDirectShipmentGraphCollection(OrderPlanner.java:1051)
at glog.business.consolidation.bulkplan.OrderPlanner.makeDirectTShipments(OrderPlanner.java:990)
at glog.business.consolidation.bulkplan.OrderPlanner.bulkPlan(OrderPlanner.java:354)
at glog.business.action.order.OrderActions.planUnassignedOrders(OrderActions.java:923)
at glog.business.action.order.BulkPlanActionExecutor.planOrders(BulkPlanActionExecutor.java:287)
at glog.business.action.order.BulkPlanActionExecutor.planOrders(BulkPlanActionExecutor.java:117)
at glog.business.session.OrderActionSessionBean.planOrders(OrderActionSessionBean.java:1170)
at glog.business.session.OrderActionSessionServerSideEJBWrapper.planOrders(OrderActionSessionServerSideEJBWrapper.java:1290)
at glog.business.session.OrderActionSessionHome_likuwd_EOImpl.planOrders(OrderActionSessionHome_likuwd_EOImpl.java:561)
at glog.server.workflow.adhoc.BulkPlan.executeOrder(BulkPlan.java:65)
at glog.server.workflow.adhoc.BulkPlan.execute(BulkPlan.java:49)
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:146)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:98)
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. Set up OTM to use Pattern Based Load Configuration and attempt to plan an order.


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