Oracle Weblogic Server (MOSC)

MOSC Banner

WLS 12.2.1 and run OPatch. Fails with OPatch failed with error code 1

edited Dec 1, 2017 1:44PM in Oracle Weblogic Server (MOSC) 1 commentAnswered

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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center