Details
-
Improvement
-
Resolution: Duplicate
-
Major
-
None
-
None
-
None
-
Security Level: Public
-
None
Description
If an incorrect bucket name or password is specified when connection (which is easier since bucket names are case-sensitive) the following error is thrown:
{code]
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)
... 167 more
{code]
There should be additional checks in place to help guide the developer to fix the issue.
Attachments
Issue Links
- duplicates
-
JCBC-324 Avoid NPE when Host is Up, but no CB is running
- Resolved