EM 12c: Shutting Down a Target Database Using the SSH Key OS Credential in Enterprise Manager 12c Cloud Control Gives Internal Error: java.lang.NullPointerException

(Doc ID 1540299.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

Shutting down a database target through EM 12c Cloud Control using an SSH-KEY Named OS credential, fails with this message:

Internal Error has occurred. Check the log file for details.
Shutdown the database when using just a username and password as the credentials.


This error is found in the .../gc_inst/em/EMGC_OMS1/sysman/log/emoms.log:

2013-03-19 09:27:57,993 [EMUI_09_27_57_/console/database/instance/changeState] ERROR svlt.PageHandler handleRequest.674 - java.lang.NullPointerException
java.lang.NullPointerException
  at java.lang.String.(String.java:177)
  at oracle.sysman.emo.adm.instance.changeState.ChangeStateObject.setCredentials(ChangeStateObject.java:1343)
  at oracle.sysman.db.adm.inst.ChangeStateController

 

Cause

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