My Oracle Support Banner

Server Error When Correcting A Start Read Which Is Already Billed (Doc ID 2547426.1)

Last updated on DECEMBER 04, 2019

Applies to:

Oracle Utilities Customer to Meter Base - Version 2.6.0.1.0 and later
Oracle Utilities Meter Data Management - Version 2.2.0.2.0 and later
Information in this document applies to any platform.

Symptoms

In Meter Data Management (MDM) 2.2.0.2.0, a server error occurs when  correcting a start read which is already billed. 

When trying to correct a start read for which a Usage Transaction (UT) already exists, System throws error during creation of UT Correction Activity since start IMD doesnot have any fromDateTime

ERROR
-----------------------
ERROR (schema.rules.BusinessObjectStateTransitioner) BO D1-ManualIMDScalar InitialMeasurementData_Id(82504015331319) had status transition error transitioning from BusinessObjectStatusCode='VEE' to BusinessObjectStatusCode='COMPLETE'
java.lang.NullPointerException: null
at com.splwg.base.api.datatypes.DateTime.isBefore(DateTime.java:248) ~[spl-base-4.3.0.5.0.jar:?]
at com.splwg.d1.domain.measurement.initialMeasurementData.algorithms.TransitionUsageTransactionAlgComp_Impl.retrieveApplicableUsageSubscriptions(TransitionUsageTransactionAlgComp_Impl.java:185) ~[spl-d1-2.2.0.2.0.jar:?]




STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create Master Data for Usage Subscription, Service Point, Device, Device Configuration, Installation Event, and Measuring Component, for a scalar MC.
-- Install Event Date/Time = 01/01/2018 00:00:00 PST
-- Device Cfg Effective Date/Time = 01/01/2018 00:00:00 PST
-- MC has start read for 01/01/2018 00:00:00 PST - 02/02/2018 00:00:00 PST
-- Usage Transaction for 01 -01-2018 to 02-01-2018

2. From the Measuring Component screen. Click icon to edit the finalized scalar measurement.
3. When trying to save, see error "The Server Encountered a problem..."
4. Logs show
ERROR (schema.rules.BusinessObjectStateTransitioner) BO D1-ManualIMDScalar InitialMeasurementData_Id(82504015331319) had status transition error transitioning from BusinessObjectStatusCode='VEE' to BusinessObjectStatusCode='COMPLETE'
java.lang.NullPointerException: null
at com.splwg.base.api.datatypes.DateTime.isBefore(DateTime.java:248) ~[spl-base-4.3.0.5.0.jar:?]
at com.splwg.d1.domain.measurement.initialMeasurementData.algorithms.TransitionUsageTransactionAlgComp_Impl.retrieveApplicableUsageSubscriptions(TransitionUsageTransactionAlgComp_Impl.java:185) ~[spl-d1-2.2.0.2.0.jar:?]


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.