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

NullPointerException when executeBatch is called, and batch list is empty

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.1.6
    • None
    • None

    Description

      See CONJ-62. However, that was filed for org.mariadb.jdbc.MySQLStatement and was fixed in version 1.1.4. The issue still exists in 1.1.5 for org.mariadb.jdbc.MySQLPreparedStatement.

      Attachments

        Activity

          ams2990 Andy Shulman created issue -
          ams2990 Andy Shulman added a comment -

          Also I realize it's not technically with the scope of this bug, but CONJ-62 isn't fully fixed. clearBatch will still throw an NPE. I've attached a patch file suitable for patching with `patch -p1` with the changes that need to be made.

          ams2990 Andy Shulman added a comment - Also I realize it's not technically with the scope of this bug, but CONJ-62 isn't fully fixed. clearBatch will still throw an NPE. I've attached a patch file suitable for patching with `patch -p1` with the changes that need to be made.
          ams2990 Andy Shulman made changes -
          Field Original Value New Value
          Attachment CONJ-74.patch [ 24110 ]
          elenst Elena Stepanova made changes -
          Assignee Rasmus Johansson [ ratzpo ] Georg Richter [ georg ]
          georg Georg Richter added a comment -

          Fixed in rev. 492

          georg Georg Richter added a comment - Fixed in rev. 492
          georg Georg Richter made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Workflow defaullt [ 29536 ] MariaDB v2 [ 47881 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Fix Version/s 1.1.6 [ 13801 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Workflow MariaDB v2 [ 47881 ] MariaDB connectors [ 54928 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Workflow MariaDB connectors [ 54928 ] MariaDB v3 [ 70150 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 70150 ] MariaDB v4 [ 134706 ]

          People

            georg Georg Richter
            ams2990 Andy Shulman
            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.