Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-3239

NullReferenceException when bootstrapping fails and a mangement API call is made

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.3.3
    • 3.3.2
    • library
    • None
    • 1

    Description

      If you call Cluster.ConnectAsync and pass in a connection string that will never resolve to a cluster and then make a mangement API call, you may run into:

      System.NullReferenceException: 'Object reference not set to an instance of an object.' 

      This is not the correct error message that should be displayed, it should reflect that the connection cannot be made to the Couchbase server instance.

      Attachments

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

        Activity

          People

            jmorris Jeff Morris
            jmorris Jeff Morris
            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