Unable To Perform DirectSQL Deployment When Secured Repositories Are Configured In VersionManager - Getting " java.lang.ArrayIndexOutOfBoundsException: -1 " (Doc ID 1622380.1)

Last updated on DECEMBER 22, 2016

Applies to:

Oracle Commerce Platform - Version 10.0 to 11.1.0.1 [Release 10 to 11]
Information in this document applies to any platform.

Goal

You have configured secured repositories in the VersionManagerService, and have attempted to perform a Direct SQL deployment.

The deployment fails while resolving repository dependencies and the following exception is thrown:  java.lang.ArrayIndexOutOfBoundsException: -1

On the other hand, testing Direct SQL deployment with just unsecured versioned repositories works fine with no errors.

From the server logs
 

 
 

Solution

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