EM 13c : Accessing Server Pools page for Cluster Target From Console Reports : An internal error has occurred at the agent: "java.lang.IllegalStateException: getAgentSubstitutionMap" (Doc ID 2258760.1)

Last updated on MAY 02, 2017

Applies to:

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

Symptoms

For a cluster target, accessing on Administration -> Server pools -> Manage page from the Console UI reports below error:

VALIDATION ERROR

An internal error has occurred at the agent: "java.lang.IllegalStateException: getAgentSubstitutionMap("<cluster target name>") == null". 
Check the agent's error logs for details


- The Cluster target is shown as UP in the Console UI.

-  Verifying the Cluster homepage -> Target Setup -> Monitoring Configuration page showed correct configuration details for the cluster target.

- At the Agent side, verifying the output from the 'emctl config agent listtargets' shows that there is no 'cluster' target type listed for any of the monitoring agents.
  This is not listed in the <AGENT_INST>/sysman/emd/targets.xml file as well.

-  The <AGENT_INST>/sysman/log/gcagent.log showed the below errors:

2017-03-23 17:34:44,048 [409:4ACBF0C:HTTP Listener-409 - /emd/main/ (~Task-free~ OMS.console@5921@em13c01=>[149026176971001])] INFO - >>> Dispatching request: 
GetTargetsRequest (<cluster target name>) <<<
2017-03-23 17:34:44,053 [409:4ACBF0C] INFO - >>> Reporting exception: oracle.sysman.emSDK.agent.client.exception.NoSuchTargetException: 
the cluster target "<cluster target name>" does not exist (request id 1) <<<
oracle.sysman.emSDK.agent.client.exception.NoSuchTargetException: the cluster target "<cluster target name>" does not exist
at oracle.sysman.gcagent.dispatch.cxl.GetTargetsAction.satisfyRequest(GetTargetsAction.java:114)
at oracle.sysman.gcagent.dispatch.ProcessRequestAction._call(ProcessRequestAction.java:145)
at oracle.sysman.gcagent.dispatch.ProcessRequestAction.call(ProcessRequestAction.java:106)
at oracle.sysman.gcagent.dispatch.InlineDispatchCoordinator.dispatchRequest(InlineDispatchCoordinator.java:237)
at oracle.sysman.gcagent.dispatch.DispatchRequestsAction.call(DispatchRequestsAction.java:111)
at oracle.sysman.gcagent.dispatch.RequestDispatcher.executeRequests(RequestDispatcher.java:2482)
at oracle.sysman.gcagent.dispatch.RequestDispatcher.dispatchRequests(RequestDispatcher.java:796)
at oracle.sysman.gcagent.comm.agent.http.TMClientProtocolServer.onServiceProtocol(TMClientProtocolServer.java:330)

 

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