My Oracle Support Banner

opatch command Fails with Error : "XML-20108: (Fatal Error) Start of root element expected" ,"RawInventory gets a null Vector of installed products" (Doc ID 1611152.1)

Last updated on NOVEMBER 13, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.

Symptoms

opatch command Fails with Error:

 

$ opatch lspatches

org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:425)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:291)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:478)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:419)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:248)
at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readComps(OiiiInstallXMLReader.java:325)
at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readComps(OiiiInstallXMLReader.java:236)
at oracle.sysman.oii.oiii.OiiiInstallInventory.getCompOHListElement(OiiiInstallInventory.java:1799)
at oracle.sysman.oii.oiii.OiiiAreaInventory.getAllCompsVect(OiiiAreaInventory.java:688)
at oracle.opatch.ipm.RawInventory.loadRawInventory(RawInventory.java:230)
at oracle.opatch.ipm.RawInventory.init(RawInventory.java:184)
at oracle.opatch.ipm.RawInventory.getInstance(RawInventory.java:92)
at oracle.opatch.ipm.IPMReadServices.getRawInventory(IPMReadServices.java:224)
at oracle.opatch.ipm.IPMReadServices.loadInventory(IPMReadServices.java:2013)
at oracle.opatch.LsPatchesSession.loadAndPrintInstalledPatchMetadata(LsPatchesSession.java:1108)
at oracle.opatch.LsPatchesSession.process(LsPatchesSession.java:139)
at oracle.opatch.OPatchSession.process(OPatchSession.java:2149)
at oracle.opatch.OPatch.process(OPatch.java:873)
at oracle.opatch.OPatch.main(OPatch.java:930)

Inventory load failed... LsPatchesSession::loadAndPrintInstalledPatch()
LsPatchesSession failed: RawInventory gets a null Vector of installed products

OPatch failed with error code 2

 

$ opatch lsinventory

org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:425)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:291)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:478)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:419)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:248)
at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readComps(OiiiInstallXMLReader.java:325)
at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readComps(OiiiInstallXMLReader.java:236)
at oracle.sysman.oii.oiii.OiiiInstallInventory.getCompOHListElement(OiiiInstallInventory.java:1799)
at oracle.sysman.oii.oiii.OiiiAreaInventory.getAllCompsVect(OiiiAreaInventory.java:688)
at oracle.opatch.ipm.RawInventory.loadRawInventory(RawInventory.java:230)
at oracle.opatch.ipm.RawInventory.init(RawInventory.java:184)
at oracle.opatch.ipm.RawInventory.getInstance(RawInventory.java:92)
at oracle.opatch.ipm.IPMReadServices.getRawInventory(IPMReadServices.java:224)
at oracle.opatch.ipm.IPMReadServices.loadInventory(IPMReadServices.java:2013)
at oracle.opatch.LsInventorySession.process(LsInventorySession.java:336)
at oracle.opatch.OPatchSession.process(OPatchSession.java:2094)
at oracle.opatch.OPatch.process(OPatch.java:873)
at oracle.opatch.OPatch.main(OPatch.java:930)

LsInventorySession failed: RawInventory gets a null Vector of installed products

OPatch failed with error code 73

 

 

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
References


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