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

Unhandled object disposed exception on the close of a worker thread

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • backlog-2.0
    • None
    • None
    • None
    • 2.2

    Description

      Running into this during n1ql situational.

      unhandled Exception: System.ObjectDisposedException: Cannot access a disposed object.
      Object name: 'The ThreadLocal object has been disposed.'.
         at System.Threading.ThreadLocal`1.GetValueSlow()
         at System.Threading.ThreadLocal`1.get_Value()
         at System.Collections.Concurrent.ConcurrentBag`1.GetThreadList(Boolean forceCreate)
         at System.Collections.Concurrent.ConcurrentBag`1.TryTakeOrPeek(T& result, Boolean take)
         at System.Collections.Concurrent.ConcurrentBag`1.TryTake(T& result)

      Attachments

        For Gerrit Dashboard: NCBC-1009
        # Subject Branch Project Status CR V

        Activity

          People

            jmorris Jeff Morris
            subhashni Subhashni Balakrishnan (Inactive)
            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