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

Race condition when closing Statement, creating a npe

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.6
    • Other
    • None

    Description

      race condition possible when closing a statement :

      java.lang.NullPointerException
        org.mariadb.jdbc.MariaDbStatement.cacheMoreResults (MariaDbStatement.java:208)
        org.mariadb.jdbc.MariaDbStatement.execute (MariaDbStatement.java:284)
        org.mariadb.jdbc.MariaDbClientPreparedStatement.execute (MariaDbClientPreparedStatement.java:148)
        com.zaxxer.hikari.pool.ProxyPreparedStatement.execute (ProxyPreparedStatement.java:44)
        com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute (Unknown source)
        org.skife.jdbi.v2.SQLStatement.internalExecute (SQLStatement.java:1328)
        org.skife.jdbi.v2.Query.fold (Query.java:173)
        org.skife.jdbi.v2.Query.list (Query.java:82)
        org.skife.jdbi.v2.sqlobject.ResultReturnThing$IterableReturningThing.result (ResultReturnThing.java:255)
        org.skife.jdbi.v2.sqlobject.ResultReturnThing.map (ResultReturnThing.java:48)
        org.skife.jdbi.v2.sqlobject.QueryHandler.invoke (QueryHandler.java:45)
        org.skife.jdbi.v2.sqlobject.SqlObject.invoke (SqlObject.java:175)
        org.skife.jdbi.v2.sqlobject.SqlObject$2.intercept (SqlObject.java:92)
        org.skife.jdbi.v2.sqlobject.CloseInternalDoNotUseThisClass$$EnhancerByCGLIB$$444da1cd.getContactCluster (Unknown source)

      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.