ORA-00600 [qesmaGetPamR-NullCtx] Raised In 12.2 For XML Partitioned Table

(Doc ID 2335728.1)

Last updated on DECEMBER 22, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.

Symptoms

Select on a table having an index defined on a XMLTYPE column fails with ORA-00600 [qesmaGetPamR-NullCtx] error on a 12.2 database:

SQL statement:
===========
----- Current SQL Statement for this session (sql_id=bygbsfczg9f9q) -----
SELECT t.RECID,t.XMLRECORD.getClobVal() FROM STFBNK_CUST000 t WHERE xmlexists(:"SYS_B_0" PASSING XMLRECORD AS "xmlrecvar")


Call Stack:
========
... qesmaGetPamR evapnum evaopn2 qeesGetOpnValue kkpamPartNumFGet kkpamRFGet kkpamFRange kkpapFMParts kkpapbGetRange kkpapGRangeSLvl kkpapiItOpen kkpapItOpen qergiStart qerflStart ...

 
The plan table looks like:

 

The following setting doesn't help to avoid the error:
    alter system set "_subquery_pruning_enabled"=false;

Changes

 

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