RQL Queries For String Properties May Fail With java.lang.NumberFormatException (Doc ID 2028376.1)

Last updated on DECEMBER 22, 2016

Applies to:

Oracle Commerce Platform - Version 2006.3 and later
Information in this document applies to any platform.

Symptoms

A java.lang.NumberFormatException may be reported when using an RQL query against a String property.  This can occur when using the RQLQueryForEach droplet or when performing RQL queries programmatically. 

For example, querying the profile ID of a user and passing in a large number as the ID can fail with the following exception:

This error only happens when the value being queried, profile ID in the example above, exceeds the maximum Java integer value of 2147483647.  

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