My Oracle Support Banner

'opatch lsinventory -detail' is Failing With Error "OPatch failed because of Inventory problem" (Doc ID 2019997.1)

Last updated on JUNE 07, 2021

Applies to:

Oracle Applications DBA - Version 12.1.2 to 12.1.2 [Release 12.1]
Information in this document applies to any platform.


The following error occur when executing 'opatch lsinventory -detail':

Oracle Interim Patch Installer version

We recommend you refer to the OPatch documentation under
OPatch/docs for usage reference. We also recommend using
the latest OPatch version. For the latest OPatch version
and other support related issues, please refer to document
293369.1 which is viewable from


LsInventory: OPatch Exception while accessing O2O

OPATCH_JAVA_ERROR  : An exception of type "OPatchException" has occurred:
OPatch Exception:
 OUI found no such ORACLE_HOME set in the environment
 Can not get details for given Oracle Home
 An exception occurs
PRODUCT NAME                                                        VERSION

============                                                        =======

There is no Interim Patch

OPATCH_JAVA_ERROR  : An exception of type "OPatchException" has occurred:
Can not get a list of inventory on this home.

ERROR: OPatch failed because of Inventory problem.


This can be reproduced with the following steps:
1. $ opatch lsinventory -detail




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

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