Unable To Group All The Order Releases Under One Ship Group (Doc ID 564196.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Management - Version: 5.5
Information in this document applies to any platform.
***Checked for relevance on 19-Jan-2010***
Affected Shipment Group Creation functionality

Symptoms

-- Problem Statement:
While bulk planning orders that fall into different shipment group rules, when the bulk plan is trying to create the shipment group rules, the following Exception is encountered:

java.lang.NullPointerException
at glog.business.shipmentgroup.TShipmentGroup.equals(TShipmentGroup.java:428)
at java.util.ArrayList.indexOf(ArrayList.java:220)
at java.util.ArrayList.contains(ArrayList.java:201)
at glog.business.action.order.OrderActions.planUnassignedOrders(OrderActions.java:908)
at glog.business.action.order.BulkPlanActionExecutor.planOrders(BulkPlanActionExecutor.java:258)
at glog.business.action.order.BulkPlanActionExecutor.planOrders(BulkPlanActionExecutor.java:113)
at glog.business.session.OrderActionSessionBean.planOrders(OrderActionSessionBean.java:947)
at
glog.business.session.OrderActionSessionServerSideEJBWrapper.planOrders(OrderActionSessionServerSide
EJBWrapper.java:1026)
at
glog.business.session.OrderActionSessionHome_likuwd_EOImpl.planOrders(OrderActionSessionHome_likuwd_
EOImpl.java:2908)
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(WorkflowSessi
onNonTransServerSideEJBWrapper_t6tuwu_EOImpl.java:100)
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()V(Unknown Source)

This happens only when two rules are being evaluated for the same bulk plan. As a result, one shipment group is successfully created and the other is not. If you plan the orders that failed to go in a shipment group again (i.e. now the are applicable to only one shipment group rule), then they successfully plan into one rule.

-- Steps To Reproduce:
1. Create multiple shipment group rules that combines multiple shipments for a lane into one Trailer Build Shipment.
2. Create multiple orders that build individual LTL shipments.
3. Bulk plan the orders and see that the Shipment group logic fails with the null pointer exception.

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