YouTube Proxy Assets Search failing: "An exception occurred on the server while executing UI/Data/Search/Search: StringIndexOutOfBoundsException: String index out of range: -1"

(Doc ID 2296835.1)

Last updated on AUGUST 28, 2017

Applies to:

Oracle WebCenter Sites - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

YouTube Proxy Asset Video Search not working: "An exception occurred on the server while executing UI/Data/Search/Search: StringIndexOutOfBoundsException: String index out of range: -1"

In Contributor UI, when clicking the search button with "Search YouTube Video" option selected, the main search results pane displays an error that says, "An error occurred during search."
Additionally, there is a javascript popup indicating "An exception occurred on the server while executing UI/Data/Search/Search: StringIndexOutOfBoundsException: String index out of range: -1. If problem persists please contact the system administrator."

The following error is seen in the sites.log:

 

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