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

ObjectDisposedException: Cannot access a disposed object. Object name: 'DataFlowConnectionPool'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • backlog-3.0
    • 3.0.1
    • library
    • None
    • 1

    Description

      After failing to bootstrap a MemcachedBucket by trying to bootstrap it as a CouchbaseBucket (see NCBC-2509), subsequent attempts cause ObjectDisposedException.

      1. Create a cluster with travel-sample and add a memcached bucket named 'membucket'.

      2. Read an Airline from travel-sample, then try to write that back to membucket.

      I've attached a repro ASP.NET Core project. Build it against 3.0.1, change startup.cs to point at your couchbase intance, then hit https://localhost:44329/api/airline/10. The first time will give you a DocumentNotFound exception. All subsequent requests will cause ObjectDisposedException.

      Attachments

        Issue Links

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

          Activity

            People

              jmorris Jeff Morris
              richard.ponton Richard Ponton
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty