My Oracle Support Banner

EM 13c: Enterprise Manager 13c Cloud Control OMSPatcher lspatches Command For 13c OMS Fails With Error: OMSPatcher failed with error code 255 (Doc ID 2130062.1)

Last updated on DECEMBER 14, 2019

Applies to:

Enterprise Manager Base Platform - Version 13.1.0.0.0 and later
Information in this document applies to any platform.

Symptoms

Listing patches for the Enterprise Manager (EM) 13.1 Cloud Control OMS using "omspatcher lspatches" command fails with following error:
================
$ omspatcher lspatches
OMSPatcher Automation Tool
Copyright (c) 2015, Oracle Corporation. All rights reserved.

OMSPatcher version : 13.6.0.0.0
OUI version : 13.6.0.0.0
Running from : <MIDDLEWARE_HOME>
Log file location : <MIDDLEWARE_HOME>/cfgtoollogs/omspatcher/opatch<TIMESTAMP>_1.log

OMSPatcher failed with error code 255
================

From <MIDDLEWARE_HOME>/cfgtoollogs/omspatcher/opatch<TIMESTAMP>_1.log:
=========================
[Apr 21, 2016 11:05:36 AM] OMSPatcher invoked as follows: 'lspatches -invPtrLoc <MIDDLEWARE_HOME>/oraInst.loc '
[Apr 21, 2016 11:05:36 AM] OMSPatcher version : 13.6.0.0.0
OUI version : 13.6.0.0.0
Running from : <MIDDLEWARE_HOME>
Log file location : <MIDDLEWARE_HOME>/cfgtoollogs/omspatcher/opatch<TIMESTAMP>_1.log
[Apr 21, 2016 11:05:36 AM] Starting LsPatchesSession at Thu Apr 21 11:05:36 EDT 2016
[Apr 21, 2016 11:05:41 AM] Finishing LsPatchesSession at Thu Apr 21 11:05:41 EDT 2016
[Apr 21, 2016 11:05:41 AM] Stack Description: java.lang.NoSuchMethodError: oracle.opatch.opatchsdk.OPatchPatch.getESysPatchID()Ljava/lang/String;
[Apr 21, 2016 11:05:41 AM] StackTrace: oracle.opatchauto.oms.ESysPatchMetadataCommit.getESysPatchIDsMap(ESysPatchMetadataCommit.java:989)
[Apr 21, 2016 11:05:41 AM] StackTrace: oracle.opatchauto.oms.LsPatchesSession.printInstalledPatchForAllHomes(LsPatchesSession.java:112)
[Apr 21, 2016 11:05:41 AM] StackTrace: oracle.opatchauto.oms.LsPatchesSession.process(LsPatchesSession.java:71)
[Apr 21, 2016 11:05:41 AM] StackTrace: oracle.opatchauto.oms.OMSPatchingSession.main(OMSPatchingSession.java:576)
[Apr 21, 2016 11:05:41 AM] StackTrace: oracle.opatchauto.oms.OPatchAuto.main(OPatchAuto.java:795)
=========================

Cause

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
Symptoms
Cause
Solution
References


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