My Oracle Support Banner

"java.lang.NullPointerException" With Conopt Merge Multi-stop Algorithm And Cost Based Routing (Doc ID 2597261.1)

Last updated on MAY 06, 2022

Applies to:

Oracle Transportation Operational Planning Cloud Service - Version 19 and later
Information in this document applies to any platform.


You are receiving a java.lang.NullPointerException error and so Order Releases fail when doing a bulk plan and using the Conopt Merge Algorithm due to this error stack trace:

You cannot use networking routing because it is not working with ground schedules.

To replicate:

Bulk plan 2 order releases with same source and different destinations which should be included in a multi-stop shipment and planning fails.
You use a single leg itinerary, WITHOUT the check on "Multi-Stop Itinerary" checkbox at Itinerary header level.
You have to uncheck this checkbox in order to have this itinerary considered as a Routing Option when using "Cost Based Routing" as planning logic (please refer to Doc ID 1053086.1).
Therefore in order to get a multi-stop you also have to set "Multi-stop into One Equipment" as Auto Consolidation Type at Itinerary Leg level.
Using all DEFAULT params except setting Conopt Merge for Multistop Cons Algorithm in Multistop Logic Config, the orders fail to plan.
If multistop is checked on itinerary the order plan with Conopt Merge but you do not get the best cost option.


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

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