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

IllegalArgumentException when calling vBucket-related methods

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.1.1
    • 1.1.0
    • Core
    • Security Level: Public
    • None

    Description

      Getting an "TODO: Implement this" when calling CouchbaseConnectionFactory.getVbucketConfig().getVbucketsCount() and the bucket is a memcached bucket.

      While the failure is understandable, the exception thrown should be different.

      I'm not sure if this has always been the behavior or it was introduced into the 1.1.x version.

      the file from which the exception is thrown;

      src/main/java/com/couchbase/client/vbucket/config/CacheConfig.java

      Looking at the commit log on that file, it seems to be some older "configuration" class - and doesn't seem to have changed significantly since.

      Attachments

        For Gerrit Dashboard: JCBC-213
        # Subject Branch Project Status CR V

        Activity

          People

            daschl Michael Nitschinger
            mnunberg Mark Nunberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty