If you face any of the following situations for Oracle home, then run the
opatch lsinventory -detail command to list the contents of the inventory.
Oracle home is cloned without completing the inventory steps.
There is bad inventory.
Inventory is not available but it is created when the Oracle Enterprise Manager Agent is installed in a separate Oracle home.