Details
-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
None
-
Security Level: Public
-
None
Description
When the target host is reachable, but no server is running, the client throws a unhelpful NPE:
Caused by: java.lang.NullPointerException
at com.couchbase.client.vbucket.ConfigurationProviderHTTP.getBucketConfiguration(ConfigurationProviderHTTP.java:148)
at com.couchbase.client.CouchbaseConnectionFactory.getVBucketConfig(CouchbaseConnectionFactory.java:231)
at com.couchbase.client.CouchbaseClient.<init>(CouchbaseClient.java:237)
at com.couchbase.client.CouchbaseClient.<init>(CouchbaseClient.java:175)
The logs also show more infos, but this NPE is not helpful in the stack.