WLS 12.2.1 and run OPatch. Fails with OPatch failed with error code 1
WLS 12.2.1 and run OPatch. Fails with OPatch failed with error code 1.
Linux Environment - x86_64 x86_64 x86_64 GNU/Linux
1/.
$opatch lspatches
List of Homes on this system:
Home name= OracleHome, Location= "/sezha024/ebill/software/odi"
Exception in thread "main" java.lang.ClassCastException: java.lang.NullPointerException cannot be cast to java.lang.String
at oracle.opatch.OPatch.main(OPatch.java:562)
OPatch failed with error code 1
2/. or run the following command, get the error of:
$opatch lsinventory -jre $ORACLE_HOME/oracle_common/jdk/jre
List of Homes on this system:
Home name= OracleHome, Location= "/sezha024/ebill/software/odi"
Exception in thread "main" java.lang.ClassCastException: java.lang.NullPointerException cannot be cast to java.lang.String