My Oracle Support Banner

ODA : Patching Fails With "RHP error encountered: null" Error (Doc ID 2860818.1)

Last updated on APRIL 07, 2022

Applies to:

Oracle Database Appliance Software - Version 19.13.0.0.0 ODA and later
Information in this document applies to any platform.

Symptoms

ODA prepatch report fails with the below error

Evaluate DBHome patching with Failed Internal error encountered: Internal
RHP error encountered: null...

A review of DCS agent log shows Java exception caused due to sqlplus customization

[main] [ 2022-03-27 05:20:14.928 EDT ] [reflect.GeneratedMethodAccessor1.invoke:-1]  command result : [, SQL*Plus: Release 19.0.0.0.0 - Production on Sun Mar 27 05:20:14 2022, Version 19.10.0.0.0, , Copyright (c) 1982, 2020, Oracle.  All rights reserved., , , Connected to:, Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production, Version 19.10.0.0.0, , PROD SYS@<NODE>>PROD SYS@<NODE>>PROD SYS@<NODE>>PROD SYS@<NODE>>,                0, PROD SYS@<NODE>>Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production, Version 19.10.0.0.0]
[main] [ 2022-03-27 05:20:14.928 EDT ] [reflect.GeneratedMethodAccessor1.invoke:-1]  query result : SQL*Plus: Release 19.0.0.0.0 - Production on Sun Mar 27 05:20:14 2022
Version 19.10.0.0.0

Copyright (c) 1982, 2020, Oracle.  All rights reserved.


Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.10.0.0.0

PROD SYS@<NODE>>PROD SYS@<NODE>>PROD SYS@<NODE>>PROD SYS@<NODE>>
                   0
PROD SYS@<NODE>>Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.10.0.0.0
[main] [ 2022-03-27 05:20:14.929 EDT ] [reflect.GeneratedMethodAccessor1.invoke:-1]  Exception : String index out of range: -1
[main] [ 2022-03-27 05:20:14.930 EDT ] [reflect.GeneratedMethodAccessor1.invoke:-1]  java.lang.StringIndexOutOfBoundsException: String index out of range: -1              <<<<<<<<<<<<<
        at java.lang.String.substring(String.java:1967)
        at oracle.cluster.gridhome.giprov.RHPHelper.executeSQLQuery(RHPHelper.java:6674)
        at oracle.cluster.gridhome.giprov.RHPHelper.queryIfDataGuard(RHPHelper.java:12474)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at oracle.cluster.gridhome.giprov.RHPHelper.processCommandLine(RHPHelper.java:714)
        at oracle.cluster.gridhome.giprov122.RHPHelper122.main(RHPHelper122.java:725)

 

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


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