SAP Knowledge Base Article - Preview

2452594 - jConnect prepared statement fails with ArrayIndexOutOfBoundsException - SDK for SAP ASE


Java application fails on a prepared statement with:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at com.sybase.jdbc4.jdbc.SybPreparedStatement.setParamsFromArrays(
at com.sybase.jdbc4.jdbc.SybStatement.executeQuery(
at com.sybase.jdbc4.jdbc.SybPreparedStatement.executeQuery(



  • SAP Sybase Software Developer Kit (SDK) 15.7
  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0
  • jConnect
    • JDBC 7.07
    • JDBC 16 ( is version JDBC 7.07 )
  • java


SAP Adaptive Server Enterprise 16.0 ; SAP Adaptive Server Enterprise SDK 16.0 ; Sybase SDK 15.7 ; Sybase Software Developer Kit 15.7


error, broke, prepared statement, prep, stmt, array, index, out of bounds, exception, sdk, java, jConn4.jar, jConnect, 7, 16, CR#811870, CR811870, CR 811870, CR# , KBA , BC-SYB-SDK , SDK , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.