My Oracle Support Banner

Java Function Fails With ORA-04063: index "SYS._NEXT_OBJECT" has errors (Doc ID 1272963.1)

Last updated on FEBRUARY 14, 2018

Applies to:

JDBC - Version and later
Information in this document applies to any platform.
***Checked for relevance on 27-Aug-2013***


When a java function calls a PLSQL procedure/function that uses XMLType.createXML(param_clob), it fails with following exception:

java.sql.SQLException: ORA-04063: index "SYS._NEXT_OBJECT" has errors
ORA-06512: at "SYS.XMLTYPE", line 5
ORA-06512: at "PROD.XXXXXXXXX_MGMT", line 914
ORA-06512: at line 1


Upgraded the driver from 10g to


To view full details, 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 a vibrant support community of peers and Oracle experts.