ToLocalizedString Method Called On Money Object Causes NullPointerException But Only In JMS Queue
(Doc ID 2832835.1)
Last updated on SEPTEMBER 14, 2022
Applies to:
Oracle Utilities Customer Care and Billing - Version 2.6.0.1.0 to 2.8.0.0.0 [Release 2.6 to 2.8]Information in this document applies to any platform.
Symptoms
On CC&B v2.6.0.1.0, when User call toLocalizedString method on Money object, it causes NullPointerException.
User observe it only while processing in JMS queue. In online processing the exception does not appear.
ERROR
-----------------------
- INFO (bill.service.CmPbrAdjustmentBillCompleteService) About to calling: moneyValue.toLocalizedString(currency);
SYSUSER - 638990-274-1 2020-11-03 08:15:56,166 [[ACTIVE] ExecuteThread: '16' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR (api.service.ServiceExecutionPolicy) Encountered exception, session marked for rollback
java.lang.NullPointerException: null
at com.splwg.base.api.service.RequestContext.buildMoneyFormatter(RequestContext.java:843) ~[spl-base-4.3.0.5.0.jar:?]
at com.splwg.base.api.service.RequestContext.getMoneyFormatter(RequestContext.java:774) ~[spl-base-4.3.0.5.0.jar:?]
at com.splwg.base.support.impl.Localizer.localizeMoney(Localizer.java:88) ~[spl-base-4.3.0.5.0.jar:?]
at com.splwg.base.support.impl.Localizer.localizeMoney(Localizer.java:67) ~[spl-base-4.3.0.5.0.jar:?]
at com.splwg.base.api.datatypes.Money.toLocalizedString(Money.java:250) ~[spl-base-4.3.0.5.0.jar:?]
at com.splwg.cm.domain.bill.service.CmPbrAdjustmentBillCompleteService.change(CmPbrAdjustmentBillCompleteService.java:61) ~[cm.jar:?]
at com.splwg.base.support.pagemaintenance.AbstractPageMaintenance.changeItem(AbstractPageMaintenance.java:136) ~[spl-base-4.3.0.5.0.jar:?]
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 |