Srvctl Start/Stop Throws Java.lang.ArrayIndexOutOfBoundsException (Doc ID 2290014.1)

Last updated on AUGUST 23, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.

Symptoms

srvctl start/stop throws Java.lang.ArrayIndexOutOfBoundsException errors

$ srvctl stop database -d <dbname>
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3
at oracle.cluster.impl.crs.cops.CRSNative.updateNodeResMap(CRSNative.java:1497)
at oracle.cluster.impl.crs.cops.CRSNative.stopResources(CRSNative.java:701)
at oracle.cluster.impl.crs.CRSFactoryImpl.stopResources(CRSFactoryImpl.java:1997)
at oracle.cluster.impl.database.DBServicesSelectionImpl.internalStop(DBServicesSelectionImpl.java:920)
at oracle.cluster.impl.database.DatabaseImpl.internalSvcAndDBStopHelper(DatabaseImpl.java:11031)
at oracle.cluster.impl.database.DatabaseImpl.internalSvcAndDBStopHelper(DatabaseImpl.java:10812)
at oracle.cluster.impl.database.DatabaseImpl.stopDatabaseAndServices(DatabaseImpl.java:6294)
at oracle.cluster.impl.database.DatabaseImpl.stopHelper(DatabaseImpl.java:6223)
at oracle.cluster.impl.database.DatabaseImpl.stop(DatabaseImpl.java:6121)
at oracle.ops.opsctl.StopAction.executeDatabase(StopAction.java:486)
at oracle.ops.opsctl.Action.execute(Action.java:423)
at oracle.ops.opsctl.OPSCTLDriver.execute(OPSCTLDriver.java:507)
at oracle.ops.opsctl.OPSCTLDriver.main(OPSCTLDriver.java:236)

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms