My Oracle Support Banner

Opatch Command Throws Warning: "org.xml.sax.SAXParseException: <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected" (Doc ID 1344580.1)

Last updated on SEPTEMBER 20, 2018

Applies to:

Oracle Universal Installer - Version 11.1.0.7 and later
Information in this document applies to any platform.

Symptoms


When executing any opatch command it shows messages as below, though there will be completed output and command will not fail:
$opatch lsinventory

Invoking OPatch 11.2.0.1.1

Oracle Interim Patch Installer version 11.2.0.1.1
Copyright (c) 2009, Oracle Corporation. All rights reserved.


Oracle Home : /u01/app/oracle/product/11.2.0.2
Central Inventory : /u01/app/oracle/product/10.2.0/oraInventory
from : /u01/app/oracle/product/10.2.0/oraInst.loc
OPatch version : 11.2.0.1.1
OUI version : 11.2.0.2.0
OUI location : /u01/app/oracle/product/11.2.0.2/oui
Log file location : /u01/app/oracle/product/11.2.0.2/cfgtoollogs/opatch/opatch.log

Patch history file: /u01/app/oracle/product/11.2.0.2/cfgtoollogs/opatch/opatch_history.txt


org.xml.sax.SAXParseException: <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:404)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:345)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:225)
at oracle.sysman.oii.oiii.OiiiOracleHomeInfoXMLReader.updateHomeProperties(OiiiOracleHomeInfoXMLReader.java:86)
at oracle.sysman.oii.oiii.OiiiInstallInventory.updateOracleHomesProperties(OiiiInstallInventory.java:765)
at oracle.sysman.oii.oiii.OiiiInstallInventory.updateOracleHomesProperties(OiiiInstallInventory.java:743)
at oracle.sysman.oii.oiii.OiiiInstallInventory.readHomes(OiiiInstallInventory.java:700)
at oracle.sysman.oii.oiii.OiiiInstallAreaControl.loadPartialInstallInv(OiiiInstallAreaControl.java:678)
at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initInstallInv(OiiiInstallAreaControl.java:723)
at oracle.sysman.oii.oiii.OiiiInstallAreaControl.loadInstallInventory(OiiiInstallAreaControl.java:590)
at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initAreaControl(OiiiInstallAreaControl.java:1878)
at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initAreaControl(OiiiInstallAreaControl.java:1831)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:301)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:240)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:189)
at oracle.opatch.OUIInventorySession.initSession(OUIInventorySession.java:63)
at oracle.opatch.OUISessionManager.setupSession(OUISessionManager.java:150)
at oracle.opatch.OUISessionManager.lockCentralInventory(OUISessionManager.java:267)
at oracle.opatch.OUISessionManager.instantiate(OUISessionManager.java:87)
at oracle.opatch.OUISessionManager.updateOPatchEnvironment(OUISessionManager.java:661)
at oracle.opatch.InventorySessionManager.updateOPatchEnvironment(InventorySessionManager.java:91)
at oracle.opatch.OPatchSession.main(OPatchSession.java:1618)
at oracle.opatch.OPatch.main(OPatch.java:630)

Lsinventory Output file location : /u01/app/oracle/product/11.2.0.2/cfgtoollogs/opatch/lsinv/lsinventory2011-08-05_20-13-55PM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1):

Oracle Database 11g 11.2.0.2.0
There are 1 products installed in this Oracle Home.


There are no Interim patches installed in this Oracle Home.


--------------------------------------------------------------------------------

OPatch succeeded.

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.