"NullPointerException" Error When Capacity Limits are Exhausted (Doc ID 1355074.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Management - Version: 6.2.0 to 6.2.5 - Release: 6.2 to 6.2
Information in this document applies to any platform.

Symptoms


Capacity Limits are defined for a carrier that expire at some date. If a set of orders are planned using this rate, where there are more shipments that the defined capacity, the planning is failing with the following exception:

java.lang.NullPointerException
at glog.business.action.order.OrderActions.disbandPartialCMs(OrderActions.java:1826)
at glog.business.action.order.OrderActions.processShipmentGraphCollection(OrderActions.java:1250)
at glog.business.action.order.OrderActions.planUnassignedOrders(OrderActions.java:981)
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:4665)
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:134)
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:82)
at java.lang.Thread.run(Thread.java:619)

This only occurs if more shipments are planned than the current configured Capacity Limits. It is expected that the current capacities are utilized and the remaining shipments are created for the dates in which there is no capacity defined (i.e. unlimiited)

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