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

NPE when supplying empty bucket password when one is configured on server

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.1.9
    • 1.1.7
    • Core
    • Security Level: Public
    • None

    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

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

        Activity

          People

            daschl Michael Nitschinger
            perry Perry Krug
            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