Skip to main content
NetApp Knowledge Base

DB2 discovery fails with an IndexOutOfBoundsException during discovery

Views:
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
SNAPX
Last Updated:

Applies to

  • SnapCenter Server 6.0 and higher (java version opf the DB2 plug-in)
  • SnapCenter plug-in for DB2 3.0

Issue

The main error returned is an exit code:
com.netapp.plugincreator.workflow.task.AppCompleteDiscoveryTask -SCC-00175: Auto Complete Discovery for plug-in [DB2] failed with error [null] and exit code [-1]. Exiting.
However, looking above that in the db2_<JOB>.log, you can find:
com.netapp.plugincreator.workflow.task.AppCompleteDiscoveryTask -Index 0 out of bounds for length 0 
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
    at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
    at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
    at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266)
    at java.base/java.util.Objects.checkIndex(Objects.java:361)
    at java.base/java.util.ArrayList.get(ArrayList.java:427)
    at com.netapp.snapcreator.workflow.task.AppCompleteDiscoveryTask.populatingIds(AppCompleteDiscoveryTask.java:149)
    at com.netapp.snapcreator.workflow.task.AppCompleteDiscoveryTask.extractResponse(AppCompleteDiscoveryTask.java:195)
    at com.netapp.snapcreator.workflow.task.AppCompleteDiscoveryTask.execute(AppCompleteDiscoveryTask.java:105)
    at com.netapp.snapcreator.workflow.impl.SCTaskCallableBlocking.call(SCTaskCallableBlocking.java:67)
    at com.netapp.snapcreator.workflow.impl.SCTaskCallableBlocking.call(SCTaskCallableBlocking.java:26)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:840)
Note: this error only comes after it has gathered all data from DB2 and is testing the outputs.

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.