My Oracle Support Banner

ORA-06502: PL/SQL: numeric or value error during export oracle text indexes when BASIC_LEXER IS USED AND PRINTJOINS CONTAIN QUOTES (Doc ID 2314876.1)

Last updated on JUNE 12, 2021

Applies to:

Oracle Text - Version 11.2.0.4 to 12.1.0.2 [Release 11.2 to 12.1]
Information in this document applies to any platform.

Symptoms

On : 11.2.0.4 version, Lexer

When attempting to export data containing a text index with the BASIC_LEXER configured like

begin
ctx_ddl.create_preference('mylex1','BASIC_LEXER');
ctx_ddl.set_attribute('mylex1','printjoins','''.-=[];!#^+{}:"|<>(),/_\$@'~');
ctx_ddl.set_attribute('mylex1','skipjoins','&%');
End;
/
the following error occurs.

ERROR
-----------------------
expdp test/test tables=mytab directory=DATA_PUMP_DIR dumpfile=mytab.dmp logfile=expdp_mytab.log

Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 64 KB
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/TRIGGER
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type TABLE_EXPORT/TABLE/STATISTICS/MARKER
ORA-39127: unexpected error from call to local_str := SYS.DBMS_EXPORT_EXTENSION.GET_DOMAIN_INDEX_METADATA('PAY_ORD_CAT','TEST','CATINDEXMETHODS','CTXSYS',12.01.00.02.00,newblock,0)
ORA-20000: Oracle Text error:
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 274
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 9524
Processing object type TABLE_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX
. . exported "TEST"."MYTAB" 5.5 KB 1 rows
Primary table "TEST"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded

Changes

 

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
Changes
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.