My Oracle Support Banner

Online patch installation failed with error "org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected (Doc ID 3059172.1)

Last updated on NOVEMBER 14, 2024

Applies to:

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

Symptoms

Online patch installation getting failed with error "org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected".

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.OiiiInstallInventory.getCompOHListInfo(OiiiInstallInventory.java:1979)
at oracle.sysman.oii.oiii.OiiiInstallXMLWriter.writeOneOffs(OiiiInstallXMLWriter.java:694)
at oracle.sysman.oii.oiii.OiiiInstallInventory.writeXML(OiiiInstallInventory.java:1249)
at oracle.sysman.oii.oiii.OiiiInstallInventory.saveInventory(OiiiInstallInventory.java:1039)
at oracle.sysman.oii.oiii.OiiiInstallAreaControl.writeInstallInv(OiiiInstallAreaControl.java:1079)

......................................................................................................................

.........................................................................................................................

[Nov 7, 2024 8:57:58 AM] [INFO] Installing and enabling the online patch 'bug36985555.pch', on database 'cp06842'.
[Nov 7, 2024 8:57:58 AM] [WARNING] OUI-67506:Online patch 'bug36985555.pch' apply failed on database instance 'cp06842' : "Patch already installed

Patch file already enabled

"
[Nov 7, 2024 8:57:58 AM] [INFO] [OPSR-TIME] Finished modifying the system for patch 36985555
[Nov 7, 2024 8:57:58 AM] [INFO] ApplySession adding interim patch '36985555' to inventory
[Nov 7, 2024 8:57:58 AM] [INFO] [OPSR-TIME] Saving patch 36985555 to inventory
[Nov 7, 2024 8:57:59 AM] [WARNING] OUI-67124:ApplySession failed in system modification phase... 'ApplySession::apply failed (no detail available).'
[Nov 7, 2024 8:57:59 AM] [INFO] Restoring "/u01/oracle/product/19.23b/db" to the state prior to running NApply...
[Nov 7, 2024 8:57:59 AM] [INFO] Restoring files: copy recurse from /u01/oracle/product/19.23b/db/.patch_storage/NApply/2024-11-07_08-57-38AM/backup to /u01/oracle/product/19.23b/db
[Nov 7, 2024 8:57:59 AM] [INFO] Removed patch "36985555" with UPI + "25799312" from OUI inventory memory..
[Nov 7, 2024 8:58:00 AM] [INFO] Stack Description: java.lang.RuntimeException
at oracle.sysman.oii.oiii.OiiiInstallXMLWriter.writeOneOffs(OiiiInstallXMLWriter.java:694)
at oracle.sysman.oii.oiii.OiiiInstallInventory.writeXML(OiiiInstallInventory.java:1249)
at oracle.sysman.oii.oiii.OiiiInstallInventory.saveInventory(OiiiInstallInventory.java:1039)

 

But the online patch has enabled on database instance though the patch installation failed on oracle home.

 

 

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.