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

Last updated on DECEMBER 09, 2015

Applies to:

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

Symptoms

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

Oracle Interim Patch Installer version 1.0.0.0.57
Copyright (c) 2007 Oracle Corporation. All Rights Reserved..

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 metalink.oracle.com
:
:
Result:

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
 null
 
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


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms