You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Stephen Mallette (Jira)" <ji...@apache.org> on 2025/06/20 18:24:00 UTC

[jira] [Created] (TINKERPOP-3167) Possible NullPointerException when borrowing a connection

Stephen Mallette created TINKERPOP-3167:
-------------------------------------------

             Summary: Possible NullPointerException when borrowing a connection
                 Key: TINKERPOP-3167
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3167
             Project: TinkerPop
          Issue Type: Bug
          Components: driver
    Affects Versions: 3.7.3
            Reporter: Stephen Mallette
            Assignee: Stephen Mallette


There is a chance that the {{Client.hostConnectionPools}} can land in a state where it has zero hosts present which leads to the returned {{ConnectionPool}} itself to be {{null}}. Borrowing a {{Connection}} then leads to a {{NullPointerException}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)