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 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.
          georg Georg Richter added a comment -

          Fixed in rev. 492

          georg Georg Richter added a comment - Fixed in rev. 492

          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.