On 12.1.0.2, Creating a JSON Context Index with JSON_SECTION_GROUP Fails with DRG-50850: ORA-06515: PL/SQL: unhandled exception JSON item length is too long

(Doc ID 2422792.1)

Last updated on JULY 13, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]
Information in this document applies to any platform.

Symptoms

On 12.1.0.2, creating a JSON enabled context index with CTXSYS.JSON_SECTION_GROUP fails with the following error:

DRG-50850: ORA-06515: PL/SQL: unhandled exception JSON item length is too long


Statement that fails:

CREATE INDEX tj_i1 ON tj (js)
INDEXTYPE IS CTXSYS.CONTEXT
PARAMETERS ('section group CTXSYS.JSON_SECTION_GROUP SYNC (ON COMMIT)');

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