ORA-00600 [qmcxeReplaceNspid] when inserting into table with column XMLType (Doc ID 1318043.1)

Last updated on SEPTEMBER 01, 2014

Applies to:

JDBC - Version 11.2.0.1 to 11.2.0.2.0 [Release 11.2]
Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.

Symptoms


 JDBC application gets

ORA-00600: internal error code, arguments: [qmcxeReplaceNspid]

when trying to insert a row in a table containing an XMLType



XMLType xml = XMLType.createXML(conn, new ByteArrayInputStream(binXmlBytes));
xml.setPicklePreference(XMLType.XMLTYPE_PICKLE_AS_BINXML);
xml.setBinaryXML();

// Prepare statement
OraclePreparedStatement stmt =
(OraclePreparedStatement) conn.prepareStatement(
"INSERT INTO JUNK(DATA_VALUE) VALUES(?)");

stmt.setOPAQUE(1, xml);

// Execute and commit
stmt.execute();

sample stack:

Exception in thread "main" java.sql.SQLException: ORA-00600: internal error code, arguments: [qmcxeReplaceNspid], [], [], [], [], [], [], [], [], [], [], []

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1010)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3576)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3677)

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