My Oracle Support Banner

"java.lang.NullPointerException" in shipmentGraphConsolidator When Bulk Planning a Set of Orders (Doc ID 978632.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

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

Symptoms

On 5.5.05.07 version of OTM, When attempting to bulk plan a set of Order Releases, the following error occurs.

ERROR
-----------------------
2009-11-12 00:35:16.198 261381 Error Exception Exception happened in shipmentGraphConsolidator
java.lang.NullPointerException

java.lang.NullPointerException
at glog.business.consolidation.ShipmentGraphConsolidator.consolShipmentOnLegAndPropagate(ShipmentGraphConsolidator.java:917)
at glog.business.consolidation.ShipmentGraphConsolidator.consolidateSameLegShipmentsForSameItineraryShipmentGraphs(ShipmentGraphConsolidator.java:309)
at glog.business.consolidation.ShipmentGraphConsolidator.consolidateShipmentGraphs(ShipmentGraphConsolidator.java:123)
at glog.business.consolidation.bulkplan.OrderPlanner.makeConsolidatedShipmentGraphsForMultiLegItineraries(OrderPlanner.java:1031)
at glog.business.consolidation.bulkplan.OrderPlanner.bulkPlan(OrderPlanner.java:375)
at glog.business.action.order.OrderActions.planUnassignedOrders(OrderActions.java:826)
at glog.business.action.order.BulkPlanActionExecutor.planOrders(BulkPlanActionExecutor.java:260)
at glog.business.action.order.BulkPlanActionExecutor.planOrders(BulkPlanActionExecutor.java:114)
at glog.business.session.OrderActionSessionBean.planOrders(OrderActionSessionBean.java:951)
at glog.business.session.OrderActionSessionServerSideEJBWrapper.planOrders(OrderActionSessionServerSideEJBWrapper.java:1026)
at glog.business.session.OrderActionSessionHome_likuwd_EOImpl.planOrders(OrderActionSessionHome_likuwd_EOImpl.java:100)
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:154)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:341)
at glog.server.workflow.Trigger.trigger(Trigger.java:123)
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:82)
at java.lang.Thread.run(Thread.java:534)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1.  Bulk plan a set of orders through a multi-leg itinerary making sure that one of the orders does not have a suitable time window set and such that it fails to plan
2. See that the order fails as expected, but when the other orders are consolidated, null pointers are seen and this causes consolidation to fail

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!


In this Document
  Symptoms
  Cause
  Solution
  References

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.