java.lang.ArrayIndexOutOfBoundsException when Doing Inserts Through a Batch. (Doc ID 472171.1)

Last updated on SEPTEMBER 01, 2014

Applies to:

JDBC - Version 10.2.0.4 to 11.1.0.6 [Release 10.2 to 11.1]
Information in this document applies to any platform.
***Checked for relevance on 04-Feb-2013***

Symptoms

-- Problem Statement:
When attempting to run an application using the JDBC Driver 10.2.0.4.0 or 11.1.0.6.0, the following error occurs:

ERROR

java.lang.ArrayIndexOutOfBoundsException: -32503 
at oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(OraclePreparedStatement.java:2677) 
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:9255) 
at oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapper.java:210) 
at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294) 
...

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