Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2734

NullPointerException when calling Client chooseConnection()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5.2
    • 3.7.0, 3.6.1, 3.5.4
    • driver
    • None

    Description

      This is similar to TINKERPOP-2597 and reported fixed in gremlin driver 3.5.2. However, we are still getting intermittent null pointer exceptions, and our stack trace it a bit different:

      java.lang.NullPointerException: null
      at org.apache.tinkerpop.gremlin.driver.Client$SessionedClient.chooseConnection(Client.java:813)
      at org.apache.tinkerpop.gremlin.driver.Client.submitAsync(Client.java:390)
      at org.apache.tinkerpop.gremlin.driver.Client.submitAsync(Client.java:373)
      at org.apache.tinkerpop.gremlin.driver.Client.submitAsync(Client.java:298)
      at org.apache.tinkerpop.gremlin.driver.Client.submit(Client.java:250)
      

      In addition we see this in our logs:

      class=org.apache.tinkerpop.gremlin.driver.ConnectionPool
      Signalled closing of connection pool on Host{..}

      class=org.apache.tinkerpop.gremlin.driver.Client
      Could not initialize client for Optional[..]

      Seeing a lot of this too:

      Timed-out (16000 MILLISECONDS) waiting for connection on Host{}

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            mabennet@adobe.com Mark Bennett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: