GetMeterReadRouteId Method Of Business Entity ServicePoint Is Causing A NullPointerException

(Doc ID 1954347.1)

Last updated on DECEMBER 16, 2014

Applies to:

Oracle Utilities Customer Care and Billing - Version 2.3.1 and later
Information in this document applies to any platform.

Goal

The getMeterReadRouteId() method of business entity ServicePoint is causing NullPointerException when SP does not have a Meter Read Route.


Error from spl_web.log:

SYSUSER - 820434-1145-1 2014-11-04 03:25:30,873 [Parent Reader:Thread-17]
ERROR (support.cobol.CobolToJavaGateway) Error invoking method handle
java.lang.NullPointerException
at
com.splwg.ccb.domain.customerinfo.servicePoint.ServicePoint_Impl.getMeterReadR
outeId(ServicePoint_Impl.java:124)
at
com.splwg.domain.customerinfo.servicePoint.ServicePoint__.CGLIB$getMeterReadRo
uteId$82()
at
com.splwg.domain.customerinfo.servicePoint.ServicePoint__$$FastClassByCGLIB$$8
18f843a.invoke()
at etc...

 

Error from UI:

 

Error from UI text:

System Error. Please see logs for more details.



This issue was resolved in CCB V2.2.0 via the following patch, and should have been written into the codeline for V2.3.0 and greater.

<Patch 8597286> - [INFO]GETMETERREADROUTEID() RETURNS NULL WHEN METER READ ROUTE IS BLANK IN SP
 

Solution

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