My Oracle Support Banner

EM 13.5: OMSPatcher on Windows fails with error: String index out of range: -1 (Doc ID 3005879.1)

Last updated on MAY 21, 2024

Applies to:

Enterprise Manager Base Platform - Version 13.5.0.0.0 to 13.5.0.0.0 [Release 13c]
Information in this document applies to any platform.

Symptoms

Enterprise Manager 13.5 OMSPatcher fails when Applying latest RU on 13.5 OMS_HOME

<middleware_home>/cfgtoollogs/omspatcher/opatch2023-06-05_15-22-59PM_1.log

Please enter OMS weblogic admin server username(weblogic):> Please enter OMS weblogic admin server password:> <05.06.2023 15:23 > <Info> <Security> <BEA-090905> <Disabling the CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true.>
<05.06.2023 15:23 Uhr MESZ> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG128 to HMACDRBG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true.>
<05.06.2023 15:23 Uhr MESZ> <Info> <Security> <BEA-090908> <Using the default WebLogic SSL Hostname Verifier implementation.>
[05.06.2023 15:23:25] First time setting jdbcproperties
[05.06.2023 15:23:25] Checking omrconfig object for props.
[05.06.2023 15:23:26] List of host address(es) for this machine:
[05.06.2023 15:23:26] Local Host Name
[05.06.2023 15:23:26] Local Host Name
[05.06.2023 15:23:26] Local Host Name
[05.06.2023 15:23:26] Local Host Name
[05.06.2023 15:23:26] From OMS rep-Server Host Name
[05.06.2023 15:23:26] Local OMS host name set as :
[05.06.2023 15:23:34] DB user name is:sys
[05.06.2023 15:23:35] Checking if current repository database is a supported version
[05.06.2023 15:23:35] Stack Description: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
[05.06.2023 15:23:35] StackTrace: java.lang.String.substring(String.java:1967)
[05.06.2023 15:23:35] StackTrace: oracle.opatchauto.oms.OMSSessionHelper.isSupportedDBHasRUUpdate(OMSSessionHelper.java:3357)
[05.06.2023 15:23:35] StackTrace: oracle.opatchauto.oms.OMSSessionHelper.isSupportedDBVersion(OMSSessionHelper.java:3337)
[05.06.2023 15:23:35] StackTrace: oracle.opatchauto.oms.OMSApplySession.process(OMSApplySession.java:526)
[05.06.2023 15:23:35] StackTrace: oracle.opatchauto.oms.OMSPatchingSession.applySession(OMSPatchingSession.java:1430)
[05.06.2023 15:23:35] StackTrace: oracle.opatchauto.oms.OMSPatchingSession.main(OMSPatchingSession.java:993)
[05.06.2023 15:23:35] StackTrace: oracle.opatchauto.oms.OPatchAuto.main(OPatchAuto.java:832)
[05.06.2023 15:23:35] [ Error during Prereq validations phase ]

Detail: OMSPatcher is not able to get the required inputs. OUI-67073:OMSPatcher failed: String index out of range: -1

[05.06.2023 15:23:35] Finishing ApplySession at Mon Jun 05 15:23:35 CEST 2023
[05.06.2023 15:23:35] Total time spent waiting for user-input is 0 seconds. Finish at Mon Jun 05 15:23:35 CEST 2023
[05.06.2023 15:23:35] Log file location: <OMS_HOME>\cfgtoollogs\omspatcher\34980354\omspatcher_2023-06-05_15-23-06PM_apply.log
[05.06.2023 15:23:35] Stack Description: java.lang.RuntimeException: String index out of range: -1
[05.06.2023 15:23:35] StackTrace: java.lang.String.substring(String.java:1967)
[05.06.2023 15:23:35] StackTrace: oracle.opatchauto.oms.OMSSessionHelper.isSupportedDBHasRUUpdate(OMSSessionHelper.java:3357)
[05.06.2023 15:23:35] StackTrace: oracle.opatchauto.oms.OMSSessionHelper.isSupportedDBVersion(OMSSessionHelper.java:3337)
[05.06.2023 15:23:35] StackTrace: oracle.opatchauto.oms.OMSApplySession.process(OMSApplySession.java:526)
[05.06.2023 15:23:35] StackTrace: oracle.opatchauto.oms.OMSPatchingSession.applySession(OMSPatchingSession.java:1430)
[05.06.2023 15:23:35] StackTrace: oracle.opatchauto.oms.OMSPatchingSession.main(OMSPatchingSession.java:993)
[05.06.2023 15:23:35] StackTrace: oracle.opatchauto.oms.OPatchAuto.main(OPatchAuto.java:832)

<DATABASE_HOME>\OPatch>opatch lspatches
24338134;DBMS_METADATA.GET_DDL GENERATES INCORRECT DDL FOR TABLE WITH USING INDEX CLAUSE
29284656;ORA-06502 FROM DPLOAD.SQL WHEN NLS_NUMERIC_CHARACTERS=,.
33192694;OJVM RELEASE UPDATE: 19.13.0.0.211019 (33192694)
33641312;WRONG ENTRY IN FILES RDBMS_PREAPPLY.SQL/RDBMS_PREROLLBACK.SQL FROM WINDOWS DATABASE BUNDLE PATCH 19.13.0.0.211019 (33155330)
33155330;Windows Database Bundle Patch : 19.13.0.0.211019 (33155330)

 

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.