Java.Lang.Nullpointerexception In Rate Engine when Using Unit Breaks

(Doc ID 466282.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version: 5.5.02.02
This problem can occur on any platform.

Symptoms

-- Problem Statement:
Null pointer is gained when running a Rate Inquiry (RIQ) where the rate has been configured with two regions, both using Rate Unit Breaks.

To Replicate:

1) Created 2 Regions:
- REGION 1 -> Containing locations in REGION 1
- REGION 2 -> Containing locations in REGION 2

2) Created Region Group:
- REGION_GROUP_1 containing 2 regions:
- REGION 2
- REGION 1

3) Created 1 RATE_UNIT_BREAK_PROFILE: ALL
- ALL, that contains the following 2 unit breaks
- ALL_REGION 2 (with unit break .REGION 2)
- ALL_REGION 1 (with unit break .REGION 1)

4) Created Rate Offering:
- REGION_GROUP_1_ALL > Assign the region REGION_GROUP_1 to it (region group field)

5) Create Rate Record:
- REGION_GROUP_1_ALL
- Valid from USA to USA and add 2 costs

1) REGION 2
- Criteria: Stop Activity = D
- Charge Multiplier Option: Greatest Individual Cost
- Valid Rate Unit Break: REGION 2
- Price 101$ / shipment
- Charge Break Comparator: Stop Region Associated with the Rate Offering...

2) REGION 1
- Criteria: Stop Activity = D
- Charge Multiplier Option: Greatest Individual Cost
- Valid Rate Unit Break: REGION 1
- Price 10$ / ton
- Charge Break Comparator: Stop Region Associated with the Rate Offering...

When trying to do a rate inquiry from USA (Country) to REGION 2 or REGION 1 (Customer), it does not return any result.

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