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

StringIndexOutOfBoundsException when handling OkPacket

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Incomplete
    • 3.0.10, 3.1.4
    • N/A
    • Other
    • None

    Description

      Our two spring boot applications sometimes received StringIndexOutOfBoundsException in OkPacket when creating transaction. May I know is there any scenario that the buffer will be null and cause the issue?

      For your reference, we have some other applications using Spring Boot 2.4.9 with MariaDB Connector 2.7.3. We didn't see any exception throw by MariaDB Connector so far when creating transaction. I checked that 2.7.3 didn't contain OkPacket class so I am not sure are they related.

      Attachments

        1. stack_trace_3.0.10.txt
          0.8 kB
          Marco Cheung
        2. stack_trace_3.1.4.txt
          0.8 kB
          Marco Cheung

        Activity

          People

            diego dupin Diego Dupin
            marco129 Marco Cheung
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.