Enterprise Manager 12c - Agent Incident with Error Message Id: OFM-99999 [java.lang.IllegalStateException][invalid unmarshall] and Collecting DB Metric Fails Due to - XML-20221 : (Fatal Error) Invalid char in text. (Doc ID 1930875.1)

Last updated on JUNE 04, 2016

Applies to:

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

Symptoms

Incidents are regularly created for the Management agent when collecting different metrics for a database:

ERROR
-----------------------
Problem Key: "java.lang.IllegalStateException:java.lang.Throwable:67", Core 
error message: "OFM-99999 [java.lang.IllegalStateException][invalid 
unmarshall]", Java stack trace: "java.lang.IllegalStateException: invalid 
unmarshall 
at java.lang.Throwable.(Throwable.java:67) 
at 
oracle.sysman.gcagent.target.interaction.execution.ConfigStateMgr._diffResultA 
gainstState(ConfigStateMgr.java:709) 
at 
oracle.sysman.gcagent.target.interaction.execution.ConfigStateMgr.diffResultAg 
ainstState(ConfigStateMgr.java:545) 
at 
oracle.sysman.gcagent.target.interaction.execution.ExecuteTask.runTask(Execute 
Task.java:4157)"
[...]
2013-10-17 11:24:00,325 [676:GC.Executor.10 
(oracle_database:OSBB48T:oracle_dbconfig) 
(oracle_database:OSBB48T:oracle_dbconfig:db_services)] ERROR - null 
javax.xml.bind.UnmarshalException 
 - with linked exception: 
[org.xml.sax.SAXParseException: : XML-20221: (Fatal 
Error) Invalid char in text.] 

The agent log file gcagent.log located in the agent $AGENT_INSTANCE_HOME/sysman/log directory includes:

2013-10-17 11:24:00,325 [676:GC.Executor.10
(oracle_database:<db_name>:oracle_dbconfig)
(oracle_database:<db_name>:oracle_dbconfig:db_services)] ERROR - null
javax.xml.bind.UnmarshalException
 - with linked exception:
[org.xml.sax.SAXParseException: <Line 1, Column 1101>: XML-20221: (Fatal
Error) Invalid char in text.]

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