My Oracle Support Banner

OPatch Conflict Check fails with "java.lang.RuntimeException: java.lang.RuntimeException: Unzip failed" (Doc ID 2974575.1)

Last updated on MAY 22, 2024

Applies to:

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

Symptoms

While performing OPatch Conlict Check via command -  opatch prereq CheckConflictAgainstOHWithDetail -ph ./ below error is generated -

[Sep 5, 2023 11:46:12 AM] [INFO]    OPatch invoked as follows: 'prereq CheckConflictAgainstOHWithDetail -ph ./ -invPtrLoc /u01/app/oracle/product/19.0.0/dbhome_1/oraInst.loc '

[Sep 5, 2023 11:46:12 AM] [INFO]    Oracle Home       : /u01/app/oracle/product/19.0.0/dbhome_1
                                   Central Inventory : /u01/app/oraInventory
                                      from           : /u01/app/oracle/product/19.0.0/dbhome_1/oraInst.loc
                                   OPatch version    : 12.2.0.1.39
                                   OUI version       : 12.2.0.7.0
                                   OUI location      : /u01/app/oracle/product/19.0.0/dbhome_1/oui
                                   Log file location : /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatch/opatch2023-09-05_11-46-11AM_1.log

[Sep 5, 2023 11:46:21 AM] [INFO]    Stack Description: java.lang.Exception: java.lang.RuntimeException: /u01/staging/Patch/35320081/etc/config/actions.xml with java.lang.RuntimeException: java.lang.RuntimeException: Unzip failed
                                    at oracle.opatch.ZipUtilities.depressFiles(ZipUtilities.java:185)
                                    at oracle.opatch.ActionsFileParser.startElement(ActionsFileParser.java:881)
                                    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1653)
                                    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:473)
                                    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:419)
                                    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:248)
                                    at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:298)
                                    at oracle.opatch.ActionsFileParser.parseActionsContent(ActionsFileParser.java:110)
                                    at oracle.opatch.PatchObject.loadActionFile(PatchObject.java:3185)
                                    at oracle.opatch.PatchObject.createPatchObject(PatchObject.java:2743)
                                    at oracle.opatch.PatchObject.<init>(PatchObject.java:2223)
                                    at oracle.opatch.PatchObject.getInstance(PatchObject.java:7388)
                                    at oracle.opatch.opatchprereq.PQSession.checkConflictAgainstOHWithDetailAndPrint(PQSession.java:2937)
                                    at oracle.opatch.opatchprereq.PQSession.checkConflictAgainstOHWithDetailAndPrint(PQSession.java:2909)
                                    at oracle.opatch.opatchprereq.PQSession.checkconflictagainstohwithdetail(PQSession.java:2896)
                                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                    at java.lang.reflect.Method.invoke(Method.java:498)
                                    at oracle.opatch.PrereqSession.process(PrereqSession.java:242)
                                    at oracle.opatch.OPatchSession.process(OPatchSession.java:2763)
                                    at oracle.opatch.OPatch.process(OPatch.java:873)
                                    at oracle.opatch.OPatch.main(OPatch.java:930)
                                   Caused by: java.lang.RuntimeException: /u01/staging/Patch/35320081/etc/config/actions.xml with java.lang.RuntimeException: java.lang.RuntimeException: Unzip failed
                                    ... 23 more
[Sep 5, 2023 11:46:21 AM] [INFO]    Prereq "checkConflictAgainstOHWithDetail" is not executed.
[Sep 5, 2023 11:46:21 AM] [INFO]    The details are:
                                   Unable to create Patch Object.
                                   Exception occured : java.lang.RuntimeException: /u01/staging/Patch/35320081/etc/config/actions.xml with java.lang.RuntimeException: java.lang.RuntimeException: Unzip failed
[Sep 5, 2023 11:46:21 AM] [INFO]    Finishing PrereqSession at Tue Sep 05 11:46:21 GST 2023




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.