stephen mallette created TINKERPOP-1172: -------------------------------------------
Summary: Reconnect to Gremlin Server previously marked as dead Key: TINKERPOP-1172 URL: https://issues.apache.org/jira/browse/TINKERPOP-1172 Project: TinkerPop Issue Type: Bug Components: driver Affects Versions: 3.1.1-incubating Reporter: stephen mallette Assignee: stephen mallette Fix For: 3.1.2-incubating We have a test to validate that this works when connecting to multiple servers in a round-robin fashion but nothing that tests against a single server and it seems that there are some problems around that particular situation. It tends to manifest as: {code} Caused by: java.lang.NullPointerException: null at org.apache.tinkerpop.gremlin.driver.ConnectionPool.considerUnavailable(ConnectionPool.java:392) ~[gremlin-driver-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT] at org.apache.tinkerpop.gremlin.driver.ConnectionPool.<init>(ConnectionPool.java:101) ~[gremlin-driver-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT] at org.apache.tinkerpop.gremlin.driver.Client$SessionedClient.initializeImplementation(Client.java:558) ~[gremlin-driver-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT] at org.apache.tinkerpop.gremlin.driver.Client.init(Client.java:117) ~[gremlin-driver-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT] at org.apache.tinkerpop.gremlin.driver.Client.submitAsync(Client.java:182) ~[gremlin-driver-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT] at org.apache.tinkerpop.gremlin.driver.Client.submitAsync(Client.java:174) ~[gremlin-driver-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT] at org.apache.tinkerpop.gremlin.driver.Client.submit(Client.java:144) ~[gremlin-driver-3.1.2-SNAPSHOT.jar:3.1.2-SNAPSHOT] ... 21 common frames omitted {code} when the {{ConnectionPool}} can not be intialized in any way at start up. If that happens the {{Client}} doesn't seem to recover well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)