Null Pointer Encountered When Invoking AddWarning From CM Change Handler
(Doc ID 1684598.1)
Last updated on JUNE 21, 2024
Applies to:
Oracle Utilities Customer Care and Billing - Version 2.4.0.2.0 to 2.4.0.2.0 [Release 2.4]Information in this document applies to any platform.
Symptoms
**Disclaimer:** This KM article may include the following abbreviations:
CCB/CC&B - Oracle Utilities Customer Care and Billing
On : CCB 2.4.0.2.0 version, CM - Customer Modification
When attempting to invoking addWarning from CM change handler.
the following error occurs.
ERROR
-----------------------
SYSUSER - 316221-451-1 2014-05-27 23:28:45,197 [Parent Reader:Thread-39]
ERROR (support.cobol.CobolToJavaGateway) An unexpected error occurred
building error information to pass to cobol from a Java call from cobol.java.lang.NullPointerException
at
com.splwg.base.support.cobol.CobolToJavaGateway.basicUpdateCICZMSGNWithError(CobolToJavaGateway.java:191)
at
com.splwg.base.support.cobol.CobolToJavaGateway.updateCICZMSGNWithError(CobolToJavaGateway.java:106)
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1) Enable remote JVMs by setting the following properties to the appropriate values:
spl.runtime.cobol.remote.jvm
spl.runtime.cobol.remote.rmiStartPort
spl.runtime.cobol.remote.jvmcount
spl.runtime.cobol.remote.jvmoptions
2) Add a change handler that uses the addWarning() API
3) Deploy the change handler and restart the app
4) A null pointer exception is thrown when the change handler is executed
BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Change handler will be invoked by a nightly batch and system errors might be encountered during execution. This will affect the dispatching of field work.
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 |