Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-379

If bucket details are incorrect, error message is unhelpful

    XMLWordPrintable

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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              daschl Michael Nitschinger
              bdw429s Brad Wood
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty