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

Race condition when closing Statement, creating a npe

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.6
    • Component/s: Other
    • Labels:
      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

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

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration