My Oracle Support Banner

EM 13c: Fleet REST API SIHA Upgrade Fails With "java.lang.NullPointerException" (Doc ID 2960344.1)

Last updated on JULY 17, 2023

Applies to:

Enterprise Manager for Oracle Database - Version 13.5.0.0.0 and later
Information in this document applies to any platform.

Symptoms

In Enterprise Manger (EM) 13.5 Cloud Control, the Fleet Maintenance upgrade of siha (Rest API) operation fails with error java.lang.NullPointerException.

POST COMMAND:
https://<EM_CONSOLE_URL>/em/websvcs/restful/emws/db/fleetmaintenance/performOperation/update

{
"upgrade":
{
"name": "Upgrade SIHA",
"deploymentProcedureNamePrefix": "FleetUpdateHome",
"workingDirectory": "/scratch/aime1/fleetworkdir",
"isSkipCVUChecks": true,
"isSkipValidations": "true",
"normalCredential": "SRC_HOST_CREDS:TESTSUPERADMIN",
"privilegeCredential": "SRC_HOST_ROOT_CREDS:TESTSUPERADMIN",
"targetList": [
"has_xxx"
],
"targetType": "has"
}
}

Authorization: basic <generated credential value>

Content-Type: application/json


emoms.trc
-----------
[2023-03-05T06:29:26.278+00:00] [EMGC_OMS1] [ERROR] [] [oracle.sysman.db.restfulapi.fleetmaint.service.handler.update.UpdateOperation
Handler] [tid: [ACTIVE].ExecuteThread: '64' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: TESTSUPERADMIN] [ecid:
005xY5Cl4mc3FC_EtRLqWH0003hV00003H,0:1] [APP: emgc] [partition-name: DOMAIN] [tenant-name: GLOBAL] Error occurred during update operation[[
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:460)
at java.util.Properties.setProperty(Properties.java:166)
at oracle.sysman.db.restfulapi.fleetmaint.service.handler.update.UpdateOperationHandler.performOperation(UpdateOperationHandler.java:373)
at oracle.sysman.db.restfulapi.fleetmaint.service.handler.upgrade.UpgradeOperatio nHandler.performOperation(UpgradeOperationHandler.java:40)
atoracle.sysman.db.restfulapi.fleetmaint.service.FleetOperationsService.performOperations(FleetOperationsService.java:55)

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.