My Oracle Support Banner

OnlineUsageResponse.getGrantedUnits() Returns Null (Doc ID 2950139.1)

Last updated on MAY 19, 2023

Applies to:

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


After upgrading production environment to Elastic Charging Engine (ECE), the user observes that for some requests within Diameter Gateway (DGW) GyExtension.handlePostOCS() callback, when accessing OnlineUsageResponse.getGrantedUnits(), it returns null and causes NullPointerException in further processing within extension. The context of the above invocation are INITIATE and UPDATE requests, ECS responses having SUCCESS status.
This behavior was not there before the upgrade nor noticed it during prior testing.
Please explain possible circumstance of null being returned from OnlineUsageResponse.getGrantedUnits() upon UsageRequest success.



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.