opatch command Fails With Error :"org.xml.sax.SAXParseException: : XML-20190: (Fatal Error) Whitespace required"

(Doc ID 2309714.1)

Last updated on SEPTEMBER 23, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]
Information in this document applies to any platform.

Symptoms

 opatch lsinventory failed with below error

Oracle Home : /opt/oracle/product/12.1.0.2.170117
Central Inventory : /opt/oracle/oraInventory
from : /opt/oracle/product/12.1.0.2.170117/oraInst.loc
OPatch version : 12.2.0.1.8
OUI version : 12.1.0.2.0
Log file location : /opt/oracle/product/12.1.0.2.170117/cfgtoollogs/opatch/opatch2017-08-23_14-15-05PM_1.log

org.xml.sax.SAXParseException: <Line 11, Column 80>: XML-20190: (Fatal Error) Whitespace required.
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:425)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:290)
at oracle.xml.parser.v2.XMLReader.scanNameChars(XMLReader.java:1313)
at oracle.xml.parser.v2.XMLReader.readQName(XMLReader.java:2156)
at oracle.xml.parser.v2.NonValidatingParser.parseAttr(NonValidatingParser.java:1847)
at oracle.xml.parser.v2.NonValidatingParser.parseAttributes(NonValidatingParser.java:1797)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1634)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:458)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValid

 

Changes

 

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