My Oracle Support Banner

The New/Edit Periodic Charge Screen Throws A NullPointerException When Using Offset Dates (Doc ID 1602999.1)

Last updated on MARCH 07, 2019

Applies to:

Oracle Communications Network Charging and Control - Version 4.4.0 to 5.0.3 [Release 4.4 to 5.0]
Information in this document applies to any platform.

Symptoms

On Oracle Communications Network Charging and Control, release 5.0.1, when navigating to:

Services -> Prepaid Charging -> Wallet Management -> Periodic Charges tab -> New or Edit

When configuring new Periodic Charges or altering existing ones with Charge Type as "credit", the Service Management System (SMS) Screens throw a NullPointerException when one ticks the "Use Offset Date" check box.

The nullPointerException can also be observed in the Java console output :

- Periodic Charge saveStatement =
insert into CCS_PERIODIC_CHARGE (name, based_on, repeat_period, custom_type, custom_value, apply_to_existing, apply_to_activating, repeat_day_of_week, repeat_day_of_month, repeat_month, charge_states, charge_event_class, charge_event_name, insufficient_fund_action, voucher_type, recharge_action, recharge_balance_type, recharge_amount, bal_exp_date_extension, bal_exp_date_update_policy, wal_exp_date_extension, wal_exp_date_update_policy, charge_time, unsubscribe_after, remove_after, exclude_grace, unsubscribe_after_start_from, operation_name, bal_offset_date, bal_offset_period_extension, first_charge_event_class, first_charge_event_name, first_charge_if_action, acs_cust_id ) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,acs.effectiveCustomer)
setDebitParameters: chargeType= Credit
setCreditParameters: chargeType= Credit
java.lang.NullPointerException
at java.util.Calendar.setTime(Unknown Source)
at java.text.SimpleDateFormat.format(Unknown Source)
at java.text.SimpleDateFormat.format(Unknown Source)
at java.text.DateFormat.format(Unknown Source)
at com.eservglobal.ccs.periodicCharging.PeriodicChargeDefinitionPanel.getOffsetDate(PeriodicChargeDefinitionPanel.java:843)
at com.eservglobal.ccs.periodicCharging.PeriodicChargeDefinitionPanel.setCreditParameters(PeriodicChargeDefinitionPanel.java:821)
at com.eservglobal.ccs.periodicCharging.PeriodicChargeDefinitionPanel.populateStatement(PeriodicChargeDefinitionPanel.java:685)

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
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.