Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-1167

possible java.lang.ArrayIndexOutOfBoundsException when using callableStatement

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.7.12
    • 2.7.13
    • Other
    • None

    Description

      when using CallableStatement ending with an OUT parameters, if no parameter has been explicitly set in statement, query might result with

      java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
       
      	at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executePreparedQuery(AbstractQueryProtocol.java:1122)
      	at org.mariadb.jdbc.ServerSidePreparedStatement.executeInternal(ServerSidePreparedStatement.java:433)
      	at org.mariadb.jdbc.BasePrepareStatement.executeLargeUpdate(BasePrepareStatement.java:143)
      

      This only concerns 2.x branch

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.