My Oracle Support Banner

Date Field in Rule with Default Value Causes ArrayIndexOutOfBoundsException (Doc ID 1062730.1)

Last updated on MAY 22, 2020

Applies to:

Oracle WebCenter Content - Version 10.0 and later
Information in this document applies to any platform.


Using a profile that contains a rule which sets a default value in a date field causes a search exception.

To reproduce the issue:

  1. Create an Information Field of type Date.
  2. Create a Rule and associate it with the date field.
    Type: info only
    Use default value: <$dprDefaultValue=CURRENT_DATE$>
  3. Create a profile and associate it with the rule.
  4. Go to that Profile Search page and do any search.

The following exception is returned:

Unable to retrieve search results. Unable to execute service method 'getSearchResults'. (System Error: Runtime error:java.lang.ArrayIndexOutOfBoundsException: -5
at intradoc.shared.CommonSearchConfig.fixUpAndValidateQuery(
at intradoc.server.SearchService.prepareLocalSearch(
at intradoc.server.SearchService.getSearchResults(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at intradoc.common.IdcMethodHolder.invokeMethod(
at intradoc.common.ClassHelperUtils.executeMethodEx(
at intradoc.common.ClassHelperUtils.executeMethod(
at intradoc.server.Service.doCodeEx(
at intradoc.server.Service.doCode(
at intradoc.server.ServiceRequestImplementor.doAction(
at intradoc.server.Service.doAction(
at intradoc.server.ServiceRequestImplementor.doActions(
at intradoc.server.Service.doActions(
at intradoc.server.ServiceRequestImplementor.executeActions(
at intradoc.server.Service.executeActions(
at intradoc.server.ServiceRequestImplementor.doRequest(
at intradoc.server.Service.doRequest(
at intradoc.server.ServiceManager.processCommand(


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

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