My Oracle Support Banner

ECE Discount Priority Order Not Working Correctly With System Alteration Offer (Doc ID 2906046.1)

Last updated on NOVEMBER 09, 2022

Applies to:

Oracle Communications BRM - Elastic Charging Engine - Version 11.3.0.7.0 and later
Information in this document applies to any platform.

Symptoms

A system level alteration offering for Multimedia Messaging Service (MMS) refund is working fine, but Elastic Charging Engine returns null pointer exception with setting useOfferPriorityDuringAlterationAgreementEvaluation="true".

ERROR in ecs.logs
-------------------
953 nano-seconds (0.124 milli-seconds)
2022-07-22 15:52:50.670 EEST DEBUG - 182686055978239438 - DGW_Voyager_722145236000001_SI:13_RG:200013 - 10892377362 - SampleCustomDslExtension: selector[121549DA-9F8B-1BF0-6282-144BA4323770] => '2d4ce1f2-e74b-477f-a882-3790fcd0e3af'
2022-07-22 15:52:50.671 EEST ERROR - 182686055978239438 - DGW_Voyager_722145236000001_SI:13_RG:200013 - 10892377362 - OrchestrationFrameworkMessageBundle-5003: When processing activity [ActivityWrapperImpl{target=oracle.communication.brm.charging.orchestration.usage.internal.ApplyChargeActivityImpl@4daacfe9}{methodName=public oracle.communication.brm.charging.rating.RatingResult
oracle.communication.brm.charging.orchestration.usage.internal.ApplyChargeActivityImpl.process(oracle.communication.brm.charging.customer.Customer,java.util.Collection,oracle.communication.brm.charging.messages.usage.UsageRequest,oracle.communication.brm.charging.rating.RatingContext,oracle.communication.brm.charging.product.CompositeTariffPolicy,oracle.communication.brm.charging.product.Product,java.util.Map,java.lang.Boolean,oracle.communication.brm.charging.messages.framework.SingleR

... 53 more
Caused by: java.lang.NullPointerException
at oracle.communication.brm.charging.product.internal.TariffPolicyImpl$1.compare(TariffPolicyImpl.java:784) ~[ece-customer.jar:?]
at oracle.communication.brm.charging.product.internal.TariffPolicyImpl$1.compare(TariffPolicyImpl.java:780) ~[ece-customer.jar:?]
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)

STEPS
----------
1. Enabled useOfferPriorityDuringAlterationAgreementEvaluation="true" in charging-settings.xml
2. Created DSG with discount offering, modify DSG to add discount offering.
3. Sent usage, based on discount priority discounts are applied and balance is verified.

 

Changes

 

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
Changes
Cause
Solution
References


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