We recently upgraded our database to Oracle 12c and since then it throws ORA-44003: invalid sql name
exception while inserting on a table which has cat index.
We only have cat index on one column, which was working fine with Oracle 11g.
The interesting part is, i can insert the same record if i keep trying. Sometimes on the second, sometimes on the tenth try.
Here is the exception:
Internal Exception: java.sql.SQLException: ORA-44003: invalid SQL name
ORA-06512: at "SYS.DBMS_ASSERT", line 479
ORA-06512: at "CTXSYS.DRVDML", line 415
ORA-06512: at "EMISDB.DR$IDX_AML_NOTICE_DESCTC", line 1
ORA-04088: error during execution of trigger 'SONARDB.DR$IDX_NOTICE_DESCTC'
I dropped and created the cat index with the script:
create index IDX_NOTICE_DESC on NOTICE (DESCRIPTION) indextype is ctxsys.ctxcat
I would appreciate any tip.