My Oracle Support Banner

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 MARCH 29, 2023

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

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
References


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