"java.lang.NullPointerException" Exception When Country of Border Crossing Location is Different From Source Location of Order Release (Doc ID 1085595.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Operational Planning - Version: 6.1 to 6.1.2 - Release: 6.1 to 6.1
Information in this document applies to any platform.

Symptoms


An itinerary is configured to have a Border Crossing interim stop. When the Border Crossing Location is in a different country than the Order Release's Source Location, this results in the following Exception when the order is attempted to be planned on the shipment:

java.lang.NullPointerException
at glog.business.shipment.multistoporder.MultiStopOrderReleaseShipmentBuilder.insertOtherTypeOfStops(MultiStopOrderReleaseShipmentBuilder.java:757)
at glog.business.shipment.multistoporder.MultiStopOrderReleaseShipmentBuilder.insertOtherTypeOfStops(MultiStopOrderReleaseShipmentBuilder.java:409)
at glog.business.shipment.multistoporder.MultiStopOrderReleaseShipmentBuilder.processItinerayOption(MultiStopOrderReleaseShipmentBuilder.java:174)
at glog.business.shipment.LegOptionOptimizer.getCheapestFeasibleOption(LegOptionOptimizer.java:331)
at glog.business.shipment.LegOptionOptimizer.buildItineraryOptionOnBestLegOptions(LegOptionOptimizer.java:122)
at glog.business.shipment.ShipmentBuilder.buildBestItineraryOption(ShipmentBuilder.java:1482)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:1521)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraphCollection(ShipmentBuilder.java:506)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraphCollection(ShipmentBuilder.java:445)
at glog.business.consolidation.bulkplan.BuildShipmentGraphCollectionTask.executePlanning(BuildShipmentGraphCollectionTask.java:25)
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:788)
at glog.business.consolidation.bulkplan.OrderPlanner.makeDirectTShipments(OrderPlanner.java:731)
at glog.business.consolidation.bulkplan.OrderPlanner.bulkPlan(OrderPlanner.java:322)
at glog.business.action.order.OrderActions.planUnassignedOrders(OrderActions.java:800)
at glog.business.action.order.BulkPlanActionExecutor.planOrders(BulkPlanActionExecutor.java:272)
at glog.business.action.order.BulkPlanActionExecutor.planOrders(BulkPlanActionExecutor.java:112)
at glog.business.session.OrderActionSessionBean.planOrders(OrderActionSessionBean.java:1216)
at glog.business.session.OrderActionSessionServerSideEJBWrapper.planOrders(OrderActionSessionServerSideEJBWrapper.java:1213)
at glog.business.session.OrderActionSessionHome_likuwd_EOImpl.planOrders(OrderActionSessionHome_likuwd_EOImpl.java:4667)
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_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:83)
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