My Oracle Support Banner

Batch Script Is Throwing a RuntimeException, Which Is Getting Used by FW Code to Construct a ServerMessage (Doc ID 3058096.1)

Last updated on NOVEMBER 10, 2024

Applies to:

Oracle Utilities Customer Cloud Service - Version 24A to 24B [Release 24]
Oracle Utilities Billing Cloud Service - Version 24A to 24B [Release 24]
Oracle Utilities Customer Care and Billing Cloud Service - Version 24A to 24B [Release 24]
Oracle Utilities Meter Solution Cloud Service - Version 24A to 24B [Release 24]
Oracle Utilities Work and Asset Cloud Service - Version 24A to 24B [Release 24]
Information in this document applies to any platform.

Symptoms

OracleCloudInfrastructureFileInstance closed in the middle of Batch Run

Batch script is throwing a RuntimeException, which is getting used by FW code to construct a ServerMessage. In this case the text of error message is null, due to this you are getting a NPE.

Steps To Reproduce:
1) Create a script and the script should throw exception with no message.
2) Create algorithm type and algorithm using the script.
3) Configure this algorithm in the PluginDrivenUploadProcess batch.
4) Run the batch.
5) The exception in the script with no message causes the NPE while constructing the sever message in the FW code.

Batch thread log:

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.