Description
The following null pointer is thrown when trying to get a bucket but password is missing in the client configuration:
java.lang.NullPointerException
at com.couchbase.client.vbucket.ConfigurationProviderHTTP.getBucketConfiguration:148
at com.couchbase.client.CouchbaseConnectionFactory.getVBucketConfig:231
at com.couchbase.client.CouchbaseClient.<init>:237
Should probably throw a proper exception saying that credentials or not correct or missing password or something similar.
Attachments
For Gerrit Dashboard: JCBC-338 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
27790,2 | JCBC-338: Don't allow null for bucket and password. | master | couchbase-java-client | Status: MERGED | +2 | +1 |